0a3ecfdae9
Clean up terminology around block state IDs and their handling
2023-01-25 19:01:15 +00:00
7fd4c12ea1
First look at (mostly) unified item serializer registrar
...
this halves the amount of code needed to implement most items.
2022-08-27 15:10:55 +01:00
64ac20173b
ItemDeserializer: remove unnecessary code
...
these are legacy IDs and are upgraded to modern IDs before ever reaching this code.
2022-08-26 17:06:09 +01:00
ca3612e4ff
Preparations for attempted unification of ItemSerializer and ItemDeserializer
2022-08-26 16:18:13 +01:00
b65e0f64f6
Implement Suspicious Stew ( #5224 )
2022-08-16 17:26:32 +01:00
223de3ad23
Implement Fire Charge ( #5225 )
2022-08-15 17:00:58 +01:00
c1acf44337
Implement cauldrons ( #5163 )
...
the following things are currently not implemented:
- particle/sound effects when an entity extinguishes itself
- particle/sound effects when mixing different stuff in a cauldron
- powder snow cauldron
both of these things are contingent on #5169 , but for the time being, the PR is functionally complete and I want to move on to something else without being stalled by the particle+sound problem (which I haven't yet decided how to solve).
2022-07-20 16:12:58 +01:00
ba2baba7cc
Added netherite blocks and items
2022-07-14 20:39:09 +01:00
b4ce5ed515
ItemDeserializer: throw a more specific exception on unknown items
2022-07-14 19:16:15 +01:00
323d31005f
Added glowing item frames
2022-07-14 16:24:20 +01:00
da9937933b
Implemented honey bottle
2022-07-07 01:06:17 +01:00
3c017af6a0
Added a handful of new easy items
2022-07-05 16:46:57 +01:00
412dcaa744
Implemented crimson, warped and mangrove signs
2022-07-05 16:18:54 +01:00
0a23e91329
Rename BlockFactory::fromFullBlock() -> BlockFactory::fromStateId()
2022-07-05 13:46:19 +01:00
e44a291697
Rename ItemTypeIds -> ItemTypeNames for consistency's sake
2022-07-04 15:46:24 +01:00
dd615c775d
Added various blocks made from mangrove, crimson and warped wood
2022-07-03 19:01:34 +01:00
db9c7de35c
Remove obsolete shim items for Bed and Skull
...
now that the colour and skull type are included in the block type data, it's no longer necessary to maintain shim items to retain this information in the item data.
2022-07-03 00:47:42 +01:00
2cb722b674
Fixed durability handling (ish)
2022-06-29 15:17:16 +01:00
56428e8a4e
Make more item stuff dynamic
2022-06-29 00:26:16 +01:00
6058032807
Make potion types dynamic
...
It became obvious this was needed when I wanted to make new IDs for existing items - there's no way I'm unrolling those registrations...
2022-06-28 23:33:25 +01:00
bc5a600d59
Added item stack serialize/deserialize methods
2022-06-26 17:02:55 +01:00
0da174842e
Fix build
2022-06-23 16:46:09 +01:00
301b0aba82
Allow Item (de)serializer to accept dynamic BlockState(De)Serializer
2022-06-08 16:22:35 +01:00
680615eed8
Namespace rename
2022-06-08 15:54:45 +01:00
cf7d42b3ea
Fix CS according to new rules
2022-06-07 20:02:24 +01:00
5ce5e1d2b0
Throw proper exceptions for serialize/deserialize failures
...
this allows them to be caught and properly reported in tests.
2022-05-24 14:46:18 +01:00
cb97f37d13
First look at modern-spec serializer/deserializer for items
...
this is not yet used by anything
2022-05-12 16:26:38 +01:00