Class LeadKnotEntity

All Implemented Interfaces:
CommandSource

public class LeadKnotEntity
extends DecorationEntity
Mappings:
Namespace Name
official up
intermediary net/minecraft/class_1884
named net/minecraft/entity/decoration/LeadKnotEntity
  • Constructor Details

    • LeadKnotEntity

      public LeadKnotEntity​(World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lpk;<init>(Ladm;)V
      intermediary <init> Lnet/minecraft/class_1745;<init>(Lnet/minecraft/class_99;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
    • LeadKnotEntity

      public LeadKnotEntity​(World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lun;<init>(Ladm;Lcj;)V
      intermediary <init> Lnet/minecraft/class_1882;<init>(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;)V
      named <init> Lnet/minecraft/entity/decoration/DecorationEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
  • Method Details

    • initDataTracker

      protected void initDataTracker()
      Overrides:
      initDataTracker in class DecorationEntity
      Mappings:
      Namespace Name Mixin selector
      official h Lpk;h()V
      intermediary method_7043 Lnet/minecraft/class_1745;method_7043()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • setDirection

      public void setDirection​(Direction direction)
      Overrides:
      setDirection in class DecorationEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lun;a(Lcq;)V
      intermediary method_7724 Lnet/minecraft/class_1882;method_7724(Lnet/minecraft/class_1383;)V
      named setDirection Lnet/minecraft/entity/decoration/DecorationEntity;setDirection(Lnet/minecraft/util/math/Direction;)V
    • getWidth

      public int getWidth()
      Specified by:
      getWidth in class DecorationEntity
      Mappings:
      Namespace Name Mixin selector
      official l Lun;l()I
      intermediary method_7727 Lnet/minecraft/class_1882;method_7727()I
      named getWidth Lnet/minecraft/entity/decoration/DecorationEntity;getWidth()I
    • getHeight

      public int getHeight()
      Specified by:
      getHeight in class DecorationEntity
      Mappings:
      Namespace Name Mixin selector
      official m Lun;m()I
      intermediary method_7728 Lnet/minecraft/class_1882;method_7728()I
      named getHeight Lnet/minecraft/entity/decoration/DecorationEntity;getHeight()I
    • getEyeHeight

      public float getEyeHeight()
      Overrides:
      getEyeHeight in class Entity
      Mappings:
      Namespace Name Mixin selector
      official aS Lpk;aS()F
      intermediary method_6965 Lnet/minecraft/class_1745;method_6965()F
      named getEyeHeight Lnet/minecraft/entity/Entity;getEyeHeight()F
    • shouldRender

      @Environment(CLIENT) public boolean shouldRender​(double distance)
      Overrides:
      shouldRender in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lpk;a(D)Z
      intermediary method_6917 Lnet/minecraft/class_1745;method_6917(D)Z
      named shouldRender Lnet/minecraft/entity/Entity;shouldRender(D)Z
    • method_7725

      public void method_7725​(Entity entity)
      Specified by:
      method_7725 in class DecorationEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lun;b(Lpk;)V
      intermediary method_7725 Lnet/minecraft/class_1882;method_7725(Lnet/minecraft/class_1745;)V
      named method_7725 Lnet/minecraft/entity/decoration/DecorationEntity;method_7725(Lnet/minecraft/entity/Entity;)V
    • method_7020

      public boolean method_7020​(CompoundTag compoundTag)
      Overrides:
      method_7020 in class Entity
      Mappings:
      Namespace Name Mixin selector
      official d Lpk;d(Ldn;)Z
      intermediary method_7020 Lnet/minecraft/class_1745;method_7020(Lnet/minecraft/class_1405;)Z
      named method_7020 Lnet/minecraft/entity/Entity;method_7020(Lnet/minecraft/nbt/CompoundTag;)Z
    • serialize

      public void serialize​(CompoundTag tag)
      Overrides:
      serialize in class DecorationEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lpk;b(Ldn;)V
      intermediary method_7003 Lnet/minecraft/class_1745;method_7003(Lnet/minecraft/class_1405;)V
      named serialize Lnet/minecraft/entity/Entity;serialize(Lnet/minecraft/nbt/CompoundTag;)V
    • deserialize

      public void deserialize​(CompoundTag tag)
      Overrides:
      deserialize in class DecorationEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lpk;a(Ldn;)V
      intermediary method_6933 Lnet/minecraft/class_1745;method_6933(Lnet/minecraft/class_1405;)V
      named deserialize Lnet/minecraft/entity/Entity;deserialize(Lnet/minecraft/nbt/CompoundTag;)V
    • openInventory

      public boolean openInventory​(PlayerEntity player)
      Overrides:
      openInventory in class Entity
      Mappings:
      Namespace Name Mixin selector
      official e Lpk;e(Lwn;)Z
      intermediary method_7028 Lnet/minecraft/class_1745;method_7028(Lnet/minecraft/class_1963;)Z
      named openInventory Lnet/minecraft/entity/Entity;openInventory(Lnet/minecraft/entity/player/PlayerEntity;)Z
    • isPosValid

      public boolean isPosValid()
      Overrides:
      isPosValid in class DecorationEntity
      Mappings:
      Namespace Name Mixin selector
      official j Lun;j()Z
      intermediary method_7726 Lnet/minecraft/class_1882;method_7726()Z
      named isPosValid Lnet/minecraft/entity/decoration/DecorationEntity;isPosValid()Z
    • method_7740

      public static LeadKnotEntity method_7740​(World world, BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official a Lup;a(Ladm;Lcj;)Lup;
      intermediary method_7740 Lnet/minecraft/class_1884;method_7740(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;)Lnet/minecraft/class_1884;
      named method_7740 Lnet/minecraft/entity/decoration/LeadKnotEntity;method_7740(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/decoration/LeadKnotEntity;
    • getOrCreate

      public static LeadKnotEntity getOrCreate​(World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Lup;b(Ladm;Lcj;)Lup;
      intermediary method_7741 Lnet/minecraft/class_1884;method_7741(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;)Lnet/minecraft/class_1884;
      named getOrCreate Lnet/minecraft/entity/decoration/LeadKnotEntity;getOrCreate(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/decoration/LeadKnotEntity;