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 xyintermediary 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, FLAGS, 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, getRotationClient, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getSoundCategory, getTargetingMargin, getTranslationKey, getUuid, getVehicle, getVisibilityBoundingBox, getWorld, handleFallDamage, handleStatus, hasCustomName, hashCode, hasMount, hasNoGravity, 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_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, setNoGravity, 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 cLxy;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 dLxy;d:Iintermediary field_5332Lnet/minecraft/class_1396;field_5332:Inamed obstructionCheckCounterLnet/minecraft/entity/decoration/AbstractDecorationEntity;obstructionCheckCounter:I
-
pos
- Mappings:
Namespace Name Mixin selector official aLxy;a:Lcm;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 bLxy;b:Lct;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>Lrw;<init>(Laid;)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>Lxy;<init>(Laid;Lcm;)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 iLrw;i()Vintermediary method_2484Lnet/minecraft/class_864;method_2484()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
setDirection
- Mappings:
Namespace Name Mixin selector official aLxy;a(Lct;)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 jLxy;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 aLxy;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 kLxy;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 tLrw;t(Lrw;)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 blLrw;bl()Lct;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 gLrw;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 bLrw;b(Ldr;)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 aLrw;a(Ldr;)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 lLxy;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 nLxy;n()Iintermediary method_4463Lnet/minecraft/class_1396;method_4463()Inamed getHeightLnet/minecraft/entity/decoration/AbstractDecorationEntity;getHeight()I
-
onBreak
- Mappings:
Namespace Name Mixin selector official aLxy;a(Lrw;)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 oLxy;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 aLrw;a(Ladz;F)Lyk;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 asLrw;as()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 bLrw;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 qLxy;q()Lcm;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 aLrw;a(Laos;)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 aLrw;a(Lanf;)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 aLrw;a(Lyh;)Vintermediary method_2502Lnet/minecraft/class_864;method_2502(Lnet/minecraft/class_961;)Vnamed onLightningStrikeLnet/minecraft/entity/Entity;onLightningStrike(Lnet/minecraft/entity/LightningBoltEntity;)V
-