Dylan K. Taylor
8c1c8f34cc
Player: confine command data resending on permission recalculate to post-spawn only
...
this fixes crashes when PurePerms causes this to be recalculated on player login - the client doesn't like receiving this before StartGame and crashes.
Confining this to post-spawn should not cause any issues since any permission recalculation in login events will be reflected immediately afterwards when the initial command data is sent anyway.
This same bug popped up at 1.1... I don't know why it wasn't fixed properly back then.
2018-05-17 19:26:42 -04:00
Dylan K. Taylor
2034caf71c
Merge branch 'mcpe-1.4.0-alpha12' into release/alpha12
2018-05-17 18:38:58 +01:00
Dylan K. Taylor
89ccac7a8c
updated blockIDs table
2018-05-17 16:17:26 +01:00
Dylan K. Taylor
f6e71d8296
Protocol changes for 1.4.0 release
...
this is nearly the same as 1.5.0.0, except the skin packet premium boolean has been dropped.
This isn't production ready yet because the blockID table needs updating (waiting on MrARM to fix his script for that).
2018-05-17 10:36:16 +01:00
Dylan K. Taylor
b333a0e24c
PlayStatusPacket: add new constant
2018-05-17 10:33:18 +01:00
Dylan K. Taylor
5b6762d0d5
Fixed lang submodule version
2018-05-09 14:53:22 +01:00
Dylan K. Taylor
68638f9779
Fixed translations
...
Apparently the translation type doesn't translate unless this flag is set now...
2018-05-04 22:14:02 +01:00
Dylan K. Taylor
8228774ad4
Remove extra data, this time without API breaks
...
this is necessary because the next MCPE release will probably be made before the next PM release.
2018-05-02 12:08:44 +01:00
Dylan K. Taylor
2a54726905
Updated runtimeIDs table
...
from https://github.com/MCMrARM/minecraft-block-ids/blob/master/blocks_270.json
2018-05-02 12:03:29 +01:00
Dylan K. Taylor
8b225fc4ef
New entity metadata flags and properties
2018-05-02 12:03:29 +01:00
Dylan K. Taylor
a014b44b69
New PlayerActionPacket constants
...
anyone know what these are for? something to do with riptide but I didn't manage to find out what...
2018-05-02 12:03:29 +01:00
Dylan K. Taylor
c7544c1d25
AvailableCommandsPacket: update arg types
2018-05-02 12:03:29 +01:00
Dylan K. Taylor
eb28622823
Protocol changes for 1.5.0.0
...
this feels so strange to type... can we ditch the versioning system already?
2018-05-02 12:03:29 +01:00
Dylan K. Taylor
68494f1c0d
CraftingDataPacket: decode chemistry recipes correctly
2018-05-02 12:03:29 +01:00
Dylan K. Taylor
27ea0d360f
updated block IDs table
...
minified, from https://github.com/MCMrARM/minecraft-block-ids/blob/master/blocks_260.json
2018-05-02 12:03:29 +01:00
Dylan K. Taylor
d384df1f2e
fixed some mistakes in the protocol
2018-05-02 12:03:29 +01:00
Dylan K. Taylor
fe8102c062
Silence another stupid spam bug
2018-05-02 12:03:29 +01:00
Dylan K. Taylor
8b15d85469
bump versions for 1.2.20.1 beta
2018-05-02 12:03:29 +01:00
Dylan K. Taylor
a5ba716232
Updated block ID mappings for 1.2.14 (thanks again MrARM)
2018-05-02 12:03:29 +01:00
Dylan K. Taylor
db432bb024
Found some things in new packets
2018-05-02 12:03:29 +01:00
Dylan K. Taylor
91486a23a5
some changes for 1.2.14.2 beta
2018-05-02 12:03:29 +01:00
Dylan K. Taylor
c276ef2b7f
Updated dependency versions
2018-04-13 20:09:18 +01:00
Dylan K. Taylor
a30a157d8c
API bump to 3.0.0-ALPHA12
...
Yes, I am not happy about this either. new-versioning has issues, and there hasn't been enough development and testing on it.
I didn't want to delay release to cram in a half-baked new versioning system, and it's ended up delayed anyway and new-versioning is still half-baked.
we're overdue a new release, so here it is.
2018-04-13 13:31:15 +01:00
Dylan K. Taylor
e565cdeea4
Tile: remove unnecessary createAdditionalNBT() things
...
these things are filled in by the tiles' constructors anyway.
2018-04-13 11:50:04 +01:00
Dylan K. Taylor
556a465c05
Container tiles: remove unnecessary ListTag Items creation
...
the existence of this tag is checked for anyway.
2018-04-13 11:27:11 +01:00
Dylan K. Taylor
280f2b7259
always loose imports...
2018-04-13 11:25:52 +01:00
Dylan K. Taylor
933b0e8b41
Furnace: cleanup, stop abusing NBT, stop spamming packets
2018-04-13 11:22:47 +01:00
Dylan K. Taylor
58279d4cfe
NetworkBinaryStream: fixed not decoding items with negative IDs correctly
...
negative IDs are used for new block-items.
2018-04-11 13:01:41 +01:00
Dylan K. Taylor
1e21066c1c
Server: remove redundant == true from setConfigBool()
2018-04-10 12:22:21 +01:00
Dylan K. Taylor
76854da7ba
Command: remove dead field
2018-04-10 12:11:27 +01:00
Dylan K. Taylor
46cbcb0c42
Fixed fire with no nearby flammable blocks burning for too long
2018-04-10 10:07:14 +01:00
Dylan K. Taylor
af9b0b019d
Added BlockBurnEvent
2018-04-10 10:04:11 +01:00
Dylan K. Taylor
7db8845375
Fire has a 1/3 chance of aging on a random or scheduled tick
2018-04-10 09:59:54 +01:00
Dylan K. Taylor
f47f593555
Level: Removed fire hack from destroyBlockInternal()
...
this was causing unexpected behaviour particularly on burning trees, whereby fire would be unconditionally extinguished if the block below it was removed.
2018-04-10 09:59:40 +01:00
Dylan K. Taylor
691df5c11d
FlintSteel: remove instanceof Solid check
...
This makes the behaviour match vanilla. This will now allow Fire block itself to handle deletion of itself when the area is not suitable (now that the logic is implemented in Fire for this).
This allows attempting to place in invalid conditions, which is as expected. This will produce the sound and flash as per vanilla, as the fire extinguishes itself.
2018-04-10 09:59:27 +01:00
Dylan K. Taylor
9a1d3aec6b
Flammable blocks adjacent to fire now burn away
...
There are some strange bugs with blockupdating causing invisible client-side-only fires that need to be investigated.
2018-04-10 09:59:10 +01:00
Dylan K. Taylor
670a53ba3b
Fire: fixed logic of extinguishing
2018-04-10 09:58:58 +01:00
Dylan K. Taylor
f22ad14c67
Block: added isFlammable()
2018-04-10 09:58:35 +01:00
Dylan K. Taylor
64540f36be
Block: added burnsForever()
2018-04-10 09:58:21 +01:00
Dylan K. Taylor
e66b1953de
Block: added flame encouragement and flammability properties
2018-04-10 09:58:08 +01:00
Dylan K. Taylor
aa6666872a
BlockFactory: added a hack for weird air blocks with non-zero damage values
...
I don't know what causes this to occur, but they should never have non-zero damage values, so we discard the metadata.
2018-04-09 16:35:31 +01:00
Dylan K. Taylor
646455f6e8
fixed painting particles, removed DestroyParticle
...
it didn't last long because they changed how this works... yuk
2018-04-09 16:26:15 +01:00
Dylan K. Taylor
05a1e61e5b
Painting: polyfill height and width
2018-04-09 16:20:46 +01:00
Dylan K. Taylor
5f52e00213
Fixed plugin loaders trying to load plugins they aren't able to load
...
closes #2125
This is an API break for things implementing the PluginLoader interface.
2018-04-09 15:54:20 +01:00
Dylan K. Taylor
5f1ae1059e
Move min required PHP version to 7.2.0
2018-04-09 15:37:56 +01:00
Dylan K. Taylor
08d8adae5b
fixup some ResourcePack TODOs
2018-04-07 13:09:44 +01:00
Dylan K. Taylor
8d988af7db
EntityLink: added type constants
2018-04-07 11:35:36 +01:00
Dylan K. Taylor
db5890fddb
Rename more unknown things in the protocol
2018-04-07 11:35:35 +01:00
Dylan K. Taylor
5b532fdcf5
Clean up on AddHangingEntityPacket and AddPaintingPacket
...
AddPainting is a subclass of AddHangingEntity in vanilla.
2018-04-07 11:35:35 +01:00
Dylan K. Taylor
e85fc54037
LevelSoundEventPacket: found unknown field
...
wtf mojang
2018-04-07 11:35:35 +01:00