Class Leashable.LeashData

java.lang.Object
net.minecraft.world.entity.Leashable.LeashData
Enclosing interface:
Leashable

public static final class Leashable.LeashData extends Object
  • Field Details

    • delayedLeashHolderId

      int delayedLeashHolderId
    • leashHolder

      @Nullable public Entity leashHolder
    • delayedLeashInfo

      @Nullable public com.mojang.datafixers.util.Either<UUID,BlockPos> delayedLeashInfo
  • Constructor Details

    • LeashData

      LeashData(com.mojang.datafixers.util.Either<UUID,BlockPos> p_345305_)
    • LeashData

      LeashData(Entity p_345447_)
    • LeashData

      LeashData(int p_345400_)
  • Method Details

    • setLeashHolder

      public void setLeashHolder(Entity p_342311_)