Contents
Class TriggerVolumeGroup
java.lang.Object
com.hypixel.hytale.builtin.triggervolumes.component.TriggerVolumeGroup
- All Implemented Interfaces:
Component<EntityStore>, Cloneable
Transport component for embedding trigger volume groups in prefab entity data.
-
Field Summary
FieldsFields inherited from interface Component
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(GroupEntry entry, org.joml.Vector3d origin, float yawRadians) clone()static TriggerVolumeGroupfromGroupEntry(String groupLinkId, GroupEntry entry) toGroupEntry(String id, String worldName, org.joml.Vector3d origin, float yawRadians) Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Component
cloneSerializable
-
Field Details
-
CODEC
-
-
Constructor Details
-
TriggerVolumeGroup
public TriggerVolumeGroup()
-
-
Method Details
-
fromGroupEntry
@Nonnull public static TriggerVolumeGroup fromGroupEntry(@Nonnull String groupLinkId, @Nonnull GroupEntry entry) -
getGroupLinkId
-
toGroupEntry
@Nonnull public GroupEntry toGroupEntry(@Nonnull String id, @Nonnull String worldName, @Nonnull org.joml.Vector3d origin, float yawRadians) -
applyTo
-
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Returns:
- a clone instance of the original component instance.
-