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/AbstractDecorationEntityintermediary net/minecraft/class_1530official ciz
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
FieldsFields inherited from class net.minecraft.entity.decoration.BlockAttachedEntity
attachedBlockPosFields 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, wasOnFireFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMYFields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractDecorationEntity(EntityType<? extends AbstractDecorationEntity> type, World world) protectedAbstractDecorationEntity(EntityType<? extends AbstractDecorationEntity> type, World world, BlockPos pos) -
Method Summary
Modifier and TypeMethodDescriptionfloatapplyMirror(BlockMirror mirror) Appliesmirrorto the entity's yaw.floatapplyRotation(BlockRotation rotation) Appliesrotationto the entity's yaw.protected abstract BoxcalculateBoundingBox(BlockPos pos, Direction side) booleanDropsstackat the entity's position with the given Y offset.protected Boxabstract voidonPlace()protected voidprotected final voidMethods inherited from class net.minecraft.entity.decoration.BlockAttachedEntity
addVelocity, calculateDimensions, canHit, damage, getAttachedBlockPos, handleAttack, move, onBreak, onStruckByLightning, readCustomDataFromNbt, setPosition, shouldSetPositionOnLoad, tick, writeCustomDataToNbtMethods 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, writeNbtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilencedMethods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayName
-
Field Details
-
PREDICATE
- Mappings:
Namespace Name Mixin selector named PREDICATELnet/minecraft/entity/decoration/AbstractDecorationEntity;PREDICATE:Ljava/util/function/Predicate;intermediary field_7098Lnet/minecraft/class_1530;field_7098:Ljava/util/function/Predicate;official cLciz;c:Ljava/util/function/Predicate;
-
facing
- Mappings:
Namespace Name Mixin selector named facingLnet/minecraft/entity/decoration/AbstractDecorationEntity;facing:Lnet/minecraft/util/math/Direction;intermediary field_7099Lnet/minecraft/class_1530;field_7099:Lnet/minecraft/class_2350;official dLciz;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;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vofficial <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;)Vintermediary <init>Lnet/minecraft/class_1530;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Vofficial <init>Lciz;<init>(Lbsx;Ldcw;Ljd;)V
-
-
Method Details
-
setFacing
- Mappings:
Namespace Name Mixin selector named setFacingLnet/minecraft/entity/decoration/AbstractDecorationEntity;setFacing(Lnet/minecraft/util/math/Direction;)Vintermediary method_6892Lnet/minecraft/class_1530;method_6892(Lnet/minecraft/class_2350;)Vofficial aLciz;a(Lji;)V
-
updateAttachmentPosition
protected final void updateAttachmentPosition()- Specified by:
updateAttachmentPositionin classBlockAttachedEntity- Mappings:
Namespace Name Mixin selector named updateAttachmentPositionLnet/minecraft/entity/decoration/BlockAttachedEntity;updateAttachmentPosition()Vintermediary method_6895Lnet/minecraft/class_9691;method_6895()Vofficial pLcix;p()V
-
calculateBoundingBox
- Mappings:
Namespace Name Mixin selector named calculateBoundingBoxLnet/minecraft/entity/decoration/AbstractDecorationEntity;calculateBoundingBox(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/util/math/Box;intermediary method_59943Lnet/minecraft/class_1530;method_59943(Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Lnet/minecraft/class_238;official aLciz;a(Ljd;Lji;)Lewx;
-
canStayAttached
public boolean canStayAttached()- Specified by:
canStayAttachedin classBlockAttachedEntity- Mappings:
Namespace Name Mixin selector named canStayAttachedLnet/minecraft/entity/decoration/BlockAttachedEntity;canStayAttached()Zintermediary method_6888Lnet/minecraft/class_9691;method_6888()Zofficial sLcix;s()Z
-
getAttachmentBox
- Mappings:
Namespace Name Mixin selector named getAttachmentBoxLnet/minecraft/entity/decoration/AbstractDecorationEntity;getAttachmentBox()Lnet/minecraft/util/math/Box;intermediary method_59941Lnet/minecraft/class_1530;method_59941()Lnet/minecraft/class_238;official BLciz;B()Lewx;
-
getHorizontalFacing
- Overrides:
getHorizontalFacingin classEntity- Mappings:
Namespace Name Mixin selector named getHorizontalFacingLnet/minecraft/entity/Entity;getHorizontalFacing()Lnet/minecraft/util/math/Direction;intermediary method_5735Lnet/minecraft/class_1297;method_5735()Lnet/minecraft/class_2350;official cHLbsr;cH()Lji;
-
onPlace
public abstract void onPlace()- Mappings:
Namespace Name Mixin selector named onPlaceLnet/minecraft/entity/decoration/AbstractDecorationEntity;onPlace()Vintermediary method_6894Lnet/minecraft/class_1530;method_6894()Vofficial CLciz;C()V
-
dropStack
Dropsstackat the entity's position with the given Y offset.- Overrides:
dropStackin classEntity- 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 dropStackLnet/minecraft/entity/Entity;dropStack(Lnet/minecraft/item/ItemStack;F)Lnet/minecraft/entity/ItemEntity;intermediary method_5699Lnet/minecraft/class_1297;method_5699(Lnet/minecraft/class_1799;F)Lnet/minecraft/class_1542;official aLbsr;a(Lcuq;F)Lcjh;
-
applyRotation
Appliesrotationto the entity's yaw.- Overrides:
applyRotationin classEntity- Mappings:
Namespace Name Mixin selector named applyRotationLnet/minecraft/entity/Entity;applyRotation(Lnet/minecraft/util/BlockRotation;)Fintermediary method_5832Lnet/minecraft/class_1297;method_5832(Lnet/minecraft/class_2470;)Fofficial aLbsr;a(Ldmm;)F
-
applyMirror
Appliesmirrorto the entity's yaw.- Overrides:
applyMirrorin classEntity- Mappings:
Namespace Name Mixin selector named applyMirrorLnet/minecraft/entity/Entity;applyMirror(Lnet/minecraft/util/BlockMirror;)Fintermediary method_5763Lnet/minecraft/class_1297;method_5763(Lnet/minecraft/class_2415;)Fofficial aLbsr;a(Ldkv;)F
-