c5282b059b
...
2022-07-05 14:27:02 +01:00
4e71cc7d79
Remove ItemFactory::get(), use ItemFactory::fromTypeId() for VanillaItems
...
soon we'll invert the dependency and set up all this stuff in VanillaItems directly, rendering ItemFactory (mostly) unnecessary.
2022-07-05 14:26:02 +01:00
6be92ea6f7
fix CS
2022-07-05 14:14:27 +01:00
325f1cf82e
Generalize runtime block data serialization
...
we want to reuse this code for item type data
2022-07-05 14:13:37 +01:00
1714e2fd35
CoralFan: fixed coralType not being initialized
2022-07-05 14:07:34 +01:00
0a23e91329
Rename BlockFactory::fromFullBlock() -> BlockFactory::fromStateId()
2022-07-05 13:46:19 +01:00
a059d03b37
Remove BlockFactory::get(), optimise fromFullBlock() pathway
2022-07-05 13:43:26 +01:00
bd773c2f84
VanillaBlocks: use BlockFactory::fromTypeId()
2022-07-05 13:40:07 +01:00
d9544b5d0e
Added soul fire
2022-07-04 22:32:35 +01:00
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
56cf59355f
Use more consistent exceptions
2022-07-04 21:38:18 +01:00
9f0b32e748
Updated creative and crafting data to 1.19
2022-07-04 20:28:07 +01:00
59c5770cf2
Durable: do not write Damage tag if damage is zero
...
fixes creative inventory getting borked to hell
2022-07-04 20:11:39 +01:00
45be6e19f3
Update BedrockBlockUpgradeSchema
2022-07-04 16:17:27 +01:00
405e552efd
ItemTranslator: use GlobalItemDataHandlers
...
this ensures that plugin serializers will actually be used on the network.
2022-07-04 15:47:28 +01:00
e44a291697
Rename ItemTypeIds -> ItemTypeNames for consistency's sake
2022-07-04 15:46:24 +01:00
d9c61f0492
Publish script used to generate ItemTypeIds
2022-07-04 15:43:13 +01:00
68e704bf97
Bump shivammathur/setup-php from 2.19.0 to 2.19.1 ( #5098 )
...
Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php ) from 2.19.0 to 2.19.1.
- [Release notes](https://github.com/shivammathur/setup-php/releases )
- [Commits](https://github.com/shivammathur/setup-php/compare/2.19.0...2.19.1 )
---
updated-dependencies:
- dependency-name: shivammathur/setup-php
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-04 15:15:17 +01:00
afd37ca892
Fix PHPStan errors
2022-07-04 15:13:48 +01:00
03b8077054
generate-block-serializer-consts: don't pollute the global namespace
2022-07-04 14:58:21 +01:00
17abd50f69
Publish script used to generate BlockTypeNames, BlockStateNames and BlockStateStringValues
2022-07-04 14:56:50 +01:00
2c33d8429e
tests: remove unnecessary Block::getName() override
2022-07-03 20:08:56 +01:00
cbebb70af6
Planks: remove useless constructor
2022-07-03 19:58:04 +01:00
6604d22ceb
BlockLegacyIdHelper: clean up code
2022-07-03 19:53:34 +01:00
ce59228688
BlockLegacyMetadata: remove unused constants
2022-07-03 19:45:13 +01:00
386c385a08
Updated BlockFactory consistency check
2022-07-03 19:07:45 +01:00
dd615c775d
Added various blocks made from mangrove, crimson and warped wood
2022-07-03 19:01:34 +01:00
6176f0d9df
Regenerate ItemTypeIds
2022-07-03 18:43:29 +01:00
33eef99d1f
Added axis support for all-sided logs
2022-07-03 17:27:25 +01:00
3e7d34c8ad
BlockFactory: remove TODO list
...
we're tracking this somewhere else now
2022-07-03 14:33:42 +01:00
e302e5a85f
Implemented chiseled deepslate, chiseled nether brick and cracked nether brick
2022-07-03 03:04:06 +01:00
4acf7aadbd
Added quartz bricks
2022-07-03 02:11:50 +01:00
227a481473
generate-block-palette-spec: include blocks with no properties
2022-07-03 02:01:28 +01:00
a3016abf53
Added polished deepslate block/slab/stair/wall
2022-07-03 02:00:43 +01:00
89632f3514
Added deepslate, cobbled/tiles/bricks walls/slabs/stairs/cubes
2022-07-03 01:43:27 +01:00
c7ba791ff8
Block: remove obsolete note from Block::isSameType()
2022-07-03 00:49:57 +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
017ebb9b47
Updated consistency check
2022-07-03 00:02:03 +01:00
3f937605ac
Added calcite
2022-07-02 23:54:51 +01:00
b818ed0d08
Regenerated TODO list
2022-07-02 23:17:46 +01:00
0e0b858b69
Added raw copper, gold and iron blocks
2022-07-02 23:17:10 +01:00
0d0296d535
Light block brightness can be changed by right-clicking on it
2022-07-02 22:48:10 +01:00
2a0fade893
Implemented Light blocks
2022-07-02 22:39:11 +01:00
30149c6ed4
wtf happened here ...
2022-07-02 22:06:47 +01:00
c84033213f
Updated BlockFactory consistency check
2022-07-02 21:55:35 +01:00
c4fc352db1
Remove empty line
2022-07-02 21:54:36 +01:00
172214386a
Added a batch of simple blocks from 1.16 and 1.17
2022-07-02 21:53:59 +01:00
b661c94915
StringToItemParser: added glazed_terracotta alias
2022-07-02 21:34:20 +01:00
7750f9581a
BlockObjectToBlockStateSerializer: make adding stateless blocks less annoying
2022-07-02 21:03:25 +01:00
451971b866
BlockObjectToBlockStateSerializer: make stairs less annoying to implement
2022-07-02 20:57:18 +01:00