Contents
Class ChunkSuppressionEntry
java.lang.Object
com.hypixel.hytale.server.spawning.suppression.component.ChunkSuppressionEntry
- All Implemented Interfaces:
Component<ChunkStore>, Cloneable
A component containing information about which NPC roles are suppressed in which spans on a given chunk.
Created on 15/07/2019
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface Component
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionChunkSuppressionEntry(List<ChunkSuppressionEntry.SuppressionSpan> suppressionSpans) -
Method Summary
Modifier and TypeMethodDescriptionclone()booleancontainsOnly(UUID suppressorId) static ComponentType<ChunkStore, ChunkSuppressionEntry> booleanisSuppressingRoleAt(int roleIndex, int yPosition) Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Component
cloneSerializable
-
Constructor Details
-
ChunkSuppressionEntry
-
-
Method Details
-
getComponentType
-
getSuppressionSpans
-
containsOnly
-
isSuppressingRoleAt
public boolean isSuppressingRoleAt(int roleIndex, int yPosition) -
clone
- Specified by:
clonein interfaceComponent<ChunkStore>- Returns:
- a clone instance of the original component instance.
-