java.lang.Object
top.r3944realms.superleadrope.content.capability.impi.LeashStateImpl
所有已实现的接口:
net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>, ILeashState

public class LeashStateImpl extends Object implements ILeashState
The type Leash state.
  • 构造器详细资料

    • LeashStateImpl

      public LeashStateImpl(net.minecraft.world.entity.Entity entity, net.minecraft.world.phys.Vec3 defaultApplyEntityLocationOffset)
      Instantiates a new Leash state.
      参数:
      entity - the entity
      defaultApplyEntityLocationOffset - the default apply entity location offset
  • 方法详细资料

    • markForSync

      public void markForSync()
      从接口复制的说明: ILeashState
      Mark for sync.
      指定者:
      markForSync 在接口中 ILeashState
    • immediateSync

      public void immediateSync()
      从接口复制的说明: ILeashState
      Immediate sync.
      指定者:
      immediateSync 在接口中 ILeashState
    • checkSync

      public void checkSync()
      从接口复制的说明: ILeashState
      Check sync.
      指定者:
      checkSync 在接口中 ILeashState
    • self

      public net.minecraft.world.entity.Entity self()
      从接口复制的说明: ILeashState
      Self entity.
      指定者:
      self 在接口中 ILeashState
      返回:
      the entity
    • hasLeashState

      public boolean hasLeashState()
      从接口复制的说明: ILeashState
      Has leash state boolean.
      指定者:
      hasLeashState 在接口中 ILeashState
      返回:
      the boolean
    • getHolderLeashStates

      public Map<UUID,ILeashState.LeashState> getHolderLeashStates()
      从接口复制的说明: ILeashState
      Gets holder leash states.
      指定者:
      getHolderLeashStates 在接口中 ILeashState
      返回:
      the holder leash states
    • getKnotLeashStates

      public Map<net.minecraft.core.BlockPos,ILeashState.LeashState> getKnotLeashStates()
      从接口复制的说明: ILeashState
      Gets knot leash states.
      指定者:
      getKnotLeashStates 在接口中 ILeashState
      返回:
      the knot leash states
    • getLeashState

      public Optional<ILeashState.LeashState> getLeashState(net.minecraft.world.entity.Entity holder)
      从接口复制的说明: ILeashState
      Gets leash state.
      指定者:
      getLeashState 在接口中 ILeashState
      参数:
      holder - the entity
      返回:
      the leash state
    • getLeashState

      public Optional<ILeashState.LeashState> getLeashState(UUID uuid)
      从接口复制的说明: ILeashState
      Gets leash state.
      指定者:
      getLeashState 在接口中 ILeashState
      参数:
      uuid - the uuid
      返回:
      the leash state
    • getLeashState

      public Optional<ILeashState.LeashState> getLeashState(net.minecraft.core.BlockPos pos)
      从接口复制的说明: ILeashState
      Gets leash state.
      指定者:
      getLeashState 在接口中 ILeashState
      参数:
      pos - the pos
      返回:
      the leash state
    • getHolderLocationOffset

      public Optional<net.minecraft.world.phys.Vec3> getHolderLocationOffset(net.minecraft.world.entity.Entity entity)
      从接口复制的说明: ILeashState
      Gets holder location offset.
      指定者:
      getHolderLocationOffset 在接口中 ILeashState
      参数:
      entity - the entity
      返回:
      the holder location offset
    • getHolderLocationOffset

      public Optional<net.minecraft.world.phys.Vec3> getHolderLocationOffset(UUID uuid)
      从接口复制的说明: ILeashState
      Gets holder location offset.
      指定者:
      getHolderLocationOffset 在接口中 ILeashState
      参数:
      uuid - the uuid
      返回:
      the holder location offset
    • getHolderLocationOffset

      public Optional<net.minecraft.world.phys.Vec3> getHolderLocationOffset(net.minecraft.core.BlockPos pos)
      从接口复制的说明: ILeashState
      Gets holder location offset.
      指定者:
      getHolderLocationOffset 在接口中 ILeashState
      参数:
      pos - the pos
      返回:
      the holder location offset
    • getDefaultLeashApplyEntityLocationOffset

      public net.minecraft.world.phys.Vec3 getDefaultLeashApplyEntityLocationOffset()
      从接口复制的说明: ILeashState
      Gets default leash apply entity location offset.
      指定者:
      getDefaultLeashApplyEntityLocationOffset 在接口中 ILeashState
      返回:
      the default leash apply entity location offset
    • getLeashApplyEntityLocationOffset

      public Optional<net.minecraft.world.phys.Vec3> getLeashApplyEntityLocationOffset()
      从接口复制的说明: ILeashState
      Gets leash apply entity location offset.
      指定者:
      getLeashApplyEntityLocationOffset 在接口中 ILeashState
      返回:
      the leash apply entity location offset
    • resetLeashHolderLocationOffset

      public void resetLeashHolderLocationOffset(net.minecraft.world.entity.Entity holder)
      从接口复制的说明: ILeashState
      Reset leash holder location offset.
      指定者:
      resetLeashHolderLocationOffset 在接口中 ILeashState
      参数:
      holder - the holder
    • resetLeashHolderLocationOffset

      public void resetLeashHolderLocationOffset(UUID holderUUID)
      从接口复制的说明: ILeashState
      Reset leash holder location offset.
      指定者:
      resetLeashHolderLocationOffset 在接口中 ILeashState
      参数:
      holderUUID - the holder uuid
    • resetLeashHolderLocationOffset

      public void resetLeashHolderLocationOffset(net.minecraft.core.BlockPos knotPos)
      从接口复制的说明: ILeashState
      Reset leash holder location offset.
      指定者:
      resetLeashHolderLocationOffset 在接口中 ILeashState
      参数:
      knotPos - the knot pos
    • setLeashHolderLocationOffset

      public void setLeashHolderLocationOffset(net.minecraft.world.entity.Entity holder, @Nullable @Nullable net.minecraft.world.phys.Vec3 offset)
      从接口复制的说明: ILeashState
      Sets leash holder location offset.
      指定者:
      setLeashHolderLocationOffset 在接口中 ILeashState
      参数:
      holder - the holder
      offset - the offset
    • setLeashHolderLocationOffset

      public void setLeashHolderLocationOffset(UUID holderUUID, net.minecraft.world.phys.Vec3 offset)
      从接口复制的说明: ILeashState
      Sets leash holder location offset.
      指定者:
      setLeashHolderLocationOffset 在接口中 ILeashState
      参数:
      holderUUID - the holder uuid
      offset - the offset
    • setLeashHolderLocationOffset

      public void setLeashHolderLocationOffset(net.minecraft.core.BlockPos knotPos, net.minecraft.world.phys.Vec3 offset)
      从接口复制的说明: ILeashState
      Sets leash holder location offset.
      指定者:
      setLeashHolderLocationOffset 在接口中 ILeashState
      参数:
      knotPos - the knot pos
      offset - the offset
    • addLeashHolderLocationOffset

      public void addLeashHolderLocationOffset(net.minecraft.world.entity.Entity holder, net.minecraft.world.phys.Vec3 offset)
      从接口复制的说明: ILeashState
      Add leash holder location offset.
      指定者:
      addLeashHolderLocationOffset 在接口中 ILeashState
      参数:
      holder - the holder
      offset - the offset
    • addLeashHolderLocationOffset

      public void addLeashHolderLocationOffset(UUID holderUUID, net.minecraft.world.phys.Vec3 offset)
      从接口复制的说明: ILeashState
      Add leash holder location offset.
      指定者:
      addLeashHolderLocationOffset 在接口中 ILeashState
      参数:
      holderUUID - the holder uuid
      offset - the offset
    • addLeashHolderLocationOffset

      public void addLeashHolderLocationOffset(net.minecraft.core.BlockPos knotPos, net.minecraft.world.phys.Vec3 offset)
      从接口复制的说明: ILeashState
      Add leash holder location offset.
      指定者:
      addLeashHolderLocationOffset 在接口中 ILeashState
      参数:
      knotPos - the knot pos
      offset - the offset
    • removeLeashHolderLocationOffset

      public void removeLeashHolderLocationOffset(net.minecraft.world.entity.Entity holder)
      从接口复制的说明: ILeashState
      Remove leash holder location offset.
      指定者:
      removeLeashHolderLocationOffset 在接口中 ILeashState
      参数:
      holder - the holder
    • removeLeashHolderLocationOffset

      public void removeLeashHolderLocationOffset(UUID holderUUID)
      从接口复制的说明: ILeashState
      Remove leash holder location offset.
      指定者:
      removeLeashHolderLocationOffset 在接口中 ILeashState
      参数:
      holderUUID - the holder uuid
    • removeLeashHolderLocationOffset

      public void removeLeashHolderLocationOffset(net.minecraft.core.BlockPos knotPos)
      从接口复制的说明: ILeashState
      Remove leash holder location offset.
      指定者:
      removeLeashHolderLocationOffset 在接口中 ILeashState
      参数:
      knotPos - the knot pos
    • removeAllLeashHolderLocationOffset

      public void removeAllLeashHolderLocationOffset()
      从接口复制的说明: ILeashState
      Remove all leash holder location offset.
      指定者:
      removeAllLeashHolderLocationOffset 在接口中 ILeashState
    • removeAllLeashHolderUUIDLocationOffset

      public void removeAllLeashHolderUUIDLocationOffset()
      从接口复制的说明: ILeashState
      Remove all leash holder uuid location offset.
      指定者:
      removeAllLeashHolderUUIDLocationOffset 在接口中 ILeashState
    • removeAllLeashHolderBlockPosLocationOffset

      public void removeAllLeashHolderBlockPosLocationOffset()
      从接口复制的说明: ILeashState
      Remove all leash holder block pos location offset.
      指定者:
      removeAllLeashHolderBlockPosLocationOffset 在接口中 ILeashState
    • resetAllLeashHolderLocationsOffset

      public void resetAllLeashHolderLocationsOffset()
      从接口复制的说明: ILeashState
      Reset all leash holder locations offset.
      指定者:
      resetAllLeashHolderLocationsOffset 在接口中 ILeashState
    • resetAllLeashApplyEntityLocationsOffset

      public void resetAllLeashApplyEntityLocationsOffset()
      从接口复制的说明: ILeashState
      Reset all leash apply entity locations offset.
      指定者:
      resetAllLeashApplyEntityLocationsOffset 在接口中 ILeashState
    • removeLeashApplyEntityLocationOffset

      public void removeLeashApplyEntityLocationOffset()
      从接口复制的说明: ILeashState
      Remove leash apply entity location offset.
      指定者:
      removeLeashApplyEntityLocationOffset 在接口中 ILeashState
    • setLeashApplyEntityLocationOffset

      public void setLeashApplyEntityLocationOffset(net.minecraft.world.phys.Vec3 leashHolderLocationOffset)
      从接口复制的说明: ILeashState
      Sets leash apply entity location offset.
      指定者:
      setLeashApplyEntityLocationOffset 在接口中 ILeashState
      参数:
      leashHolderLocationOffset - the offset
    • addLeashApplyEntityLocationOffset

      public void addLeashApplyEntityLocationOffset(net.minecraft.world.phys.Vec3 offset)
      从接口复制的说明: ILeashState
      Add leash apply entity location offset.
      指定者:
      addLeashApplyEntityLocationOffset 在接口中 ILeashState
      参数:
      offset - the offset
    • copy

      public void copy(ILeashState other, net.minecraft.world.entity.Entity newEntity)
      从接口复制的说明: ILeashState
      Copy.
      指定者:
      copy 在接口中 ILeashState
      参数:
      other - the other
      newEntity - the new entity
    • serializeNBT

      public net.minecraft.nbt.CompoundTag serializeNBT()
      指定者:
      serializeNBT 在接口中 net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>
    • deserializeNBT

      public void deserializeNBT(@NotNull @NotNull net.minecraft.nbt.CompoundTag nbt)
      指定者:
      deserializeNBT 在接口中 net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>