mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-11 20:13:55 +00:00
Back to snapshot for development
This commit is contained in:
@ -157,7 +157,7 @@ public interface IBatchProcessor {
|
||||
* @return false if chunk is empty of NBT
|
||||
* @deprecated tiles are stored in chunk-normalised coordinate space and thus cannot use the same function as entities
|
||||
*/
|
||||
@Deprecated(forRemoval = true, since = "TODO")
|
||||
@Deprecated(forRemoval = true, since = "2.8.4")
|
||||
default boolean trimNBT(IChunkSet set, Function<BlockVector3, Boolean> contains) {
|
||||
Set<CompoundTag> ents = set.getEntities();
|
||||
if (!ents.isEmpty()) {
|
||||
@ -175,7 +175,7 @@ public interface IBatchProcessor {
|
||||
* Utility method to trim entity and blocks with a provided contains function.
|
||||
*
|
||||
* @return false if chunk is empty of NBT
|
||||
* @since TODO
|
||||
* @since 2.8.4
|
||||
*/
|
||||
default boolean trimNBT(
|
||||
IChunkSet set, Function<BlockVector3, Boolean> containsEntity, Function<BlockVector3, Boolean> containsTile
|
||||
|
@ -38,7 +38,7 @@ public interface IChunk extends Trimable, IChunkGet, IChunkSet {
|
||||
* Return the minimum block coordinate of the chunk
|
||||
*
|
||||
* @return BlockVector3 of minimum block coordinate
|
||||
* @since TODO
|
||||
* @since 2.8.4
|
||||
*/
|
||||
default BlockVector3 getChunkBlockCoord() {
|
||||
return BlockVector3.at(getX() << 4, getMinY(), getZ() << 4);
|
||||
|
Reference in New Issue
Block a user