Package net.minecraft.entity.decoration
Class PaintingEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.decoration.DecorationEntity
net.minecraft.entity.decoration.PaintingEntity
- All Implemented Interfaces:
CommandSource
public class PaintingEntity extends DecorationEntity
- Mappings:
Namespace Name official uqintermediary net/minecraft/class_1885named net/minecraft/entity/decoration/PaintingEntity
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaintingEntity.Type -
Field Summary
Fields Modifier and Type Field Description PaintingEntity.TypetypeFields inherited from class net.minecraft.entity.decoration.DecorationEntity
direction, posFields inherited from class net.minecraft.entity.Entity
changingDimension, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_7357, field_7362, field_7363, field_7364, field_7365, field_7370, field_7390, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inLava, isFireImmune, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, renderDistanceMultiplier, rider, stepHeight, teleportDirection, teleporting, ticksAlive, touchingWater, trackedX, trackedY, trackedZ, vehicle, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
Constructors Constructor Description PaintingEntity(World world)PaintingEntity(World world, BlockPos pos, Direction direction)PaintingEntity(World world, BlockPos blockPos, Direction direction, String string) -
Method Summary
Modifier and Type Method Description voiddeserialize(CompoundTag tag)intgetHeight()intgetWidth()voidmethod_7725(Entity entity)voidrefreshPositionAndAngles(double x, double y, double z, float yaw, float pitch)voidserialize(CompoundTag tag)voidupdateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps, boolean interpolate)Methods inherited from class net.minecraft.entity.decoration.DecorationEntity
addVelocity, collides, damage, getHorizontalDirection, getTilePos, handleAttack, initDataTracker, isPosValid, move, setDirection, shouldSetPositionOnLoad, tick, updatePositionMethods inherited from class net.minecraft.entity.Entity
afterSpawn, animateDamage, attemptSprintingParticles, baseTick, burn, canAvoidTraps, canClimb, canFly, canUseCommand, checkBlockCollision, copyPortalInfo, copyPosition, destroy, doesNotCollide, doesRenderOnFire, equals, equip, extinguish, fall, fromClientTag, fromTag, getAir, getArmorStacks, getBlastResistance, getBlockPos, getBoundingBox, getBox, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getDistanceTo, getEntity, getEntityId, getEyeHeight, getFlag, getHardCollisionBox, getHeadRotation, getHeightOffset, getHoverEvent, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getMaxNetherPortalTime, getMountedHeightOffset, getName, getPos, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getSplashSound, getSwimSound, getTranslationKey, getUuid, getWorld, handleFallDamage, handleStatus, hasCustomName, hashCode, hasVehicle, increaseTransforms, interactAt, isAlive, isAttackable, isCustomNameVisible, isFireImmune, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isPushable, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isTouchingWater, kill, method_6912, method_6924, method_6926, method_6939, method_6940, method_6943, method_6944, method_6945, method_6948, method_6949, method_6968, method_6971, method_6977, method_6981, method_6984, method_6985, method_6994, method_6998, method_7008, method_7020, method_7049, method_7051, method_7058, onLightningStrike, onPlayerCollision, onSwimmingStart, openInventory, playSound, playStepSound, populateCrashReport, pushAwayFrom, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, remove, saveSelfToTag, scheduleVelocityUpdate, sendCommandFeedback, sendMessage, setAir, setArmorSlot, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setHeadYaw, setInNetherPortal, setInvisible, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRotation, setSilent, setSneaking, setSprinting, setStat, setSwimming, setVelocityClient, setWorld, setYaw, shouldRender, shouldRender, shouldRenderName, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, squaredDistanceToEntity, startRiding, teleportToDimension, tickFire, tickRiding, toListTag, toListTag, toString, updateKilledAdvancementCriterion, updatePositionAndAngles, writePlayerData
-
Field Details
-
type
- Mappings:
Namespace Name Mixin selector official cLuq;c:Luq$a;intermediary field_8047Lnet/minecraft/class_1885;field_8047:Lnet/minecraft/class_1885$class_1886;named typeLnet/minecraft/entity/decoration/PaintingEntity;type:Lnet/minecraft/entity/decoration/PaintingEntity$Type;
-
-
Constructor Details
-
PaintingEntity
- Mappings:
Namespace Name Mixin selector official <init>Lpk;<init>(Ladm;)Vintermediary <init>Lnet/minecraft/class_1745;<init>(Lnet/minecraft/class_99;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
PaintingEntity
- Mappings:
Namespace Name Mixin selector official <init>Luq;<init>(Ladm;Lcj;Lcq;)Vintermediary <init>Lnet/minecraft/class_1885;<init>(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_1383;)Vnamed <init>Lnet/minecraft/entity/decoration/PaintingEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)V
-
PaintingEntity
-
-
Method Details
-
serialize
- Overrides:
serializein classDecorationEntity- Mappings:
Namespace Name Mixin selector official bLpk;b(Ldn;)Vintermediary method_7003Lnet/minecraft/class_1745;method_7003(Lnet/minecraft/class_1405;)Vnamed serializeLnet/minecraft/entity/Entity;serialize(Lnet/minecraft/nbt/CompoundTag;)V
-
deserialize
- Overrides:
deserializein classDecorationEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(Ldn;)Vintermediary method_6933Lnet/minecraft/class_1745;method_6933(Lnet/minecraft/class_1405;)Vnamed deserializeLnet/minecraft/entity/Entity;deserialize(Lnet/minecraft/nbt/CompoundTag;)V
-
getWidth
public int getWidth()- Specified by:
getWidthin classDecorationEntity- Mappings:
Namespace Name Mixin selector official lLun;l()Iintermediary method_7727Lnet/minecraft/class_1882;method_7727()Inamed getWidthLnet/minecraft/entity/decoration/DecorationEntity;getWidth()I
-
getHeight
public int getHeight()- Specified by:
getHeightin classDecorationEntity- Mappings:
Namespace Name Mixin selector official mLun;m()Iintermediary method_7728Lnet/minecraft/class_1882;method_7728()Inamed getHeightLnet/minecraft/entity/decoration/DecorationEntity;getHeight()I
-
method_7725
- Specified by:
method_7725in classDecorationEntity- Mappings:
Namespace Name Mixin selector official bLun;b(Lpk;)Vintermediary method_7725Lnet/minecraft/class_1882;method_7725(Lnet/minecraft/class_1745;)Vnamed method_7725Lnet/minecraft/entity/decoration/DecorationEntity;method_7725(Lnet/minecraft/entity/Entity;)V
-
refreshPositionAndAngles
public void refreshPositionAndAngles(double x, double y, double z, float yaw, float pitch)- Overrides:
refreshPositionAndAnglesin classEntity- Mappings:
Namespace Name Mixin selector official bLpk;b(DDDFF)Vintermediary method_6997Lnet/minecraft/class_1745;method_6997(DDDFF)Vnamed refreshPositionAndAnglesLnet/minecraft/entity/Entity;refreshPositionAndAngles(DDDFF)V
-
updateTrackedPositionAndAngles
@Environment(CLIENT) public void updateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps, boolean interpolate)- Overrides:
updateTrackedPositionAndAnglesin classEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(DDDFFIZ)Vintermediary method_6920Lnet/minecraft/class_1745;method_6920(DDDFFIZ)Vnamed updateTrackedPositionAndAnglesLnet/minecraft/entity/Entity;updateTrackedPositionAndAngles(DDDFFIZ)V
-