Package net.minecraft.entity.decoration
Class AbstractDecorationEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.decoration.AbstractDecorationEntity
- All Implemented Interfaces:
CommandSource
- Direct Known Subclasses:
ItemFrameEntity,LeashKnotEntity,PaintingEntity
- Mappings:
Namespace Name official xrintermediary net/minecraft/class_1396named net/minecraft/entity/decoration/AbstractDecorationEntity
-
Field Summary
FieldsFields inherited from class net.minecraft.entity.Entity
changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_3223, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, isGlowing, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, ridingCooldown, stepHeight, teleportDirection, teleporting, ticksAlive, touchingWater, tracedX, tracedY, tracedZ, updateNeeded, uuidString, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
ConstructorsConstructorDescriptionAbstractDecorationEntity(World world) AbstractDecorationEntity(World world, BlockPos pos) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddVelocity(double x, double y, double z) floatapplyMirror(BlockMirror mirror) floatapplyRotation(BlockRotation rotation) booleancollides()booleandamage(DamageSource source, float amount) abstract intabstract intgetWidth()booleanhandleAttack(Entity attacker) protected voidbooleanprivate doublemethod_11146(int int2) voidmove(double velocityX, double velocityY, double velocityZ) abstract voidvoidonLightningStrike(LightningBoltEntity lightning) abstract voidonPlace()voidprotected voidsetDirection(Direction direction) protected booleanvoidtick()protected voidvoidupdatePosition(double x, double y, double z) voidMethods inherited from class net.minecraft.entity.Entity
addPassenger, addScoreboardTag, afterSpawn, animateDamage, attemptSprintingParticles, baseTick, burn, canAddPassenger, canAvoidTraps, canClimb, canExplosionDestroyBlock, canFly, canStartRiding, canUseCommand, canUsePortals, changeDimension, checkBlockCollision, copyPosition, dealDamage, destroy, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, entityDataRequiresOperator, equals, equip, equipStack, extinguish, fall, fromNbt, getAir, getArmorItems, getBlastResistance, getBlockPos, getBoundingBox, getBox, getBrightnessAtEyes, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getEntityName, getEyeHeight, getFlag, getHardCollisionBox, getHeadRotation, getHeightOffset, getHoverEvent, getItemsEquipped, getItemsHand, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getLightmapCoordinates, getMaxNetherPortalTime, getMinecraftServer, getMountedHeightOffset, getMovementDirection, getParts, getPassengerList, getPassengersDeep, getPassengersDeep, getPistonBehavior, getPos, getPrimaryPassenger, getRenderDistanceMultiplier, getRootVehicle, getRotation, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getSoundCategory, getTargetingMargin, getTranslationKey, getUuid, getVehicle, getVisibilityBoundingBox, getWorld, handleFallDamage, handleStatus, hasCustomName, hashCode, hasMount, hasPassenger, hasPassengerDeep, hasPassengers, increaseTransforms, isAlive, isAttackable, isConnectedThroughVehicle, isCustomNameVisible, isFireImmune, isGlowing, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isPushable, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isTeammate, isTeamPlayer, isTouchingLava, isTouchingWater, kill, method_10965, method_12976, method_12984, method_12985, method_12991, method_13003, method_6097, method_6100, method_6344, onKilledOther, onPassengerLookAround, onPlayerCollision, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, onTrackedDataSet, playSound, playStepSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, ride, saveSelfToNbt, saveToNbt, scheduleVelocityUpdate, sendCommandFeedback, sendMessage, setAir, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setGlowing, setHeadYaw, setInLava, setInNetherPortal, setInvisible, setInvulnerable, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setStat, setUuid, setVelocityClient, setWorld, setYaw, shouldRender, shouldRender, shouldRenderName, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, startRiding, stopRiding, teleportRequested, tickFire, tickNetherPortalCooldown, tickRiding, toListNbt, toListNbt, toNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePositionAndAngles, updateSubmergedInWaterState, updateTrackedPositionAndAngles, updateVelocity, updateWaterState
-
Field Details
-
IS_DECORATION
- Mappings:
Namespace Name Mixin selector official cLxr;c:Lcom/google/common/base/Predicate;intermediary field_14735Lnet/minecraft/class_1396;field_14735:Lcom/google/common/base/Predicate;named IS_DECORATIONLnet/minecraft/entity/decoration/AbstractDecorationEntity;IS_DECORATION:Lcom/google/common/base/Predicate;
-
obstructionCheckCounter
private int obstructionCheckCounter- Mappings:
Namespace Name Mixin selector official dLxr;d:Iintermediary field_5332Lnet/minecraft/class_1396;field_5332:Inamed obstructionCheckCounterLnet/minecraft/entity/decoration/AbstractDecorationEntity;obstructionCheckCounter:I
-
pos
- Mappings:
Namespace Name Mixin selector official aLxr;a:Lcl;intermediary field_12033Lnet/minecraft/class_1396;field_12033:Lnet/minecraft/class_2552;named posLnet/minecraft/entity/decoration/AbstractDecorationEntity;pos:Lnet/minecraft/util/math/BlockPos;
-
direction
- Mappings:
Namespace Name Mixin selector official bLxr;b:Lcs;intermediary field_12034Lnet/minecraft/class_1396;field_12034:Lnet/minecraft/class_1354;named directionLnet/minecraft/entity/decoration/AbstractDecorationEntity;direction:Lnet/minecraft/util/math/Direction;
-
-
Constructor Details
-
AbstractDecorationEntity
- Mappings:
Namespace Name Mixin selector official <init>Lrr;<init>(Laht;)Vintermediary <init>Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
AbstractDecorationEntity
- Mappings:
Namespace Name Mixin selector official <init>Lxr;<init>(Laht;Lcl;)Vintermediary <init>Lnet/minecraft/class_1396;<init>(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Vnamed <init>Lnet/minecraft/entity/decoration/AbstractDecorationEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
-
-
Method Details
-
initDataTracker
protected void initDataTracker()- Specified by:
initDataTrackerin classEntity- Mappings:
Namespace Name Mixin selector official iLrr;i()Vintermediary method_2484Lnet/minecraft/class_864;method_2484()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
setDirection
- Mappings:
Namespace Name Mixin selector official aLxr;a(Lcs;)Vintermediary method_11147Lnet/minecraft/class_1396;method_11147(Lnet/minecraft/class_1354;)Vnamed setDirectionLnet/minecraft/entity/decoration/AbstractDecorationEntity;setDirection(Lnet/minecraft/util/math/Direction;)V
-
updateAttachmentPosition
protected void updateAttachmentPosition()- Mappings:
Namespace Name Mixin selector official jLxr;j()Vintermediary method_11149Lnet/minecraft/class_1396;method_11149()Vnamed updateAttachmentPositionLnet/minecraft/entity/decoration/AbstractDecorationEntity;updateAttachmentPosition()V
-
method_11146
private double method_11146(int int2) - Mappings:
Namespace Name Mixin selector official aLxr;a(I)Dintermediary method_11146Lnet/minecraft/class_1396;method_11146(I)Dnamed method_11146Lnet/minecraft/entity/decoration/AbstractDecorationEntity;method_11146(I)D
-
tick
public void tick() -
isPosValid
public boolean isPosValid()- Mappings:
Namespace Name Mixin selector official kLxr;k()Zintermediary method_4461Lnet/minecraft/class_1396;method_4461()Znamed isPosValidLnet/minecraft/entity/decoration/AbstractDecorationEntity;isPosValid()Z
-
collides
public boolean collides() -
handleAttack
- Overrides:
handleAttackin classEntity- Mappings:
Namespace Name Mixin selector official tLrr;t(Lrr;)Zintermediary method_4453Lnet/minecraft/class_864;method_4453(Lnet/minecraft/class_864;)Znamed handleAttackLnet/minecraft/entity/Entity;handleAttack(Lnet/minecraft/entity/Entity;)Z
-
getHorizontalDirection
- Overrides:
getHorizontalDirectionin classEntity- Mappings:
Namespace Name Mixin selector official bjLrr;bj()Lcs;intermediary method_10943Lnet/minecraft/class_864;method_10943()Lnet/minecraft/class_1354;named getHorizontalDirectionLnet/minecraft/entity/Entity;getHorizontalDirection()Lnet/minecraft/util/math/Direction;
-
damage
-
move
public void move(double velocityX, double velocityY, double velocityZ) -
addVelocity
public void addVelocity(double x, double y, double z) - Overrides:
addVelocityin classEntity- Mappings:
Namespace Name Mixin selector official gLrr;g(DDD)Vintermediary method_2553Lnet/minecraft/class_864;method_2553(DDD)Vnamed addVelocityLnet/minecraft/entity/Entity;addVelocity(DDD)V
-
writeCustomDataToNbt
- Specified by:
writeCustomDataToNbtin classEntity- Mappings:
Namespace Name Mixin selector official bLrr;b(Ldq;)Vintermediary method_2528Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Specified by:
readCustomDataFromNbtin classEntity- Mappings:
Namespace Name Mixin selector official aLrr;a(Ldq;)Vintermediary method_2498Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
getWidth
public abstract int getWidth()- Mappings:
Namespace Name Mixin selector official lLxr;l()Iintermediary method_4462Lnet/minecraft/class_1396;method_4462()Inamed getWidthLnet/minecraft/entity/decoration/AbstractDecorationEntity;getWidth()I
-
getHeight
public abstract int getHeight()- Mappings:
Namespace Name Mixin selector official nLxr;n()Iintermediary method_4463Lnet/minecraft/class_1396;method_4463()Inamed getHeightLnet/minecraft/entity/decoration/AbstractDecorationEntity;getHeight()I
-
onBreak
- Mappings:
Namespace Name Mixin selector official aLxr;a(Lrr;)Vintermediary method_6101Lnet/minecraft/class_1396;method_6101(Lnet/minecraft/class_864;)Vnamed onBreakLnet/minecraft/entity/decoration/AbstractDecorationEntity;onBreak(Lnet/minecraft/entity/Entity;)V
-
onPlace
public abstract void onPlace()- Mappings:
Namespace Name Mixin selector official oLxr;o()Vintermediary method_13209Lnet/minecraft/class_1396;method_13209()Vnamed onPlaceLnet/minecraft/entity/decoration/AbstractDecorationEntity;onPlace()V
-
dropItem
- Overrides:
dropItemin classEntity- Mappings:
Namespace Name Mixin selector official aLrr;a(Ladq;F)Lyd;intermediary method_2503Lnet/minecraft/class_864;method_2503(Lnet/minecraft/class_1071;F)Lnet/minecraft/class_964;named dropItemLnet/minecraft/entity/Entity;dropItem(Lnet/minecraft/item/ItemStack;F)Lnet/minecraft/entity/ItemEntity;
-
shouldSetPositionOnLoad
protected boolean shouldSetPositionOnLoad()- Overrides:
shouldSetPositionOnLoadin classEntity- Mappings:
Namespace Name Mixin selector official arLrr;ar()Zintermediary method_6096Lnet/minecraft/class_864;method_6096()Znamed shouldSetPositionOnLoadLnet/minecraft/entity/Entity;shouldSetPositionOnLoad()Z
-
updatePosition
public void updatePosition(double x, double y, double z) - Overrides:
updatePositionin classEntity- Mappings:
Namespace Name Mixin selector official bLrr;b(DDD)Vintermediary method_2522Lnet/minecraft/class_864;method_2522(DDD)Vnamed updatePositionLnet/minecraft/entity/Entity;updatePosition(DDD)V
-
getTilePos
- Mappings:
Namespace Name Mixin selector official qLxr;q()Lcl;intermediary method_11148Lnet/minecraft/class_1396;method_11148()Lnet/minecraft/class_2552;named getTilePosLnet/minecraft/entity/decoration/AbstractDecorationEntity;getTilePos()Lnet/minecraft/util/math/BlockPos;
-
applyRotation
- Overrides:
applyRotationin classEntity- Mappings:
Namespace Name Mixin selector official aLrr;a(Laoe;)Fintermediary method_12969Lnet/minecraft/class_864;method_12969(Lnet/minecraft/class_2734;)Fnamed applyRotationLnet/minecraft/entity/Entity;applyRotation(Lnet/minecraft/util/BlockRotation;)F
-
applyMirror
- Overrides:
applyMirrorin classEntity- Mappings:
Namespace Name Mixin selector official aLrr;a(Lamr;)Fintermediary method_12968Lnet/minecraft/class_864;method_12968(Lnet/minecraft/class_2727;)Fnamed applyMirrorLnet/minecraft/entity/Entity;applyMirror(Lnet/minecraft/util/BlockMirror;)F
-
onLightningStrike
- Overrides:
onLightningStrikein classEntity- Mappings:
Namespace Name Mixin selector official aLrr;a(Lya;)Vintermediary method_2502Lnet/minecraft/class_864;method_2502(Lnet/minecraft/class_961;)Vnamed onLightningStrikeLnet/minecraft/entity/Entity;onLightningStrike(Lnet/minecraft/entity/LightningBoltEntity;)V
-