BlueMap/BlueMapCore
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
..
gradle/wrapper Update Gradle and 1.20.2 support (#479) 2023-09-27 17:39:47 +02:00
src Add mechanism for retrieving BlockEntity data (#524) 2024-03-20 23:23:03 +01:00
build.gradle.kts [breaking] Switch hires tile format to prbm (modified prwm) 2024-02-23 17:32:07 +01:00
gradlew Update Gradle and 1.20.2 support (#479) 2023-09-27 17:39:47 +02:00
gradlew.bat Update gradle, switch to gradle-kotlin where possible (forge doesnt work), improve build-script setup 2022-01-15 01:18:02 +01:00
settings.gradle.kts Update gradle, switch to gradle-kotlin where possible (forge doesnt work), improve build-script setup 2022-01-15 01:18:02 +01:00