Package net.minecraft.entity.decoration
Class AbstractDecorationEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.decoration.BlockAttachedEntity
net.minecraft.entity.decoration.AbstractDecorationEntity
- All Implemented Interfaces:
- DataTracked,- ScoreHolder,- Nameable,- EntityLike
- Direct Known Subclasses:
- ItemFrameEntity,- PaintingEntity
- Mappings:
- Namespace - Name - named - net/minecraft/entity/decoration/AbstractDecorationEntity- intermediary - net/minecraft/class_1530- official - ckv
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.entity.EntityEntity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
- 
Field SummaryFieldsFields inherited from class net.minecraft.entity.decoration.BlockAttachedEntityattachedBlockPosFields inherited from class net.minecraft.entity.Entityage, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, fallDistance, field_44870, field_44871, field_44872, field_49073, field_49791, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLIDING_FLAG_INDEX, GLOWING_FLAG_INDEX, groundCollision, horizontalCollision, ID_KEY, inPowderSnow, intersectionChecked, lastRenderX, lastRenderY, lastRenderZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, noClip, ON_FIRE_FLAG_INDEX, PASSENGERS_KEY, portalManager, POSE, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnowFields inherited from interface net.minecraft.scoreboard.ScoreHolderWILDCARD, WILDCARD_NAME
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedAbstractDecorationEntity(EntityType<? extends AbstractDecorationEntity> type, World world) protectedAbstractDecorationEntity(EntityType<? extends AbstractDecorationEntity> type, World world, BlockPos pos) 
- 
Method SummaryModifier and TypeMethodDescriptionfloatapplyMirror(BlockMirror mirror) Appliesmirrorto the entity's yaw.floatapplyRotation(BlockRotation rotation) Appliesrotationto the entity's yaw.protected abstract BoxcalculateBoundingBox(BlockPos pos, Direction side) booleandropStack(ServerWorld world, ItemStack stack, float yOffset) Dropsstackat the entity's position with the given Y offset.protected Boxabstract voidonPlace()protected voidprotected final voidMethods inherited from class net.minecraft.entity.decoration.BlockAttachedEntityaddVelocity, calculateDimensions, canHit, clientDamage, damage, getAttachedBlockPos, handleAttack, isImmuneToExplosion, move, onBreak, onStruckByLightning, readCustomDataFromNbt, setPosition, shouldSetPositionOnLoad, tick, writeCustomDataToNbtMethods inherited from class net.minecraft.entity.EntityaddAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addPortalChunkTicketAt, addVelocity, addVelocityInternal, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, animateDamage, applyGravity, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateDefaultBoundingBox, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canFreeze, canModifyAt, canMoveVoluntarily, canSprintAsVehicle, canStartRiding, canTeleportBetween, canUsePortals, changeLookDirection, checkDespawn, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, emitGameEvent, emitGameEvent, equals, extinguish, extinguishWithSound, fall, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyX, getBodyY, getBodyYaw, getBodyZ, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingPassenger, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDimensions, getDisplayName, getEffectiveExplosionResistance, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getGravity, getHandPosOffset, getHeadYaw, getHeight, getHighSpeedSplashSound, getHoverEvent, getId, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLastRenderPos, getLeashOffset, getLeashOffset, getLeashPos, getLerpedPitch, getLerpedPos, getLerpedYaw, getLerpTargetPitch, getLerpTargetX, getLerpTargetY, getLerpTargetYaw, getLerpTargetZ, getLootTableKey, getMaxAir, getMinFreezeDamageTicks, getMoveEffect, getMovement, getMovementDirection, getName, getNameForScoreboard, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengerRidingPos, getPassengersDeep, getPickBlockStack, getPistonBehavior, getPitch, getPitch, getPlayerPassengers, getPortalCooldown, getPos, getPose, getPosWithYOffset, getProjectileDeflection, getRandom, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStackReference, getStandingEyeHeight, getStepHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getVelocityMultiplier, getWeaponStack, getWidth, getWorld, getWorldSpawnPos, getX, getY, getYaw, getYaw, getZ, handleFall, handleFallDamage, handleStatus, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPlayerRider, hasPortalCooldown, hasVehicle, initDataTracker, interact, interactAt, isAlive, isAlwaysInvulnerableTo, isAttackable, isCollidable, isConnectedThroughVehicle, isControlledByPlayer, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFrozen, isGlowing, isGlowingLocal, isInFluid, isInLava, isInPose, isInRange, isInRange, isInSameTeam, isInsideWall, isInsideWaterOrBubbleColumn, isInSneakingPose, isInSwimmingPose, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLocalPlayerOrLogicalSideForUpdatingMovement, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isPlayer, isPushable, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, kill, lerpPosAndRotation, lerpYaw, limitFallDistance, lookAt, movementInputToVelocity, occludeVibrationSignals, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDamaged, onDataTrackerUpdate, onExplodedBy, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemove, onRemoved, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, onTrackedDataSet, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, playSwimSound, populateCrashReport, positionInPortal, pushAwayFrom, pushOutOfBlocks, queueBlockCollisionCheck, raycast, readNbt, recalculateDimensions, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, remove, removeAllPassengers, removeCommandTag, removeFromDimension, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetLerp, resetPortalCooldown, resetPosition, rotate, saveNbt, saveSelfNbt, scheduleVelocityUpdate, serverDamage, setAir, setAngles, setBodyYaw, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setId, setInPowderSnow, setInvisible, setInvulnerable, setMovement, setMovement, setNoGravity, setOnFire, setOnFireFor, setOnFireForTicks, setOnFireFromLava, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setPrevPositionAndAngles, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldPlayBurnSoundInLava, shouldRender, shouldRender, shouldRenderName, shouldSave, shouldSpawnSprintingParticles, shouldTickBlockCollision, sidedDamage, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, startRiding, stopRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleportTo, tickBlockCollision, tickBlockCollision, tickInVoid, tickPortalCooldown, tickPortalTeleportation, tickRiding, toNbtList, toNbtList, toString, tryUsePortal, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updatePrevAngles, updatePrevPosition, updateSupportingBlockPos, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, writeNbtMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.scoreboard.ScoreHoldergetStyledDisplayName
- 
Field Details- 
PREDICATE- Mappings:
- Namespace - Name - Mixin selector - named - PREDICATE- Lnet/minecraft/entity/decoration/AbstractDecorationEntity;PREDICATE:Ljava/util/function/Predicate;- intermediary - field_7098- Lnet/minecraft/class_1530;field_7098:Ljava/util/function/Predicate;- official - b- Lckv;b:Ljava/util/function/Predicate;
 
- 
facing- Mappings:
- Namespace - Name - Mixin selector - named - facing- Lnet/minecraft/entity/decoration/AbstractDecorationEntity;facing:Lnet/minecraft/util/math/Direction;- intermediary - field_7099- Lnet/minecraft/class_1530;field_7099:Lnet/minecraft/class_2350;- official - c- Lckv;c:Ljn;
 
 
- 
- 
Constructor Details- 
AbstractDecorationEntityprotected AbstractDecorationEntity(EntityType<? extends AbstractDecorationEntity> type, World world) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V- intermediary - <init>- Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V- official - <init>- Lbum;<init>(Lbut;Ldgj;)V
 
- 
AbstractDecorationEntityprotected AbstractDecorationEntity(EntityType<? extends AbstractDecorationEntity> type, World world, BlockPos pos) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/entity/decoration/AbstractDecorationEntity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V- intermediary - <init>- Lnet/minecraft/class_1530;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)V- official - <init>- Lckv;<init>(Lbut;Ldgj;Lji;)V
 
 
- 
- 
Method Details- 
setFacing- Mappings:
- Namespace - Name - Mixin selector - named - setFacing- Lnet/minecraft/entity/decoration/AbstractDecorationEntity;setFacing(Lnet/minecraft/util/math/Direction;)V- intermediary - method_6892- Lnet/minecraft/class_1530;method_6892(Lnet/minecraft/class_2350;)V- official - a- Lckv;a(Ljn;)V
 
- 
updateAttachmentPositionprotected final void updateAttachmentPosition()- Specified by:
- updateAttachmentPositionin class- BlockAttachedEntity
- Mappings:
- Namespace - Name - Mixin selector - named - updateAttachmentPosition- Lnet/minecraft/entity/decoration/BlockAttachedEntity;updateAttachmentPosition()V- intermediary - method_6895- Lnet/minecraft/class_9691;method_6895()V- official - l- Lckt;l()V
 
- 
calculateBoundingBox- Mappings:
- Namespace - Name - Mixin selector - named - calculateBoundingBox- Lnet/minecraft/entity/decoration/AbstractDecorationEntity;calculateBoundingBox(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/util/math/Box;- intermediary - method_59943- Lnet/minecraft/class_1530;method_59943(Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Lnet/minecraft/class_238;- official - a- Lckv;a(Lji;Ljn;)Lfaw;
 
- 
canStayAttachedpublic boolean canStayAttached()- Specified by:
- canStayAttachedin class- BlockAttachedEntity
- Mappings:
- Namespace - Name - Mixin selector - named - canStayAttached- Lnet/minecraft/entity/decoration/BlockAttachedEntity;canStayAttached()Z- intermediary - method_6888- Lnet/minecraft/class_9691;method_6888()Z- official - m- Lckt;m()Z
 
- 
getAttachmentBox- Mappings:
- Namespace - Name - Mixin selector - named - getAttachmentBox- Lnet/minecraft/entity/decoration/AbstractDecorationEntity;getAttachmentBox()Lnet/minecraft/util/math/Box;- intermediary - method_59941- Lnet/minecraft/class_1530;method_59941()Lnet/minecraft/class_238;- official - y- Lckv;y()Lfaw;
 
- 
getHorizontalFacing- Overrides:
- getHorizontalFacingin class- Entity
- Mappings:
- Namespace - Name - Mixin selector - named - getHorizontalFacing- Lnet/minecraft/entity/Entity;getHorizontalFacing()Lnet/minecraft/util/math/Direction;- intermediary - method_5735- Lnet/minecraft/class_1297;method_5735()Lnet/minecraft/class_2350;- official - cO- Lbum;cO()Ljn;
 
- 
onPlacepublic abstract void onPlace()- Mappings:
- Namespace - Name - Mixin selector - named - onPlace- Lnet/minecraft/entity/decoration/AbstractDecorationEntity;onPlace()V- intermediary - method_6894- Lnet/minecraft/class_1530;method_6894()V- official - z- Lckv;z()V
 
- 
dropStackDropsstackat the entity's position with the given Y offset.- Overrides:
- dropStackin class- Entity
- Returns:
- the spawned item entity, or nullif the stack is empty or if called on the client
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - dropStack- Lnet/minecraft/entity/Entity;dropStack(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;F)Lnet/minecraft/entity/ItemEntity;- intermediary - method_5699- Lnet/minecraft/class_1297;method_5699(Lnet/minecraft/class_3218;Lnet/minecraft/class_1799;F)Lnet/minecraft/class_1542;- official - a- Lbum;a(Lard;Lcwq;F)Lcld;
 
- 
applyRotationAppliesrotationto the entity's yaw.- Overrides:
- applyRotationin class- Entity
- Mappings:
- Namespace - Name - Mixin selector - named - applyRotation- Lnet/minecraft/entity/Entity;applyRotation(Lnet/minecraft/util/BlockRotation;)F- intermediary - method_5832- Lnet/minecraft/class_1297;method_5832(Lnet/minecraft/class_2470;)F- official - a- Lbum;a(Ldqf;)F
 
- 
applyMirrorAppliesmirrorto the entity's yaw.- Overrides:
- applyMirrorin class- Entity
- Mappings:
- Namespace - Name - Mixin selector - named - applyMirror- Lnet/minecraft/entity/Entity;applyMirror(Lnet/minecraft/util/BlockMirror;)F- intermediary - method_5763- Lnet/minecraft/class_1297;method_5763(Lnet/minecraft/class_2415;)F- official - a- Lbum;a(Ldom;)F
 
 
-