类 LeashStateImpl
java.lang.Object
top.r3944realms.superleadrope.content.capability.impi.LeashStateImpl
- 所有已实现的接口:
net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>,ILeashState
The type Leash state.
-
嵌套类概要
从接口继承的嵌套类/接口 top.r3944realms.superleadrope.api.type.capabilty.ILeashState
ILeashState.LeashState -
构造器概要
构造器构造器说明LeashStateImpl(net.minecraft.world.entity.Entity entity, net.minecraft.world.phys.Vec3 defaultApplyEntityLocationOffset) Instantiates a new Leash state. -
方法概要
修饰符和类型方法说明voidaddLeashApplyEntityLocationOffset(net.minecraft.world.phys.Vec3 offset) Add leash apply entity location offset.voidaddLeashHolderLocationOffset(UUID holderUUID, net.minecraft.world.phys.Vec3 offset) Add leash holder location offset.voidaddLeashHolderLocationOffset(net.minecraft.core.BlockPos knotPos, net.minecraft.world.phys.Vec3 offset) Add leash holder location offset.voidaddLeashHolderLocationOffset(net.minecraft.world.entity.Entity holder, net.minecraft.world.phys.Vec3 offset) Add leash holder location offset.voidCheck sync.voidcopy(ILeashState other, net.minecraft.world.entity.Entity newEntity) Copy.voiddeserializeNBT(@NotNull net.minecraft.nbt.CompoundTag nbt) net.minecraft.world.phys.Vec3Gets default leash apply entity location offset.Gets holder leash states.Optional<net.minecraft.world.phys.Vec3>getHolderLocationOffset(UUID uuid) Gets holder location offset.Optional<net.minecraft.world.phys.Vec3>getHolderLocationOffset(net.minecraft.core.BlockPos pos) Gets holder location offset.Optional<net.minecraft.world.phys.Vec3>getHolderLocationOffset(net.minecraft.world.entity.Entity entity) Gets holder location offset.Map<net.minecraft.core.BlockPos,ILeashState.LeashState> Gets knot leash states.Optional<net.minecraft.world.phys.Vec3>Gets leash apply entity location offset.getLeashState(UUID uuid) Gets leash state.getLeashState(net.minecraft.core.BlockPos pos) Gets leash state.getLeashState(net.minecraft.world.entity.Entity holder) Gets leash state.booleanHas leash state boolean.voidImmediate sync.voidMark for sync.voidRemove all leash holder block pos location offset.voidRemove all leash holder location offset.voidRemove all leash holder uuid location offset.voidRemove leash apply entity location offset.voidremoveLeashHolderLocationOffset(UUID holderUUID) Remove leash holder location offset.voidremoveLeashHolderLocationOffset(net.minecraft.core.BlockPos knotPos) Remove leash holder location offset.voidremoveLeashHolderLocationOffset(net.minecraft.world.entity.Entity holder) Remove leash holder location offset.voidReset all leash apply entity locations offset.voidReset all leash holder locations offset.voidresetLeashHolderLocationOffset(UUID holderUUID) Reset leash holder location offset.voidresetLeashHolderLocationOffset(net.minecraft.core.BlockPos knotPos) Reset leash holder location offset.voidresetLeashHolderLocationOffset(net.minecraft.world.entity.Entity holder) Reset leash holder location offset.net.minecraft.world.entity.Entityself()Self entity.net.minecraft.nbt.CompoundTagvoidsetLeashApplyEntityLocationOffset(net.minecraft.world.phys.Vec3 leashHolderLocationOffset) Sets leash apply entity location offset.voidsetLeashHolderLocationOffset(UUID holderUUID, net.minecraft.world.phys.Vec3 offset) Sets leash holder location offset.voidsetLeashHolderLocationOffset(net.minecraft.core.BlockPos knotPos, net.minecraft.world.phys.Vec3 offset) Sets leash holder location offset.voidsetLeashHolderLocationOffset(net.minecraft.world.entity.Entity holder, @Nullable net.minecraft.world.phys.Vec3 offset) Sets leash holder location offset.
-
构造器详细资料
-
LeashStateImpl
public LeashStateImpl(net.minecraft.world.entity.Entity entity, net.minecraft.world.phys.Vec3 defaultApplyEntityLocationOffset) Instantiates a new Leash state.- 参数:
entity- the entitydefaultApplyEntityLocationOffset- the default apply entity location offset
-
-
方法详细资料
-
markForSync
public void markForSync()从接口复制的说明:ILeashStateMark for sync.- 指定者:
markForSync在接口中ILeashState
-
immediateSync
public void immediateSync()从接口复制的说明:ILeashStateImmediate sync.- 指定者:
immediateSync在接口中ILeashState
-
checkSync
public void checkSync()从接口复制的说明:ILeashStateCheck sync.- 指定者:
checkSync在接口中ILeashState
-
self
public net.minecraft.world.entity.Entity self()从接口复制的说明:ILeashStateSelf entity.- 指定者:
self在接口中ILeashState- 返回:
- the entity
-
hasLeashState
public boolean hasLeashState()从接口复制的说明:ILeashStateHas leash state boolean.- 指定者:
hasLeashState在接口中ILeashState- 返回:
- the boolean
-
getHolderLeashStates
从接口复制的说明:ILeashStateGets holder leash states.- 指定者:
getHolderLeashStates在接口中ILeashState- 返回:
- the holder leash states
-
getKnotLeashStates
从接口复制的说明:ILeashStateGets knot leash states.- 指定者:
getKnotLeashStates在接口中ILeashState- 返回:
- the knot leash states
-
getLeashState
从接口复制的说明:ILeashStateGets leash state.- 指定者:
getLeashState在接口中ILeashState- 参数:
holder- the entity- 返回:
- the leash state
-
getLeashState
从接口复制的说明:ILeashStateGets leash state.- 指定者:
getLeashState在接口中ILeashState- 参数:
uuid- the uuid- 返回:
- the leash state
-
getLeashState
从接口复制的说明:ILeashStateGets 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) 从接口复制的说明:ILeashStateGets holder location offset.- 指定者:
getHolderLocationOffset在接口中ILeashState- 参数:
entity- the entity- 返回:
- the holder location offset
-
getHolderLocationOffset
从接口复制的说明:ILeashStateGets 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) 从接口复制的说明:ILeashStateGets holder location offset.- 指定者:
getHolderLocationOffset在接口中ILeashState- 参数:
pos- the pos- 返回:
- the holder location offset
-
getDefaultLeashApplyEntityLocationOffset
public net.minecraft.world.phys.Vec3 getDefaultLeashApplyEntityLocationOffset()从接口复制的说明:ILeashStateGets default leash apply entity location offset.- 指定者:
getDefaultLeashApplyEntityLocationOffset在接口中ILeashState- 返回:
- the default leash apply entity location offset
-
getLeashApplyEntityLocationOffset
从接口复制的说明:ILeashStateGets leash apply entity location offset.- 指定者:
getLeashApplyEntityLocationOffset在接口中ILeashState- 返回:
- the leash apply entity location offset
-
resetLeashHolderLocationOffset
public void resetLeashHolderLocationOffset(net.minecraft.world.entity.Entity holder) 从接口复制的说明:ILeashStateReset leash holder location offset.- 指定者:
resetLeashHolderLocationOffset在接口中ILeashState- 参数:
holder- the holder
-
resetLeashHolderLocationOffset
从接口复制的说明:ILeashStateReset leash holder location offset.- 指定者:
resetLeashHolderLocationOffset在接口中ILeashState- 参数:
holderUUID- the holder uuid
-
resetLeashHolderLocationOffset
public void resetLeashHolderLocationOffset(net.minecraft.core.BlockPos knotPos) 从接口复制的说明:ILeashStateReset 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) 从接口复制的说明:ILeashStateSets leash holder location offset.- 指定者:
setLeashHolderLocationOffset在接口中ILeashState- 参数:
holder- the holderoffset- the offset
-
setLeashHolderLocationOffset
从接口复制的说明:ILeashStateSets leash holder location offset.- 指定者:
setLeashHolderLocationOffset在接口中ILeashState- 参数:
holderUUID- the holder uuidoffset- the offset
-
setLeashHolderLocationOffset
public void setLeashHolderLocationOffset(net.minecraft.core.BlockPos knotPos, net.minecraft.world.phys.Vec3 offset) 从接口复制的说明:ILeashStateSets leash holder location offset.- 指定者:
setLeashHolderLocationOffset在接口中ILeashState- 参数:
knotPos- the knot posoffset- the offset
-
addLeashHolderLocationOffset
public void addLeashHolderLocationOffset(net.minecraft.world.entity.Entity holder, net.minecraft.world.phys.Vec3 offset) 从接口复制的说明:ILeashStateAdd leash holder location offset.- 指定者:
addLeashHolderLocationOffset在接口中ILeashState- 参数:
holder- the holderoffset- the offset
-
addLeashHolderLocationOffset
从接口复制的说明:ILeashStateAdd leash holder location offset.- 指定者:
addLeashHolderLocationOffset在接口中ILeashState- 参数:
holderUUID- the holder uuidoffset- the offset
-
addLeashHolderLocationOffset
public void addLeashHolderLocationOffset(net.minecraft.core.BlockPos knotPos, net.minecraft.world.phys.Vec3 offset) 从接口复制的说明:ILeashStateAdd leash holder location offset.- 指定者:
addLeashHolderLocationOffset在接口中ILeashState- 参数:
knotPos- the knot posoffset- the offset
-
removeLeashHolderLocationOffset
public void removeLeashHolderLocationOffset(net.minecraft.world.entity.Entity holder) 从接口复制的说明:ILeashStateRemove leash holder location offset.- 指定者:
removeLeashHolderLocationOffset在接口中ILeashState- 参数:
holder- the holder
-
removeLeashHolderLocationOffset
从接口复制的说明:ILeashStateRemove leash holder location offset.- 指定者:
removeLeashHolderLocationOffset在接口中ILeashState- 参数:
holderUUID- the holder uuid
-
removeLeashHolderLocationOffset
public void removeLeashHolderLocationOffset(net.minecraft.core.BlockPos knotPos) 从接口复制的说明:ILeashStateRemove leash holder location offset.- 指定者:
removeLeashHolderLocationOffset在接口中ILeashState- 参数:
knotPos- the knot pos
-
removeAllLeashHolderLocationOffset
public void removeAllLeashHolderLocationOffset()从接口复制的说明:ILeashStateRemove all leash holder location offset. -
removeAllLeashHolderUUIDLocationOffset
public void removeAllLeashHolderUUIDLocationOffset()从接口复制的说明:ILeashStateRemove all leash holder uuid location offset. -
removeAllLeashHolderBlockPosLocationOffset
public void removeAllLeashHolderBlockPosLocationOffset()从接口复制的说明:ILeashStateRemove all leash holder block pos location offset. -
resetAllLeashHolderLocationsOffset
public void resetAllLeashHolderLocationsOffset()从接口复制的说明:ILeashStateReset all leash holder locations offset. -
resetAllLeashApplyEntityLocationsOffset
public void resetAllLeashApplyEntityLocationsOffset()从接口复制的说明:ILeashStateReset all leash apply entity locations offset. -
removeLeashApplyEntityLocationOffset
public void removeLeashApplyEntityLocationOffset()从接口复制的说明:ILeashStateRemove leash apply entity location offset. -
setLeashApplyEntityLocationOffset
public void setLeashApplyEntityLocationOffset(net.minecraft.world.phys.Vec3 leashHolderLocationOffset) 从接口复制的说明:ILeashStateSets leash apply entity location offset.- 指定者:
setLeashApplyEntityLocationOffset在接口中ILeashState- 参数:
leashHolderLocationOffset- the offset
-
addLeashApplyEntityLocationOffset
public void addLeashApplyEntityLocationOffset(net.minecraft.world.phys.Vec3 offset) 从接口复制的说明:ILeashStateAdd leash apply entity location offset.- 指定者:
addLeashApplyEntityLocationOffset在接口中ILeashState- 参数:
offset- the offset
-
copy
从接口复制的说明:ILeashStateCopy.- 指定者:
copy在接口中ILeashState- 参数:
other- the othernewEntity- 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>
-