Class TriggerVolumeGroup

java.lang.Object
com.hypixel.hytale.builtin.triggervolumes.component.TriggerVolumeGroup
All Implemented Interfaces:
Component<EntityStore>, Cloneable

public class TriggerVolumeGroup extends Object implements Component<EntityStore>
Transport component for embedding trigger volume groups in prefab entity data.
  • Field Details

  • Constructor Details

    • TriggerVolumeGroup

      public TriggerVolumeGroup()
  • Method Details

    • fromGroupEntry

      @Nonnull public static TriggerVolumeGroup fromGroupEntry(@Nonnull String groupLinkId, @Nonnull GroupEntry entry)
    • getGroupLinkId

      @Nullable public String getGroupLinkId()
    • toGroupEntry

      @Nonnull public GroupEntry toGroupEntry(@Nonnull String id, @Nonnull String worldName, @Nonnull org.joml.Vector3d origin, float yawRadians)
    • applyTo

      public void applyTo(@Nonnull GroupEntry entry, @Nonnull org.joml.Vector3d origin, float yawRadians)
    • clone

      @Nonnull public Component<EntityStore> clone()
      Specified by:
      clone in interface Component<EntityStore>
      Returns:
      a clone instance of the original component instance.