Class PaintingEntity

All Implemented Interfaces:
CommandOutput, Nameable, EntityLike

public class PaintingEntity extends AbstractDecorationEntity
Mappings:
Namespace Name
official bkn
intermediary net/minecraft/class_1534
named net/minecraft/entity/decoration/painting/PaintingEntity
  • Field Details

    • motive

      public PaintingMotive motive
      Mappings:
      Namespace Name Mixin selector
      official e Lbkn;e:Lbkm;
      intermediary field_7134 Lnet/minecraft/class_1534;field_7134:Lnet/minecraft/class_1535;
      named motive Lnet/minecraft/entity/decoration/painting/PaintingEntity;motive:Lnet/minecraft/entity/decoration/painting/PaintingMotive;
  • Constructor Details

    • PaintingEntity

      public PaintingEntity(EntityType<? extends PaintingEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lawt;<init>(Lawx;Lcad;)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
    • PaintingEntity

      public PaintingEntity(World world, BlockPos pos, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbkn;<init>(Lcad;Lgh;Lgm;)V
      intermediary <init> Lnet/minecraft/class_1534;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)V
      named <init> Lnet/minecraft/entity/decoration/painting/PaintingEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)V
    • PaintingEntity

      public PaintingEntity(World world, BlockPos pos, Direction direction, PaintingMotive motive)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbkn;<init>(Lcad;Lgh;Lgm;Lbkm;)V
      intermediary <init> Lnet/minecraft/class_1534;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Lnet/minecraft/class_1535;)V
      named <init> Lnet/minecraft/entity/decoration/painting/PaintingEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Lnet/minecraft/entity/decoration/painting/PaintingMotive;)V
  • Method Details

    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Overrides:
      writeCustomDataToNbt in class AbstractDecorationEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lawt;b(Loc;)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/NbtCompound;)V
    • readCustomDataFromNbt

      public void readCustomDataFromNbt(NbtCompound nbt)
      Overrides:
      readCustomDataFromNbt in class AbstractDecorationEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lawt;a(Loc;)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/NbtCompound;)V
    • getWidthPixels

      public int getWidthPixels()
      Specified by:
      getWidthPixels in class AbstractDecorationEntity
      Mappings:
      Namespace Name Mixin selector
      official s Lbkj;s()I
      intermediary method_6897 Lnet/minecraft/class_1530;method_6897()I
      named getWidthPixels Lnet/minecraft/entity/decoration/AbstractDecorationEntity;getWidthPixels()I
    • getHeightPixels

      public int getHeightPixels()
      Specified by:
      getHeightPixels in class AbstractDecorationEntity
      Mappings:
      Namespace Name Mixin selector
      official t Lbkj;t()I
      intermediary method_6891 Lnet/minecraft/class_1530;method_6891()I
      named getHeightPixels Lnet/minecraft/entity/decoration/AbstractDecorationEntity;getHeightPixels()I
    • onBreak

      public void onBreak(@Nullable @Nullable Entity entity)
      Specified by:
      onBreak in class AbstractDecorationEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbkj;a(Lawt;)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
    • onPlace

      public void onPlace()
      Specified by:
      onPlace in class AbstractDecorationEntity
      Mappings:
      Namespace Name Mixin selector
      official u Lbkj;u()V
      intermediary method_6894 Lnet/minecraft/class_1530;method_6894()V
      named onPlace Lnet/minecraft/entity/decoration/AbstractDecorationEntity;onPlace()V
    • refreshPositionAndAngles

      public void refreshPositionAndAngles(double x, double y, double z, float yaw, float pitch)
      Overrides:
      refreshPositionAndAngles in class Entity
      Mappings:
      Namespace Name Mixin selector
      official b Lawt;b(DDDFF)V
      intermediary method_5808 Lnet/minecraft/class_1297;method_5808(DDDFF)V
      named refreshPositionAndAngles Lnet/minecraft/entity/Entity;refreshPositionAndAngles(DDDFF)V
    • updateTrackedPositionAndAngles

      public void updateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps, boolean interpolate)
      Overrides:
      updateTrackedPositionAndAngles in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lawt;a(DDDFFIZ)V
      intermediary method_5759 Lnet/minecraft/class_1297;method_5759(DDDFFIZ)V
      named updateTrackedPositionAndAngles Lnet/minecraft/entity/Entity;updateTrackedPositionAndAngles(DDDFFIZ)V
    • createSpawnPacket

      public Packet<?> createSpawnPacket()
      Specified by:
      createSpawnPacket in class Entity
      Mappings:
      Namespace Name Mixin selector
      official S Lawt;S()Lqr;
      intermediary method_18002 Lnet/minecraft/class_1297;method_18002()Lnet/minecraft/class_2596;
      named createSpawnPacket Lnet/minecraft/entity/Entity;createSpawnPacket()Lnet/minecraft/network/Packet;
    • getPickBlockStack

      public ItemStack getPickBlockStack()
      Overrides:
      getPickBlockStack in class Entity
      Mappings:
      Namespace Name Mixin selector
      official dk Lawt;dk()Lbue;
      intermediary method_31480 Lnet/minecraft/class_1297;method_31480()Lnet/minecraft/class_1799;
      named getPickBlockStack Lnet/minecraft/entity/Entity;getPickBlockStack()Lnet/minecraft/item/ItemStack;