Class StructureBlockCache
java.lang.Object
org.geysermc.geyser.session.cache.StructureBlockCache
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()@Nullable org.cloudburstmc.math.vector.Vector3iStores the offset changes added by Geyser that ensure that structure bounds are the same for Java and Bedrock@Nullable org.cloudburstmc.math.vector.Vector3iStores the current structure block position while we're waiting on the Java server to send the data we need.@Nullable StringStores the current structure's name to be able to detect changes in the loaded structurevoidsetBedrockOffset(@Nullable org.cloudburstmc.math.vector.Vector3i bedrockOffset) Stores the offset changes added by Geyser that ensure that structure bounds are the same for Java and BedrockvoidsetCurrentStructureBlock(@Nullable org.cloudburstmc.math.vector.Vector3i currentStructureBlock) Stores the current structure block position while we're waiting on the Java server to send the data we need.voidsetCurrentStructureName(@Nullable String currentStructureName) Stores the current structure's name to be able to detect changes in the loaded structure
-
Constructor Details
-
StructureBlockCache
public StructureBlockCache()
-
-
Method Details
-
clear
public void clear() -
setCurrentStructureName
Stores the current structure's name to be able to detect changes in the loaded structure -
setBedrockOffset
public void setBedrockOffset(@Nullable org.cloudburstmc.math.vector.Vector3i bedrockOffset) Stores the offset changes added by Geyser that ensure that structure bounds are the same for Java and Bedrock -
setCurrentStructureBlock
public void setCurrentStructureBlock(@Nullable org.cloudburstmc.math.vector.Vector3i currentStructureBlock) Stores the current structure block position while we're waiting on the Java server to send the data we need. -
getCurrentStructureName
Stores the current structure's name to be able to detect changes in the loaded structure -
getBedrockOffset
public @Nullable org.cloudburstmc.math.vector.Vector3i getBedrockOffset()Stores the offset changes added by Geyser that ensure that structure bounds are the same for Java and Bedrock -
getCurrentStructureBlock
public @Nullable org.cloudburstmc.math.vector.Vector3i getCurrentStructureBlock()Stores the current structure block position while we're waiting on the Java server to send the data we need.
-