BlueMap/BlueMapCore/src/main/java/de/bluecolored/bluemap/core/world
Gerber Lóránt Viktor a847e247e5
Add mechanism for retrieving BlockEntity data (#524)
* Add mechanism for retrieving BlockEntity data

This commit adds a mechanism for retrieving block entity data.
Block entity data is required to support for example text on signs,
banner patterns, or mods such as Domum Ornamentum.

* Fix the coordinate-packing for block entity-loading

This commit fixes the incorrect shifting of bits when
packing the chunk-local coordinates of a block entity
into a 64-bit long for lookups.

* Change mapping type of BlockEntity lookups

This commit changes the type stored for BlockEntity
mappings from a class of the type associated with the
ID to a method reference to its constructor.

* Tidy BlockEntity mappings

This commit introduces a small functional interface
to make the type less ungodly. Also silences the warning
about referencing subclasses in the superclass, it is
fine in this case, we're just storing a reference to
the constructor.

* Add missing license headers

The license headers were missing. Oops.
2024-03-20 23:23:03 +01:00
..
block Add mechanism for retrieving BlockEntity data (#524) 2024-03-20 23:23:03 +01:00
mca Add mechanism for retrieving BlockEntity data (#524) 2024-03-20 23:23:03 +01:00
Biome.java Rewrite lowres tiles with mutiple LODs 2022-08-07 20:32:55 +02:00
BlockProperties.java Fix empty blockstates having the wrong block-properties 2024-02-03 00:59:41 +01:00
BlockState.java Refactor World-Management and Region/Chunk-Loading (#496) 2024-02-07 20:43:37 +01:00
Chunk.java Add mechanism for retrieving BlockEntity data (#524) 2024-03-20 23:23:03 +01:00
ChunkConsumer.java Apply spotless fixes 2024-02-23 21:51:29 +01:00
DimensionType.java Apply spotless fixes 2024-02-23 21:51:29 +01:00
LightData.java Apply spotless fixes 2021-09-19 22:15:50 +02:00
Region.java Refactor World-Management and Region/Chunk-Loading (#496) 2024-02-07 20:43:37 +01:00
World.java Refactor World-Management and Region/Chunk-Loading (#496) 2024-02-07 20:43:37 +01:00