Class PaintingEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.decoration.AbstractDecorationEntity
net.minecraft.entity.decoration.painting.PaintingEntity
- All Implemented Interfaces:
CommandOutput,Nameable,EntityLike
- Mappings:
Namespace Name official bptintermediary net/minecraft/class_1534named net/minecraft/entity/decoration/painting/PaintingEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final RegistryKey<PaintingVariant>private static final TrackedData<RegistryEntry<PaintingVariant>>Fields inherited from class net.minecraft.entity.decoration.AbstractDecorationEntity
attachmentPos, facing, PREDICATEFields inherited from class net.minecraft.entity.Entity
age, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_29991, field_36331, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_RIDING_COOLDOWN, MAX_SCOREBOARD_TAGS, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, onGround, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, stepHeight, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, VELOCITY_AFFECTING_POS_Y_OFFSET, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, worldFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY -
Constructor Summary
ConstructorsModifierConstructorDescriptionPaintingEntity(EntityType<? extends PaintingEntity> type, World world) privatePaintingEntity(World world, BlockPos pos) PaintingEntity(World world, BlockPos pos, Direction direction, RegistryEntry<PaintingVariant> variant) -
Method Summary
Modifier and TypeMethodDescriptionPacket<?>private static RegistryEntry<PaintingVariant>intprivate static intgetSize(RegistryEntry<PaintingVariant> variant) intprotected voidvoidvoidonPlace()voidonSpawnPacket(EntitySpawnS2CPacket packet) voidonTrackedDataSet(TrackedData<?> data) static Optional<PaintingEntity>placePainting(World world, BlockPos pos, Direction facing) voidvoidrefreshPositionAndAngles(double x, double y, double z, float yaw, float pitch) private voidsetVariant(RegistryEntry<PaintingVariant> variant) voidupdateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps, boolean interpolate) voidMethods inherited from class net.minecraft.entity.decoration.AbstractDecorationEntity
addVelocity, applyMirror, applyRotation, calculateDimensions, canStayAttached, collides, damage, dropStack, getDecorationBlockPos, getHorizontalFacing, handleAttack, move, onStruckByLightning, setFacing, setPosition, shouldSetPositionOnLoad, tick, updateAttachmentPositionMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, animateDamage, applyDamageEffects, asMessageSender, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeRiddenInWater, canBeSpectated, canExplosionDestroyBlock, canFreeze, canModifyAt, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, checkDespawn, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, equipStack, extinguish, fall, getAir, getArmorItems, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBodyYaw, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDimensions, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEventSource, getEyeHeight, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeadYaw, getHeight, getHeightOffset, getHighSpeedSplashSound, getHoverEvent, getId, getItemsEquipped, getItemsHand, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMoveEffect, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStackReference, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getSwimHeight, getSwimSound, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getVelocityMultiplier, getVisibilityBoundingBox, getWidth, getWorld, getX, getY, getYaw, getYaw, getZ, handleFallDamage, handleStatus, hasCollidedSoftly, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasPrimaryPassenger, hasVehicle, hasWings, interact, interactAt, isAlive, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFrozen, isGlowing, isGlowingLocal, isImmuneToExplosion, isInLava, isInPose, isInRange, isInRange, isInsideWall, isInsideWaterOrBubbleColumn, isInSneakingPose, isInSwimmingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isPartOf, isPlayer, isPushable, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, kill, lookAt, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, playExtinguishSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, populateCrashReport, positionInPortal, pushAwayFrom, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, remove, removeAllPassengers, removeFromDimension, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetNetherPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendMessage, setAir, setBodyYaw, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setId, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setPitch, setPos, setPose, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setYaw, shouldBroadcastConsoleToOps, shouldEscapePowderSnow, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRender, shouldRenderName, shouldSave, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, startRiding, stopRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickInVoid, tickNetherPortal, tickNetherPortalCooldown, tickRiding, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilenced
-
Field Details
-
VARIANT
- Mappings:
Namespace Name Mixin selector official eLbpt;e:Lzr;intermediary field_38941Lnet/minecraft/class_1534;field_38941:Lnet/minecraft/class_2940;named VARIANTLnet/minecraft/entity/decoration/painting/PaintingEntity;VARIANT:Lnet/minecraft/entity/data/TrackedData;
-
DEFAULT_VARIANT
- Mappings:
Namespace Name Mixin selector official fLbpt;f:Laai;intermediary field_38942Lnet/minecraft/class_1534;field_38942:Lnet/minecraft/class_5321;named DEFAULT_VARIANTLnet/minecraft/entity/decoration/painting/PaintingEntity;DEFAULT_VARIANT:Lnet/minecraft/util/registry/RegistryKey;
-
-
Constructor Details
-
PaintingEntity
- Mappings:
Namespace Name Mixin selector official <init>Lbaq;<init>(Lbau;Lcga;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
PaintingEntity
- Mappings:
Namespace Name Mixin selector official <init>Lbpt;<init>(Lcga;Lgt;)Vintermediary <init>Lnet/minecraft/class_1534;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Vnamed <init>Lnet/minecraft/entity/decoration/painting/PaintingEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
-
PaintingEntity
public PaintingEntity(World world, BlockPos pos, Direction direction, RegistryEntry<PaintingVariant> variant) - Mappings:
Namespace Name Mixin selector official <init>Lbpt;<init>(Lcga;Lgt;Lgy;Lhc;)Vintermediary <init>Lnet/minecraft/class_1534;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Lnet/minecraft/class_6880;)Vnamed <init>Lnet/minecraft/entity/decoration/painting/PaintingEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/registry/RegistryEntry;)V
-
-
Method Details
-
getDefaultVariant
- Mappings:
Namespace Name Mixin selector official iLbpt;i()Lhc;intermediary method_43405Lnet/minecraft/class_1534;method_43405()Lnet/minecraft/class_6880;named getDefaultVariantLnet/minecraft/entity/decoration/painting/PaintingEntity;getDefaultVariant()Lnet/minecraft/util/registry/RegistryEntry;
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classAbstractDecorationEntity- Mappings:
Namespace Name Mixin selector official a_Lbaq;a_()Vintermediary method_5693Lnet/minecraft/class_1297;method_5693()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
onTrackedDataSet
- Overrides:
onTrackedDataSetin classEntity- Mappings:
Namespace Name Mixin selector official aLbaq;a(Lzr;)Vintermediary method_5674Lnet/minecraft/class_1297;method_5674(Lnet/minecraft/class_2940;)Vnamed onTrackedDataSetLnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
-
setVariant
- Mappings:
Namespace Name Mixin selector official aLbpt;a(Lhc;)Vintermediary method_43402Lnet/minecraft/class_1534;method_43402(Lnet/minecraft/class_6880;)Vnamed setVariantLnet/minecraft/entity/decoration/painting/PaintingEntity;setVariant(Lnet/minecraft/util/registry/RegistryEntry;)V
-
getVariant
- Mappings:
Namespace Name Mixin selector official hLbpt;h()Lhc;intermediary method_43404Lnet/minecraft/class_1534;method_43404()Lnet/minecraft/class_6880;named getVariantLnet/minecraft/entity/decoration/painting/PaintingEntity;getVariant()Lnet/minecraft/util/registry/RegistryEntry;
-
placePainting
- Mappings:
Namespace Name Mixin selector official aLbpt;a(Lcga;Lgt;Lgy;)Ljava/util/Optional;intermediary method_43401Lnet/minecraft/class_1534;method_43401(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Ljava/util/Optional;named placePaintingLnet/minecraft/entity/decoration/painting/PaintingEntity;placePainting(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Ljava/util/Optional;
-
getSize
- Mappings:
Namespace Name Mixin selector official bLbpt;b(Lhc;)Iintermediary method_43403Lnet/minecraft/class_1534;method_43403(Lnet/minecraft/class_6880;)Inamed getSizeLnet/minecraft/entity/decoration/painting/PaintingEntity;getSize(Lnet/minecraft/util/registry/RegistryEntry;)I
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classAbstractDecorationEntity- Mappings:
Namespace Name Mixin selector official bLbaq;b(Lpj;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classAbstractDecorationEntity- Mappings:
Namespace Name Mixin selector official aLbaq;a(Lpj;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
getWidthPixels
public int getWidthPixels()- Specified by:
getWidthPixelsin classAbstractDecorationEntity- Mappings:
Namespace Name Mixin selector official sLbpq;s()Iintermediary method_6897Lnet/minecraft/class_1530;method_6897()Inamed getWidthPixelsLnet/minecraft/entity/decoration/AbstractDecorationEntity;getWidthPixels()I
-
getHeightPixels
public int getHeightPixels()- Specified by:
getHeightPixelsin classAbstractDecorationEntity- Mappings:
Namespace Name Mixin selector official tLbpq;t()Iintermediary method_6891Lnet/minecraft/class_1530;method_6891()Inamed getHeightPixelsLnet/minecraft/entity/decoration/AbstractDecorationEntity;getHeightPixels()I
-
onBreak
- Specified by:
onBreakin classAbstractDecorationEntity- Mappings:
Namespace Name Mixin selector official aLbpq;a(Lbaq;)Vintermediary method_6889Lnet/minecraft/class_1530;method_6889(Lnet/minecraft/class_1297;)Vnamed onBreakLnet/minecraft/entity/decoration/AbstractDecorationEntity;onBreak(Lnet/minecraft/entity/Entity;)V
-
onPlace
public void onPlace()- Specified by:
onPlacein classAbstractDecorationEntity- Mappings:
Namespace Name Mixin selector official uLbpq;u()Vintermediary method_6894Lnet/minecraft/class_1530;method_6894()Vnamed onPlaceLnet/minecraft/entity/decoration/AbstractDecorationEntity;onPlace()V
-
refreshPositionAndAngles
public void refreshPositionAndAngles(double x, double y, double z, float yaw, float pitch) - Overrides:
refreshPositionAndAnglesin classEntity- Mappings:
Namespace Name Mixin selector official bLbaq;b(DDDFF)Vintermediary method_5808Lnet/minecraft/class_1297;method_5808(DDDFF)Vnamed refreshPositionAndAnglesLnet/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:
updateTrackedPositionAndAnglesin classEntity- Mappings:
Namespace Name Mixin selector official aLbaq;a(DDDFFIZ)Vintermediary method_5759Lnet/minecraft/class_1297;method_5759(DDDFFIZ)Vnamed updateTrackedPositionAndAnglesLnet/minecraft/entity/Entity;updateTrackedPositionAndAngles(DDDFFIZ)V
-
getSyncedPos
- Overrides:
getSyncedPosin classEntity- Mappings:
Namespace Name Mixin selector official daLbaq;da()Ldvt;intermediary method_43390Lnet/minecraft/class_1297;method_43390()Lnet/minecraft/class_243;named getSyncedPosLnet/minecraft/entity/Entity;getSyncedPos()Lnet/minecraft/util/math/Vec3d;
-
createSpawnPacket
- Specified by:
createSpawnPacketin classEntity- Mappings:
Namespace Name Mixin selector official SLbaq;S()Lso;intermediary method_18002Lnet/minecraft/class_1297;method_18002()Lnet/minecraft/class_2596;named createSpawnPacketLnet/minecraft/entity/Entity;createSpawnPacket()Lnet/minecraft/network/Packet;
-
onSpawnPacket
- Overrides:
onSpawnPacketin classEntity- Mappings:
Namespace Name Mixin selector official aLbaq;a(Lss;)Vintermediary method_31471Lnet/minecraft/class_1297;method_31471(Lnet/minecraft/class_2604;)Vnamed onSpawnPacketLnet/minecraft/entity/Entity;onSpawnPacket(Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;)V
-
getPickBlockStack
- Overrides:
getPickBlockStackin classEntity- Mappings:
Namespace Name Mixin selector official doLbaq;do()Lcaa;intermediary method_31480Lnet/minecraft/class_1297;method_31480()Lnet/minecraft/class_1799;named getPickBlockStackLnet/minecraft/entity/Entity;getPickBlockStack()Lnet/minecraft/item/ItemStack;
-