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 adjintermediary 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_22434, field_3223, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, renderDistanceMultiplier, rider, stepHeight, teleporting, ticksAlive, touchingWater, trackedX, trackedY, trackedZ, updateNeeded, vehicle, 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) 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 voidvoidprotected voidsetDirection(Direction direction) protected booleanvoidtick()private voidvoidupdatePosition(double x, double y, double z) voidMethods inherited from class net.minecraft.entity.Entity
afterSpawn, animateDamage, attemptSprintingParticles, baseTick, burn, canAvoidTraps, canClimb, canExplosionDestroyBlock, canFly, canUseCommand, checkBlockCollision, copyPortalInfo, copyPosition, dealDamage, destroy, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, equals, equip, extinguish, fall, fromClientNbt, fromNbt, getAir, getArmorStacks, getBlastResistance, getBlockPos, getBoundingBox, getBox, getBrightnessAtEyes, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getEyeHeight, getFlag, getHardCollisionBox, getHeadRotation, getHeightOffset, getHoverEvent, getLightmapCoordinates, getMaxNetherPortalTime, getMountedHeightOffset, getParts, getPos, getRotation, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getSplashSound, getSwimSound, getTargetingMargin, getTranslationKey, getUuid, getWorld, handleFallDamage, handleStatus, hasCustomName, hashCode, hasVehicle, increaseTransforms, interactAt, isAlive, isAttackable, isCustomNameVisible, isFireImmune, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isPushable, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isSwimming, isTouchingLava, isTouchingWater, kill, method_10786, method_10941, method_10948, method_10957, method_10965, method_6097, method_6344, method_8364, onKilledOther, onLightningStrike, onPlayerCollision, onSwimmingStart, openInventory, playSound, playStepSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, saveSelfToNbt, saveToNbt, scheduleVelocityUpdate, sendCommandFeedback, sendMessage, setAir, setArmorSlot, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setHeadYaw, setInLava, setInvisible, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRotation, setSilent, setSneaking, setSprinting, setSwimming, setVelocityClient, setWorld, shouldRender, shouldRender, shouldRenderName, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, startRiding, teleportToDimension, tickFire, tickRiding, toListNbt, toListNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePositionAndAngles, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, writePlayerData
-
Field Details
-
obstructionCheckCounter
private int obstructionCheckCounter- Mappings:
Namespace Name Mixin selector official cLadj;c:Iintermediary field_5332Lnet/minecraft/class_1396;field_5332:Inamed obstructionCheckCounterLnet/minecraft/entity/decoration/AbstractDecorationEntity;obstructionCheckCounter:I
-
pos
- Mappings:
Namespace Name Mixin selector official aLadj;a:Ldt;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 bLadj;b:Lej;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>Lwv;<init>(Laqu;)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>Ladj;<init>(Laqu;Ldt;)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 hLwv;h()Vintermediary method_2484Lnet/minecraft/class_864;method_2484()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
setDirection
- Mappings:
Namespace Name Mixin selector official aLadj;a(Lej;)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
private void updateAttachmentPosition()- Mappings:
Namespace Name Mixin selector official oLadj;o()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 aLadj;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 jLadj;j()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 lLwv;l(Lwv;)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 aOLwv;aO()Lej;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 gLwv;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 bLwv;b(Lfn;)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 aLwv;a(Lfn;)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 lLadj;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 mLadj;m()Iintermediary method_4463Lnet/minecraft/class_1396;method_4463()Inamed getHeightLnet/minecraft/entity/decoration/AbstractDecorationEntity;getHeight()I
-
onBreak
- Mappings:
Namespace Name Mixin selector official bLadj;b(Lwv;)Vintermediary method_6101Lnet/minecraft/class_1396;method_6101(Lnet/minecraft/class_864;)Vnamed onBreakLnet/minecraft/entity/decoration/AbstractDecorationEntity;onBreak(Lnet/minecraft/entity/Entity;)V
-
shouldSetPositionOnLoad
protected boolean shouldSetPositionOnLoad()- Overrides:
shouldSetPositionOnLoadin classEntity- Mappings:
Namespace Name Mixin selector official afLwv;af()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 bLwv;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 nLadj;n()Ldt;intermediary method_11148Lnet/minecraft/class_1396;method_11148()Lnet/minecraft/class_2552;named getTilePosLnet/minecraft/entity/decoration/AbstractDecorationEntity;getTilePos()Lnet/minecraft/util/math/BlockPos;
-