BlueMap/BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/plugin/commands
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
..
AbstractSuggestionProvider.java Apply spotless fixes 2021-09-19 22:15:50 +02:00
CommandHelper.java Refactor World-Management and Region/Chunk-Loading (#496) 2024-02-07 20:43:37 +01:00
Commands.java Add mechanism for retrieving BlockEntity data (#524) 2024-03-20 23:23:03 +01:00
MapSuggestionProvider.java Refactor World-Management and Region/Chunk-Loading (#496) 2024-02-07 20:43:37 +01:00
StorageSuggestionProvider.java Refactor World-Management and Region/Chunk-Loading (#496) 2024-02-07 20:43:37 +01:00
TaskRefSuggestionProvider.java Add storages command 2023-05-01 20:41:30 +02:00
WorldOrMapSuggestionProvider.java Refactor World-Management and Region/Chunk-Loading (#496) 2024-02-07 20:43:37 +01:00
WorldSuggestionProvider.java Refactor World-Management and Region/Chunk-Loading (#496) 2024-02-07 20:43:37 +01:00