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
476ac39988
update PHP version requirements in composer files
2018-04-09 15:50:55 +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
Dylan K. Taylor
7fb237938c
EntityLink: rename unknown field
...
close #1465
2018-04-07 11:35:35 +01:00
Dylan K. Taylor
9a5f9c8586
PlayerListPacket: fixup on platformChatId stuff
2018-04-07 11:35:35 +01:00
Dylan K. Taylor
4b16be7e0b
PlayerListEntry: remove leftover TODO
2018-04-07 11:35:35 +01:00
SleepSpace9
47faf5a994
Human: Add support for 128x128 skins in isValidSkin() ( #2140 )
2018-04-07 09:00:08 +01:00
Dylan K. Taylor
3f31f6d310
TimeCommand: Use Level constant instead of hardcoded value
2018-04-05 15:41:59 +01:00
Dylan K. Taylor
c06c1c7ce0
Human: Added a hack for nametags
...
Apparently NAMETAG metadata is useless in AddPlayerPacket now, so it has to be sent separately.
2018-04-05 11:56:44 +01:00
Dylan K. Taylor
a889a0e517
Workaround for player hitbox bug on respawn
...
this happens when a player respawns before their death animation ends. I don't know why, but their bounding box height suddenly becomes zero. This solves the bug by simply resending the height and width properties to viewers on respawn.
Closes #2135 .
2018-04-04 20:11:16 +01:00
Dylan K. Taylor
9ed0d9d36f
added some data properties
2018-04-04 19:40:12 +01:00
Dylan K. Taylor
3134fa2744
Fixed FloatingTextParticle YET AGAIN
...
how many fucking ways can you break nametags Mojang???
2018-04-04 16:59:39 +01:00
Dylan K. Taylor
2660448601
Crafting: Match recipe based only on transaction inputs/outputs
...
As of 1.2.13 release, the client now skips the crafting grid step when it crafts with right-click on the recipe book. This means that we can't validate crafting based on the crafting grid contents anymore. The only way to do it now is to use the inputs and outputs calculated by the transaction balance.
2018-04-04 12:48:17 +01:00
Dylan K. Taylor
eb354916d4
CraftingTransaction: simplifiy repetition calculation handling
2018-04-04 12:18:24 +01:00
Dylan K. Taylor
033b44df5a
CraftingTransaction: Start from pre-computed iteration count for input matching
...
This will be faster to bail out on failures.
2018-04-04 12:15:46 +01:00
Dylan K. Taylor
ef2dd1de92
Inventory: Use exceptions to report back why a transaction failed
...
Returning false all the time could mean any one of a range of things. Throwing exceptions is better in that it allows us to catch them and see what actually broke.
2018-04-04 12:11:24 +01:00
Dylan K. Taylor
5b7b2dd0e2
Merge changes from ALPHA11 for 1.2.13
2018-04-04 11:31:39 +01:00
Dylan K. Taylor
3a10df634b
Protocol bump for release
2018-04-04 11:13:36 +01:00
Dylan K. Taylor
f1aecc3a71
Updated block IDs json from release (thanks MrARM)
2018-04-04 11:09:12 +01:00
Frago9876543210
42d04a4418
Allow use of 128x128 skins for last beta build ( #2123 )
2018-04-04 11:03:51 +01:00
Dylan K. Taylor
3fe4ebc301
Found more unknown things
2018-04-04 11:03:36 +01:00
Dylan K. Taylor
d97abfaa7b
Found some unknown things
2018-04-04 11:03:25 +01:00
Dylan K. Taylor
526f05631e
fix metadata properties for new beta
...
there are more things than this, but I don't have time to figure them all out.
2018-04-04 11:03:05 +01:00
Dylan K. Taylor
ebaef89e06
bump
2018-04-04 11:02:19 +01:00
Dylan K. Taylor
6ab0cff9d3
Bump for 1.2.13.10
...
doesn't appear that anything of interest has changed
2018-04-04 11:01:46 +01:00
Dylan K. Taylor
ae31ce1d25
LevelSoundEventPacket: updated sounds constants
2018-04-04 11:01:29 +01:00
Dylan K. Taylor
a1cf5dbd1e
fix doc inconsistency
2018-04-04 11:01:14 +01:00
Dylan K. Taylor
c86132028e
BlockFactory: add new "dynamic" fake runtime IDs for unknown legacy ID/meta combinations
...
This is basically how blockstate discovery would actually work in the full-blown system. This maps blocks with unrecognized blockstates to static runtimeIDs not known to the client.
This means that all blocks which don't have corresponding runtimeIDs in the new system will translate to update! blocks instead.
Mojang do this differently: they try to a) match id+meta, if that fails b) match id+0, and if that fails, then replace with update! block runtime ID. I can't do that here because I need to be able to convert both ways. They only need to be able to convert from legacy -> new.
2018-04-04 11:00:58 +01:00
Dylan K. Taylor
5ce55bd3b0
duct tape for block ID remapping
2018-04-04 11:00:39 +01:00
Dylan K. Taylor
c81f178cdb
fix skins on 1.2.13.5
...
this is not the full changeset and more things are needed!
2018-04-04 10:59:09 +01:00
Dylan K. Taylor
fc795b80ae
Protocol changes for 1.2.10
2018-04-04 10:58:49 +01:00