Class Leashable.LeashData

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

public static final class Leashable.LeashData extends Object
Mappings:
Namespace Name
named net/minecraft/entity/Leashable$LeashData
intermediary net/minecraft/class_9817$class_9818
official bwd$a
  • Field Details

    • unresolvedLeashHolderId

      int unresolvedLeashHolderId
      Mappings:
      Namespace Name Mixin selector
      named unresolvedLeashHolderId Lnet/minecraft/entity/Leashable$LeashData;unresolvedLeashHolderId:I
      intermediary field_52219 Lnet/minecraft/class_9817$class_9818;field_52219:I
      official c Lbwd$a;c:I
    • leashHolder

      @Nullable public @Nullable Entity leashHolder
      Mappings:
      Namespace Name Mixin selector
      named leashHolder Lnet/minecraft/entity/Leashable$LeashData;leashHolder:Lnet/minecraft/entity/Entity;
      intermediary field_52217 Lnet/minecraft/class_9817$class_9818;field_52217:Lnet/minecraft/class_1297;
      official a Lbwd$a;a:Lbvj;
    • unresolvedLeashData

      @Nullable public @Nullable com.mojang.datafixers.util.Either<UUID,BlockPos> unresolvedLeashData
      Mappings:
      Namespace Name Mixin selector
      named unresolvedLeashData Lnet/minecraft/entity/Leashable$LeashData;unresolvedLeashData:Lcom/mojang/datafixers/util/Either;
      intermediary field_52218 Lnet/minecraft/class_9817$class_9818;field_52218:Lcom/mojang/datafixers/util/Either;
      official b Lbwd$a;b:Lcom/mojang/datafixers/util/Either;
  • Constructor Details

    • LeashData

      LeashData(com.mojang.datafixers.util.Either<UUID,BlockPos> unresolvedLeashData)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/Leashable$LeashData;<init>(Lcom/mojang/datafixers/util/Either;)V
      intermediary <init> Lnet/minecraft/class_9817$class_9818;<init>(Lcom/mojang/datafixers/util/Either;)V
      official <init> Lbwd$a;<init>(Lcom/mojang/datafixers/util/Either;)V
    • LeashData

      LeashData(Entity leashHolder)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/Leashable$LeashData;<init>(Lnet/minecraft/entity/Entity;)V
      intermediary <init> Lnet/minecraft/class_9817$class_9818;<init>(Lnet/minecraft/class_1297;)V
      official <init> Lbwd$a;<init>(Lbvj;)V
    • LeashData

      LeashData(int unresolvedLeashHolderId)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/Leashable$LeashData;<init>(I)V
      intermediary <init> Lnet/minecraft/class_9817$class_9818;<init>(I)V
      official <init> Lbwd$a;<init>(I)V
  • Method Details

    • setLeashHolder

      public void setLeashHolder(Entity leashHolder)
      Mappings:
      Namespace Name Mixin selector
      named setLeashHolder Lnet/minecraft/entity/Leashable$LeashData;setLeashHolder(Lnet/minecraft/entity/Entity;)V
      intermediary method_60971 Lnet/minecraft/class_9817$class_9818;method_60971(Lnet/minecraft/class_1297;)V
      official a Lbwd$a;a(Lbvj;)V