Dylan K. Taylor
07786dc4bc
RuntimeDataWriter: fixed doc comment
2022-07-14 22:51:12 +01:00
Dylan K. Taylor
ba2baba7cc
Added netherite blocks and items
2022-07-14 20:39:09 +01:00
Dylan K. Taylor
b4ce5ed515
ItemDeserializer: throw a more specific exception on unknown items
2022-07-14 19:16:15 +01:00
Dylan K. Taylor
eb8fb63409
Added cartography and smithing tables
...
these have working inventories, and their crafting menus will 'just work' once the items for the associated recipes have been implemented (maps, netherite).
2022-07-14 18:01:47 +01:00
Dylan K. Taylor
91719051e2
BlockStateToBlockObjectDeserializer: removed TODO mess
...
these were useful when writing the initial version from scratch; not so much for implementing random blocks
2022-07-14 16:50:08 +01:00
Dylan K. Taylor
d321094081
Added hanging roots
2022-07-14 16:47:55 +01:00
Dylan K. Taylor
323d31005f
Added glowing item frames
2022-07-14 16:24:20 +01:00
Dylan K. Taylor
0c7370e564
Added wither rose
2022-07-14 16:07:16 +01:00
Dylan K. Taylor
eafc23c756
Added candles and cakes with candles
2022-07-13 23:54:41 +01:00
Dylan K. Taylor
8b2d941502
Offset integer ranges in runtime block data serialization
...
this is useful for stuff like snow layers where the range doesn't start at 0.
2022-07-13 19:49:30 +01:00
Dylan K. Taylor
32f9fcd4e9
Ignore coral_hang_type_bit on coral_fan_hang3
...
it's always written, but never used.
2022-07-13 16:38:37 +01:00
Dylan K. Taylor
260e54e4b1
Skeleton for copper blocks, stairs and slabs
2022-07-10 00:18:35 +01:00
Dylan K. Taylor
5e70ae2066
Added lightning rods
2022-07-09 20:18:22 +01:00
Dylan K. Taylor
ad7528e3f3
Added warped wart blocks, gilded blackstone and crying obsidian
2022-07-09 20:00:10 +01:00
Dylan K. Taylor
ccb3c3cb05
BlockStateData: use array<Tag> instead of CompoundTag to store state properties
...
this reduces the footprint of RuntimeBlockMapping by a further 1 MB, as well as simplifying various parts of the code, and solidifying the immutability guarantee of BlockStateData.
2022-07-09 16:03:51 +01:00
Dylan K. Taylor
66d655731a
Don't barf on air itemstacks found on disk
...
closes #5143
this is caused by bugs in PM4, where it saved air itemstacks when it wasn't supposed to.
These issues are now all addressed in PM5, since ItemSerializer won't accept air itemstacks.
2022-07-08 18:19:46 +01:00
Dylan K. Taylor
d894c5e97f
Drop string ID -> legacy ID conversion tables
...
these are not used for anything anymore
2022-07-07 20:00:25 +01:00
Dylan K. Taylor
419b21281d
Fix Copilot mixup
2022-07-07 19:54:04 +01:00
Dylan K. Taylor
56e6a55645
LegacyBlockStateMapper: provide a way to add custom upgrade mappings
...
this will be needed by plugin developers to upgrade old custom blocks from PM4.
2022-07-07 19:44:16 +01:00
Dylan K. Taylor
da9937933b
Implemented honey bottle
2022-07-07 01:06:17 +01:00
Dylan K. Taylor
ae70c63798
Added tinted glass
2022-07-06 23:01:17 +01:00
Dylan K. Taylor
fe93609c8d
Added mud bricks and related blocks
2022-07-06 00:02:51 +01:00
Dylan K. Taylor
d725ded7b6
Added new ores
2022-07-05 21:43:47 +01:00
Dylan K. Taylor
a8dae96bb0
register honeycomb blocks properly
2022-07-05 21:03:27 +01:00
Dylan K. Taylor
a42bb9626d
Added another handful of blocks
...
clearing out my workspace...
2022-07-05 20:42:22 +01:00
Dylan K. Taylor
3c017af6a0
Added a handful of new easy items
2022-07-05 16:46:57 +01:00
Dylan K. Taylor
412dcaa744
Implemented crimson, warped and mangrove signs
2022-07-05 16:18:54 +01:00
Dylan K. Taylor
68cbe46600
Exterminate legacy item IDs
2022-07-05 15:12:55 +01:00
Dylan K. Taylor
c5282b059b
...
2022-07-05 14:27:02 +01:00
Dylan K. Taylor
325f1cf82e
Generalize runtime block data serialization
...
we want to reuse this code for item type data
2022-07-05 14:13:37 +01:00
Dylan K. Taylor
0a23e91329
Rename BlockFactory::fromFullBlock() -> BlockFactory::fromStateId()
2022-07-05 13:46:19 +01:00
Dylan K. Taylor
d9544b5d0e
Added soul fire
2022-07-04 22:32:35 +01:00
Dylan K. Taylor
4909c0f257
Fixed schema loading when the file path contains at least 4 numbers in a row
...
this spectactularly stupid bug could also have been addressed using a [^\/] in place of the . in the pattern, but I thought it made sense to make it impossible for this to happen again by making sure the regex only sees the file name.
fixes #5129
2022-07-04 22:15:50 +01:00
Dylan K. Taylor
9f0b32e748
Updated creative and crafting data to 1.19
2022-07-04 20:28:07 +01:00
Dylan K. Taylor
e44a291697
Rename ItemTypeIds -> ItemTypeNames for consistency's sake
2022-07-04 15:46:24 +01:00
Dylan K. Taylor
d9c61f0492
Publish script used to generate ItemTypeIds
2022-07-04 15:43:13 +01:00
Dylan K. Taylor
17abd50f69
Publish script used to generate BlockTypeNames, BlockStateNames and BlockStateStringValues
2022-07-04 14:56:50 +01:00
Dylan K. Taylor
ce59228688
BlockLegacyMetadata: remove unused constants
2022-07-03 19:45:13 +01:00
Dylan K. Taylor
dd615c775d
Added various blocks made from mangrove, crimson and warped wood
2022-07-03 19:01:34 +01:00
Dylan K. Taylor
6176f0d9df
Regenerate ItemTypeIds
2022-07-03 18:43:29 +01:00
Dylan K. Taylor
33eef99d1f
Added axis support for all-sided logs
2022-07-03 17:27:25 +01:00
Dylan K. Taylor
e302e5a85f
Implemented chiseled deepslate, chiseled nether brick and cracked nether brick
2022-07-03 03:04:06 +01:00
Dylan K. Taylor
4acf7aadbd
Added quartz bricks
2022-07-03 02:11:50 +01:00
Dylan K. Taylor
a3016abf53
Added polished deepslate block/slab/stair/wall
2022-07-03 02:00:43 +01:00
Dylan K. Taylor
89632f3514
Added deepslate, cobbled/tiles/bricks walls/slabs/stairs/cubes
2022-07-03 01:43:27 +01:00
Dylan K. Taylor
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
Dylan K. Taylor
3f937605ac
Added calcite
2022-07-02 23:54:51 +01:00
Dylan K. Taylor
b818ed0d08
Regenerated TODO list
2022-07-02 23:17:46 +01:00
Dylan K. Taylor
0e0b858b69
Added raw copper, gold and iron blocks
2022-07-02 23:17:10 +01:00
Dylan K. Taylor
2a0fade893
Implemented Light blocks
2022-07-02 22:39:11 +01:00