Dylan K. Taylor
979f6f3d57
Rewrite RuntimeBlockMapping to use BlockStateSerializer
2022-02-01 17:34:32 +00:00
Dylan K. Taylor
cab9b6c862
Add a wrapper type for blockstate NBT
2022-02-01 17:29:30 +00:00
Dylan K. Taylor
4d935aa8b6
Torch facings are the wrong way round :(
2022-02-01 17:12:12 +00:00
Dylan K. Taylor
ccfe485c06
Fixed end rod up/down state
2022-02-01 13:56:05 +00:00
Dylan K. Taylor
1a800cf4df
fixed match indentations
2022-02-01 05:28:52 +00:00
Dylan K. Taylor
fe7d942500
fix CS
2022-02-01 05:26:14 +00:00
Dylan K. Taylor
f323e3c43f
BlockStateSerializer can now serialize all currently implemented PM blocks
2022-02-01 05:21:16 +00:00
Dylan K. Taylor
40e46dbca2
Fixed tests
2022-02-01 04:08:28 +00:00
Dylan K. Taylor
7d70865db0
Fixed deserializer not handling walls properly
2022-02-01 04:01:56 +00:00
Dylan K. Taylor
dbe99e5821
Vine: added hasFace()
2022-02-01 04:01:16 +00:00
Dylan K. Taylor
25fdf7e442
NetherReactor: Remove dead code
...
the state is not exposed anywhere, and we already remap invalid states to default now anyway.
2022-02-01 04:00:49 +00:00
Dylan K. Taylor
a91e7f7202
deduplicate weighted pressure plate deserializer code
2022-01-31 20:45:33 +00:00
Dylan K. Taylor
cdafb1b0c4
standardize codegen for coral fans
2022-01-31 20:45:11 +00:00
Dylan K. Taylor
69db9f8a30
Reduce duplication of code
2022-01-31 20:31:54 +00:00
Dylan K. Taylor
c4228edf3c
BlockStateDeserializerHelper: fixed mistake in decodeLiquid()
2022-01-31 18:15:02 +00:00
Dylan K. Taylor
03e3ecdbd3
Revert "BlockStateValues now includes integer values too"
...
This reverts commit 0626edbcddf16463b4a69566976bc2b47c64660a.
2022-01-31 17:51:49 +00:00
Dylan K. Taylor
0626edbcdd
BlockStateValues now includes integer values too
2022-01-31 17:49:29 +00:00
Dylan K. Taylor
d03f4d76a2
ws
2022-01-31 02:30:54 +00:00
Dylan K. Taylor
710201fd51
shut CS
2022-01-31 01:20:52 +00:00
Dylan K. Taylor
ab5a7b0d04
an absolute motherload of stuff I did today
2022-01-31 01:18:56 +00:00
Dylan K. Taylor
440a48b973
added serializers for newly implemented blocks
2022-01-27 16:58:32 +00:00
Dylan K. Taylor
f01887fb1e
Merge branch 'next-minor' into r13-world-support
2022-01-27 16:47:46 +00:00
Dylan K. Taylor
6ccb1ff114
4.1.0-BETA3 is next
2022-01-27 00:55:09 +00:00
Dylan K. Taylor
1d2593208a
Release 4.1.0-BETA2
2022-01-27 00:55:02 +00:00
Dylan K. Taylor
a7bdef69e2
Merge remote-tracking branch 'origin/stable' into next-minor
2022-01-27 00:40:34 +00:00
Dylan K. Taylor
d9ea647925
InGamePacketHandler: add a hack for swimming AABB client bug
2022-01-27 00:28:54 +00:00
Rush2929
3155c90396
Fixed incorrect drops for Cobweb ( #4759 )
2022-01-26 00:25:00 +00:00
Dylan K. Taylor
3ab5b5a79d
4.0.9 is next
2022-01-25 23:33:24 +00:00
Dylan K. Taylor
8a4bc72b34
Release 4.0.8
2022-01-25 23:33:20 +00:00
Dylan K. Taylor
6cbc14f2b2
World: fixed block update bug introduced by 3faeb5a5568566bccc449855b54495f88473f7fc
2022-01-25 21:53:15 +00:00
Dylan K. Taylor
75d0fc4749
BlockFactory: Make stone slab registration a little less unpleasant to read
2022-01-25 19:23:04 +00:00
Dylan K. Taylor
ea161af4e5
Added FurnaceType->getCookSound()
2022-01-25 19:01:49 +00:00
ShockedPlot7560
0bf5f97fe9
Implement furnace sound ( #4755 )
...
closes #4363
The following classes have been added:
- BlastFurnaceSound
- SmokerSound
- FurnaceSound
2022-01-25 18:52:31 +00:00
ShockedPlot7560
b9f1bcf0e4
Implement PlayerViewDistanceChangeEvent ( #4749 )
...
closes #4550
2022-01-25 18:00:26 +00:00
Dylan K. Taylor
32b07e0940
World: avoid repeated getInstance() calls in hot paths
2022-01-24 21:08:12 +00:00
Dylan K. Taylor
22a4117109
Merge remote-tracking branch 'origin/stable' into next-minor
2022-01-23 15:47:13 +00:00
Dylan K. Taylor
aaf7a88de7
HayBale: fixed fall damage
2022-01-22 21:26:44 +00:00
VixikHD
e0da99a973
feat: Implement Brewing ( #4413 )
...
The following API constants have been added:
- tile\BrewingStand::BREW_TIME_TICKS
The following public API methods have been added:
- utils\BrewingStandSlot->getSlotNumber() : int
- CraftingManager->getPotionTypeRecipes() : array<string, array<string, PotionTypeRecipe>>
- CraftingManager->getPotionContainerChangeRecipes() : array<int, array<string, PotionContainerChangeRecipe>>
- CraftingManager->registerPotionTypeRecipe(PotionTypeRecipe $recipe) : void
- CraftingManager->registerPotionContainerChangeRecipe(PotionContainerChangeRecipe $recipe) : void
The following classes have been added:
- BrewingRecipe
- PotionTypeRecipe
- PotionContainerChangeRecipe
- BrewItemEvent
- BrewingFuelUseEvent
- PotionFinishBrewingSound
2022-01-22 16:54:58 +00:00
Dylan K. Taylor
b2630a0920
Merge remote-tracking branch 'origin/stable' into next-minor
2022-01-22 14:46:55 +00:00
Leo Lee
67a0ae0246
Fixed incorrect drops for ender chest ( #4751 )
2022-01-22 14:01:56 +00:00
Dylan K. Taylor
5ae20459dd
4.1.0-BETA2 is next
2022-01-22 02:23:09 +00:00
Dylan K. Taylor
587da478a6
Release 4.1.0-BETA1
2022-01-22 02:23:06 +00:00
Dylan K. Taylor
419bb9eba6
Player: fixed parameter name inconsistency
2022-01-22 01:33:31 +00:00
Dylan K. Taylor
82f1c2766c
Merge branch 'stable' into next-minor
2022-01-22 01:00:40 +00:00
Dylan K. Taylor
f9c8c0e34d
4.0.8 is next
2022-01-21 19:39:31 +00:00
Dylan K. Taylor
58ba4f680f
Release 4.0.7
2022-01-21 19:39:30 +00:00
Dylan K. Taylor
c10eda5eae
InGamePacketHandler: limit depth of form responses to 2
...
form responses should only contain string|int|float|bool|null. Arrays or objects appearing in here are likely malicious.
2022-01-21 19:11:58 +00:00
Dylan K. Taylor
387c13beff
InGamePacketHandler: fixed invalid JSON being treated as form close
2022-01-21 18:32:58 +00:00
Dylan K. Taylor
56fe71d939
InGamePacketHandler: fixed crash in form handling when invalid JSON is given
2022-01-21 17:34:13 +00:00
Dylan K. Taylor
fc53f3721a
Avoid direct mutations of Entity->location
2022-01-20 21:49:14 +00:00