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
,CommandOutput
,Nameable
,EntityLike
- Direct Known Subclasses:
ItemFrameEntity
,PaintingEntity
- Mappings:
Namespace Name named net/minecraft/entity/decoration/AbstractDecorationEntity
intermediary net/minecraft/class_1530
official ciz
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Fields inherited from class net.minecraft.entity.decoration.BlockAttachedEntity
attachedBlockPos
Fields 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_44870, field_44871, field_44872, field_49073, field_49791, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, groundCollision, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, 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, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
Fields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAME
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractDecorationEntity
(EntityType<? extends AbstractDecorationEntity> type, World world) protected
AbstractDecorationEntity
(EntityType<? extends AbstractDecorationEntity> type, World world, BlockPos pos) -
Method Summary
Modifier and TypeMethodDescriptionfloat
applyMirror
(BlockMirror mirror) Appliesmirror
to the entity's yaw.float
applyRotation
(BlockRotation rotation) Appliesrotation
to the entity's yaw.protected abstract Box
calculateBoundingBox
(BlockPos pos, Direction side) boolean
Dropsstack
at the entity's position with the given Y offset.protected Box
abstract void
onPlace()
protected void
protected final void
Methods inherited from class net.minecraft.entity.decoration.BlockAttachedEntity
addVelocity, calculateDimensions, canHit, damage, getAttachedBlockPos, handleAttack, move, onBreak, onStruckByLightning, readCustomDataFromNbt, setPosition, shouldSetPositionOnLoad, tick, writeCustomDataToNbt
Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addPortalChunkTicketAt, addVelocity, addVelocityInternal, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, animateDamage, applyGravity, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canFreeze, canModifyAt, canMoveVoluntarily, canSprintAsVehicle, canStartRiding, canTeleportBetween, canUsePortals, changeLookDirection, checkBlockCollision, checkDespawn, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, extinguishWithSound, fall, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBodyYaw, 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, getLeashOffset, getLeashOffset, getLeashPos, getLerpedPos, getLerpTargetPitch, getLerpTargetX, getLerpTargetY, getLerpTargetYaw, getLerpTargetZ, getMaxAir, getMinFreezeDamageTicks, getMoveEffect, getMovement, getMovementDirection, getName, getNameForScoreboard, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengerRidingPos, getPassengersDeep, getPermissionLevel, 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, getVisibilityBoundingBox, getWeaponStack, getWidth, getWorld, getWorldSpawnPos, getX, getY, getYaw, getYaw, getZ, handleFallDamage, handleStatus, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPermissionLevel, hasPlayerRider, hasPortalCooldown, hasVehicle, initDataTracker, interact, interactAt, isAlive, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFrozen, isGlowing, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInsideWall, isInsideWaterOrBubbleColumn, isInSneakingPose, isInSwimmingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, 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, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDamaged, onDataTrackerUpdate, onExplodedBy, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, onTrackedDataSet, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, playSwimSound, populateCrashReport, positionInPortal, pushAwayFrom, pushOutOfBlocks, raycast, readNbt, recalculateDimensions, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, remove, removeAllPassengers, removeCommandTag, removeFromDimension, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendMessage, setAir, setAngles, setBodyYaw, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setId, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireForTicks, setOnFireFromLava, setOnGround, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldBroadcastConsoleToOps, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldReceiveFeedback, shouldRender, shouldRender, shouldRenderName, shouldSave, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, startRiding, stopRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleportTo, tickInVoid, tickPortalCooldown, tickPortalTeleportation, tickRiding, toNbtList, toNbtList, toString, tryCheckBlockCollision, tryUsePortal, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, writeNbt
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilenced
Methods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayName
-
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 c
Lciz;c: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 d
Lciz;d:Lji;
-
-
Constructor Details
-
AbstractDecorationEntity
protected 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>
Lbsr;<init>(Lbsx;Ldcw;)V
-
AbstractDecorationEntity
protected 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>
Lciz;<init>(Lbsx;Ldcw;Ljd;)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
Lciz;a(Lji;)V
-
updateAttachmentPosition
protected final void updateAttachmentPosition()- Specified by:
updateAttachmentPosition
in classBlockAttachedEntity
- 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 p
Lcix;p()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
Lciz;a(Ljd;Lji;)Lewx;
-
canStayAttached
public boolean canStayAttached()- Specified by:
canStayAttached
in classBlockAttachedEntity
- 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 s
Lcix;s()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 B
Lciz;B()Lewx;
-
getHorizontalFacing
- Overrides:
getHorizontalFacing
in classEntity
- 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 cH
Lbsr;cH()Lji;
-
onPlace
public 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 C
Lciz;C()V
-
dropStack
Dropsstack
at the entity's position with the given Y offset.- Overrides:
dropStack
in classEntity
- Returns:
- the spawned item entity, or
null
if 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/item/ItemStack;F)Lnet/minecraft/entity/ItemEntity;
intermediary method_5699
Lnet/minecraft/class_1297;method_5699(Lnet/minecraft/class_1799;F)Lnet/minecraft/class_1542;
official a
Lbsr;a(Lcuq;F)Lcjh;
-
applyRotation
Appliesrotation
to the entity's yaw.- Overrides:
applyRotation
in classEntity
- 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
Lbsr;a(Ldmm;)F
-
applyMirror
Appliesmirror
to the entity's yaw.- Overrides:
applyMirror
in classEntity
- 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
Lbsr;a(Ldkv;)F
-