类 LeashKnotEntity

    • 字段详细资料

      • field_30455

        public static final double field_30455
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official e Lbfz;e:D
        intermediary field_30455 Lnet/minecraft/class_1532;field_30455:D
        named field_30455 Lnet/minecraft/entity/decoration/LeashKnotEntity;field_30455:D
    • 构造器详细资料

      • LeashKnotEntity

        public LeashKnotEntity​(EntityType<? extends LeashKnotEntity> type,
                               World world)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lasl;<init>(Lasp;Lbvr;)V
        intermediary <init> Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
        named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
      • LeashKnotEntity

        public LeashKnotEntity​(World world,
                               BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lbfz;<init>(Lbvr;Lgb;)V
        intermediary <init> Lnet/minecraft/class_1532;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)V
        named <init> Lnet/minecraft/entity/decoration/LeashKnotEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
    • 方法详细资料

      • updateAttachmentPosition

        protected void updateAttachmentPosition()
        覆盖:
        updateAttachmentPosition 在类中 AbstractDecorationEntity
        Mappings:
        Namespace Name Mixin selector
        official o Lbfx;o()V
        intermediary method_6895 Lnet/minecraft/class_1530;method_6895()V
        named updateAttachmentPosition Lnet/minecraft/entity/decoration/AbstractDecorationEntity;updateAttachmentPosition()V
      • setFacing

        public void setFacing​(Direction facing)
        覆盖:
        setFacing 在类中 AbstractDecorationEntity
        Mappings:
        Namespace Name Mixin selector
        official a Lbfx;a(Lgg;)V
        intermediary method_6892 Lnet/minecraft/class_1530;method_6892(Lnet/minecraft/class_2350;)V
        named setFacing Lnet/minecraft/entity/decoration/AbstractDecorationEntity;setFacing(Lnet/minecraft/util/math/Direction;)V
      • getWidthPixels

        public int getWidthPixels()
        指定者:
        getWidthPixels 在类中 AbstractDecorationEntity
        Mappings:
        Namespace Name Mixin selector
        official q Lbfx;q()I
        intermediary method_6897 Lnet/minecraft/class_1530;method_6897()I
        named getWidthPixels Lnet/minecraft/entity/decoration/AbstractDecorationEntity;getWidthPixels()I
      • getHeightPixels

        public int getHeightPixels()
        指定者:
        getHeightPixels 在类中 AbstractDecorationEntity
        Mappings:
        Namespace Name Mixin selector
        official r Lbfx;r()I
        intermediary method_6891 Lnet/minecraft/class_1530;method_6891()I
        named getHeightPixels Lnet/minecraft/entity/decoration/AbstractDecorationEntity;getHeightPixels()I
      • getEyeHeight

        protected float getEyeHeight​(EntityPose pose,
                                     EntityDimensions dimensions)
        覆盖:
        getEyeHeight 在类中 Entity
        Mappings:
        Namespace Name Mixin selector
        official a Lasl;a(Latj;Lasm;)F
        intermediary method_18378 Lnet/minecraft/class_1297;method_18378(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)F
        named getEyeHeight Lnet/minecraft/entity/Entity;getEyeHeight(Lnet/minecraft/entity/EntityPose;Lnet/minecraft/entity/EntityDimensions;)F
      • shouldRender

        public boolean shouldRender​(double distance)
        覆盖:
        shouldRender 在类中 Entity
        Mappings:
        Namespace Name Mixin selector
        official a Lasl;a(D)Z
        intermediary method_5640 Lnet/minecraft/class_1297;method_5640(D)Z
        named shouldRender Lnet/minecraft/entity/Entity;shouldRender(D)Z
      • onBreak

        public void onBreak​(@Nullable
                            @Nullable Entity entity)
        指定者:
        onBreak 在类中 AbstractDecorationEntity
        Mappings:
        Namespace Name Mixin selector
        official a Lbfx;a(Lasl;)V
        intermediary method_6889 Lnet/minecraft/class_1530;method_6889(Lnet/minecraft/class_1297;)V
        named onBreak Lnet/minecraft/entity/decoration/AbstractDecorationEntity;onBreak(Lnet/minecraft/entity/Entity;)V
      • writeCustomDataToNbt

        public void writeCustomDataToNbt​(CompoundTag nbt)
        覆盖:
        writeCustomDataToNbt 在类中 AbstractDecorationEntity
        Mappings:
        Namespace Name Mixin selector
        official b Lasl;b(Lmv;)V
        intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
        named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/CompoundTag;)V
      • readCustomDataFromNbt

        public void readCustomDataFromNbt​(CompoundTag nbt)
        覆盖:
        readCustomDataFromNbt 在类中 AbstractDecorationEntity
        Mappings:
        Namespace Name Mixin selector
        official a Lasl;a(Lmv;)V
        intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
        named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/CompoundTag;)V
      • interact

        public ActionResult interact​(PlayerEntity player,
                                     Hand hand)
        Called when a player interacts with this entity.
        覆盖:
        interact 在类中 Entity
        参数:
        player - the player
        hand - the hand the player used to interact with this entity
        Mappings:
        Namespace Name Mixin selector
        official a Lasl;a(Lbjf;Larf;)Larg;
        intermediary method_5688 Lnet/minecraft/class_1297;method_5688(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
        named interact Lnet/minecraft/entity/Entity;interact(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
      • canStayAttached

        public boolean canStayAttached()
        覆盖:
        canStayAttached 在类中 AbstractDecorationEntity
        Mappings:
        Namespace Name Mixin selector
        official p Lbfx;p()Z
        intermediary method_6888 Lnet/minecraft/class_1530;method_6888()Z
        named canStayAttached Lnet/minecraft/entity/decoration/AbstractDecorationEntity;canStayAttached()Z
      • getOrCreate

        public static LeashKnotEntity getOrCreate​(World world,
                                                  BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official a Lbfz;a(Lbvr;Lgb;)Lbfz;
        intermediary method_6932 Lnet/minecraft/class_1532;method_6932(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Lnet/minecraft/class_1532;
        named getOrCreate Lnet/minecraft/entity/decoration/LeashKnotEntity;getOrCreate(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/decoration/LeashKnotEntity;
      • onPlace

        public void onPlace()
        指定者:
        onPlace 在类中 AbstractDecorationEntity
        Mappings:
        Namespace Name Mixin selector
        official s Lbfx;s()V
        intermediary method_6894 Lnet/minecraft/class_1530;method_6894()V
        named onPlace Lnet/minecraft/entity/decoration/AbstractDecorationEntity;onPlace()V
      • createSpawnPacket

        public Packet<?> createSpawnPacket()
        指定者:
        createSpawnPacket 在类中 Entity
        Mappings:
        Namespace Name Mixin selector
        official O Lasl;O()Lpf;
        intermediary method_18002 Lnet/minecraft/class_1297;method_18002()Lnet/minecraft/class_2596;
        named createSpawnPacket Lnet/minecraft/entity/Entity;createSpawnPacket()Lnet/minecraft/network/Packet;
      • method_30951

        public Vec3d method_30951​(float float2)
        覆盖:
        method_30951 在类中 Entity
        Mappings:
        Namespace Name Mixin selector
        official n Lasl;n(F)Ldma;
        intermediary method_30951 Lnet/minecraft/class_1297;method_30951(F)Lnet/minecraft/class_243;
        named method_30951 Lnet/minecraft/entity/Entity;method_30951(F)Lnet/minecraft/util/math/Vec3d;
      • getPickBlockStack

        public ItemStack getPickBlockStack()
        覆盖:
        getPickBlockStack 在类中 Entity
        Mappings:
        Namespace Name Mixin selector
        official da Lasl;da()Lbpr;
        intermediary method_31480 Lnet/minecraft/class_1297;method_31480()Lnet/minecraft/class_1799;
        named getPickBlockStack Lnet/minecraft/entity/Entity;getPickBlockStack()Lnet/minecraft/item/ItemStack;