540 Commits

Author SHA1 Message Date
Dylan K. Taylor
20cb67461f
Block: add the current class to the exception messages for block runtime data serialization 2022-07-13 19:50:35 +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
14933a731b
Implement copper waxing, unwaxing and scraping, minus particles
there is a LevelEvent for the particles, but it's both particle and sound, which doesn't integrate well with the existing API.
2022-07-10 01:00:13 +01:00
Dylan K. Taylor
a22276e679
there's always one ... 2022-07-10 00:19:27 +01:00
Dylan K. Taylor
260e54e4b1
Skeleton for copper blocks, stairs and slabs 2022-07-10 00:18:35 +01:00
Dylan K. Taylor
a44c089f98
REEEEEEEEEEEEEE 2022-07-09 20:40:18 +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
c67e42a723
Add a hook to enable blocks to react to projectiles colliding with them
this enables implementing blocks such as the target block.
2022-07-07 01:44:13 +01:00
Dylan K. Taylor
3e4f01d85e
VanillaBlocks: fixed case of some names 2022-07-07 01:27:30 +01:00
Dylan K. Taylor
e4d24e1edd
Invert dependency between VanillaBlocks and BlockFactory 2022-07-07 00:22:08 +01:00
Dylan K. Taylor
ae70c63798
Added tinted glass 2022-07-06 23:01:17 +01:00
Dylan K. Taylor
88a5a95479
Block: mark new functions as @internal 2022-07-06 17:26:15 +01:00
Dylan K. Taylor
00db73a5b2
Merge branch 'next-minor' into next-major 2022-07-06 16:20:06 +01:00
Dylan K. Taylor
269b6ed16a
FallableTrait: fixed logic for block replacement
closes #5126

I don't know why it wasn't done this way to begin with. FallingBlock always used canBeReplaced()...
2022-07-06 16:16:49 +01:00
ipad54
a377795db9
Fixed SoulFire damage (#5138) 2022-07-06 14:57:07 +01:00
Dylan K. Taylor
5c4288de01
block/Light: fixed placement when clicking on another light block
closes #5132
2022-07-06 14:23:32 +01:00
Alexey
494cb580f3
Add sound after wood stripping (#5124) 2022-07-06 14:06:52 +01:00
Dylan K. Taylor
fe93609c8d
Added mud bricks and related blocks 2022-07-06 00:02:51 +01:00
Dylan K. Taylor
ebe6782295
Remove TODO comment 2022-07-05 23:37:55 +01:00
Dylan K. Taylor
638d03846c
Added blast resistance for cobbled and polished deepslate 2022-07-05 23:11:12 +01:00
Dylan K. Taylor
f57cd95ad5
Added blast resistances to some blocks
following values extracted from BDS
2022-07-05 23:02:04 +01:00
Dylan K. Taylor
d725ded7b6
Added new ores 2022-07-05 21:43:47 +01:00
Dylan K. Taylor
e5b038ebcd
Lava: implement basalt generators 2022-07-05 20:50:11 +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
412dcaa744
Implemented crimson, warped and mangrove signs 2022-07-05 16:18:54 +01:00
Dylan K. Taylor
6be92ea6f7
fix CS 2022-07-05 14:14:27 +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
a059d03b37
Remove BlockFactory::get(), optimise fromFullBlock() pathway 2022-07-05 13:43:26 +01:00
Dylan K. Taylor
bd773c2f84
VanillaBlocks: use BlockFactory::fromTypeId() 2022-07-05 13:40:07 +01:00
Dylan K. Taylor
d9544b5d0e
Added soul fire 2022-07-04 22:32:35 +01:00
Dylan K. Taylor
cbebb70af6
Planks: remove useless constructor 2022-07-03 19:58:04 +01:00
Dylan K. Taylor
6604d22ceb
BlockLegacyIdHelper: clean up code 2022-07-03 19:53:34 +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
33eef99d1f
Added axis support for all-sided logs 2022-07-03 17:27:25 +01:00
Dylan K. Taylor
3e7d34c8ad
BlockFactory: remove TODO list
we're tracking this somewhere else now
2022-07-03 14:33:42 +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
c7ba791ff8
Block: remove obsolete note from Block::isSameType() 2022-07-03 00:49:57 +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
0e0b858b69
Added raw copper, gold and iron blocks 2022-07-02 23:17:10 +01:00
Dylan K. Taylor
0d0296d535
Light block brightness can be changed by right-clicking on it 2022-07-02 22:48:10 +01:00
Dylan K. Taylor
2a0fade893
Implemented Light blocks 2022-07-02 22:39:11 +01:00
Dylan K. Taylor
30149c6ed4
wtf happened here ... 2022-07-02 22:06:47 +01:00
Dylan K. Taylor
172214386a
Added a batch of simple blocks from 1.16 and 1.17 2022-07-02 21:53:59 +01:00
Dylan K. Taylor
ff90c83d66
Implemented log stripping via axe right-click 2022-07-02 19:16:15 +01:00