Package net.minecraft.entity.decoration
Class ItemFrameEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.decoration.DecorationEntity
net.minecraft.entity.decoration.ItemFrameEntity
- All Implemented Interfaces:
CommandSource
public class ItemFrameEntity extends DecorationEntity
- Mappings:
Namespace Name official uointermediary net/minecraft/class_1883named net/minecraft/entity/decoration/ItemFrameEntity
-
Field Summary
Fields Modifier and Type Field Description private floatsetDropChanceFields inherited from class net.minecraft.entity.decoration.DecorationEntity
direction, posFields inherited from class net.minecraft.entity.Entity
changingDimension, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_7357, field_7362, field_7363, field_7364, field_7365, field_7370, field_7390, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inLava, isFireImmune, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, renderDistanceMultiplier, rider, stepHeight, teleportDirection, teleporting, ticksAlive, touchingWater, trackedX, trackedY, trackedZ, vehicle, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
Constructors Constructor Description ItemFrameEntity(World world)ItemFrameEntity(World world, BlockPos blockPos, Direction direction) -
Method Summary
Modifier and Type Method Description booleandamage(DamageSource source, float amount)voiddeserialize(CompoundTag tag)intgetHeight()intgetWidth()protected voidinitDataTracker()floatmethod_6984()voidmethod_7725(Entity entity)voidmethod_7731(int int2)voidmethod_7733(Entity entity, boolean bool)voidmethod_7734(ItemStack itemStack)private voidmethod_7736(ItemStack itemStack)ItemStackmethod_7737()intmethod_7739()booleanopenInventory(PlayerEntity player)introtation()voidserialize(CompoundTag tag)private voidsetRotation(int int2, boolean bool)private voidsetStack(ItemStack itemStack, boolean bool)booleanshouldRender(double distance)Methods inherited from class net.minecraft.entity.decoration.DecorationEntity
addVelocity, collides, getHorizontalDirection, getTilePos, handleAttack, isPosValid, move, setDirection, shouldSetPositionOnLoad, tick, updatePositionMethods inherited from class net.minecraft.entity.Entity
afterSpawn, animateDamage, attemptSprintingParticles, baseTick, burn, canAvoidTraps, canClimb, canFly, canUseCommand, checkBlockCollision, copyPortalInfo, copyPosition, destroy, doesNotCollide, doesRenderOnFire, equals, equip, extinguish, fall, fromClientTag, fromTag, getAir, getArmorStacks, getBlastResistance, getBlockPos, getBoundingBox, getBox, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getDistanceTo, getEntity, getEntityId, getEyeHeight, getFlag, getHardCollisionBox, getHeadRotation, getHeightOffset, getHoverEvent, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getMaxNetherPortalTime, getMountedHeightOffset, getName, getPos, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getSplashSound, getSwimSound, 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, isTouchingWater, kill, method_6912, method_6924, method_6926, method_6939, method_6940, method_6943, method_6944, method_6945, method_6948, method_6949, method_6968, method_6971, method_6977, method_6981, method_6985, method_6994, method_6998, method_7008, method_7020, method_7049, method_7051, method_7058, onLightningStrike, onPlayerCollision, onSwimmingStart, playSound, playStepSound, populateCrashReport, pushAwayFrom, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, saveSelfToTag, scheduleVelocityUpdate, sendCommandFeedback, sendMessage, setAir, setArmorSlot, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setHeadYaw, setInNetherPortal, setInvisible, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRotation, setSilent, setSneaking, setSprinting, setStat, setSwimming, setVelocityClient, setWorld, setYaw, shouldRender, shouldRenderName, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, squaredDistanceToEntity, startRiding, teleportToDimension, tickFire, tickRiding, toListTag, toListTag, toString, updateKilledAdvancementCriterion, updatePositionAndAngles, updateTrackedPositionAndAngles, writePlayerData
-
Field Details
-
setDropChance
private float setDropChance- Mappings:
Namespace Name Mixin selector official cLuo;c:Fintermediary field_8046Lnet/minecraft/class_1883;field_8046:Fnamed setDropChanceLnet/minecraft/entity/decoration/ItemFrameEntity;setDropChance:F
-
-
Constructor Details
-
ItemFrameEntity
- Mappings:
Namespace Name Mixin selector official <init>Lpk;<init>(Ladm;)Vintermediary <init>Lnet/minecraft/class_1745;<init>(Lnet/minecraft/class_99;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
ItemFrameEntity
-
-
Method Details
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classDecorationEntity- Mappings:
Namespace Name Mixin selector official hLpk;h()Vintermediary method_7043Lnet/minecraft/class_1745;method_7043()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
method_6984
public float method_6984()- Overrides:
method_6984in classEntity- Mappings:
Namespace Name Mixin selector official aoLpk;ao()Fintermediary method_6984Lnet/minecraft/class_1745;method_6984()Fnamed method_6984Lnet/minecraft/entity/Entity;method_6984()F
-
damage
- Overrides:
damagein classDecorationEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(Low;F)Zintermediary method_6937Lnet/minecraft/class_1745;method_6937(Lnet/minecraft/class_1733;F)Znamed damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
getWidth
public int getWidth()- Specified by:
getWidthin classDecorationEntity- Mappings:
Namespace Name Mixin selector official lLun;l()Iintermediary method_7727Lnet/minecraft/class_1882;method_7727()Inamed getWidthLnet/minecraft/entity/decoration/DecorationEntity;getWidth()I
-
getHeight
public int getHeight()- Specified by:
getHeightin classDecorationEntity- Mappings:
Namespace Name Mixin selector official mLun;m()Iintermediary method_7728Lnet/minecraft/class_1882;method_7728()Inamed getHeightLnet/minecraft/entity/decoration/DecorationEntity;getHeight()I
-
shouldRender
- Overrides:
shouldRenderin classEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(D)Zintermediary method_6917Lnet/minecraft/class_1745;method_6917(D)Znamed shouldRenderLnet/minecraft/entity/Entity;shouldRender(D)Z
-
method_7725
- Specified by:
method_7725in classDecorationEntity- Mappings:
Namespace Name Mixin selector official bLun;b(Lpk;)Vintermediary method_7725Lnet/minecraft/class_1882;method_7725(Lnet/minecraft/class_1745;)Vnamed method_7725Lnet/minecraft/entity/decoration/DecorationEntity;method_7725(Lnet/minecraft/entity/Entity;)V
-
method_7733
- Mappings:
Namespace Name Mixin selector official aLuo;a(Lpk;Z)Vintermediary method_7733Lnet/minecraft/class_1883;method_7733(Lnet/minecraft/class_1745;Z)Vnamed method_7733Lnet/minecraft/entity/decoration/ItemFrameEntity;method_7733(Lnet/minecraft/entity/Entity;Z)V
-
method_7736
- Mappings:
Namespace Name Mixin selector official bLuo;b(Lzx;)Vintermediary method_7736Lnet/minecraft/class_1883;method_7736(Lnet/minecraft/class_2056;)Vnamed method_7736Lnet/minecraft/entity/decoration/ItemFrameEntity;method_7736(Lnet/minecraft/item/ItemStack;)V
-
method_7737
- Mappings:
Namespace Name Mixin selector official oLuo;o()Lzx;intermediary method_7737Lnet/minecraft/class_1883;method_7737()Lnet/minecraft/class_2056;named method_7737Lnet/minecraft/entity/decoration/ItemFrameEntity;method_7737()Lnet/minecraft/item/ItemStack;
-
method_7734
- Mappings:
Namespace Name Mixin selector official aLuo;a(Lzx;)Vintermediary method_7734Lnet/minecraft/class_1883;method_7734(Lnet/minecraft/class_2056;)Vnamed method_7734Lnet/minecraft/entity/decoration/ItemFrameEntity;method_7734(Lnet/minecraft/item/ItemStack;)V
-
setStack
- Mappings:
Namespace Name Mixin selector official aLuo;a(Lzx;Z)Vintermediary method_7735Lnet/minecraft/class_1883;method_7735(Lnet/minecraft/class_2056;Z)Vnamed setStackLnet/minecraft/entity/decoration/ItemFrameEntity;setStack(Lnet/minecraft/item/ItemStack;Z)V
-
rotation
public int rotation()- Mappings:
Namespace Name Mixin selector official pLuo;p()Iintermediary method_7738Lnet/minecraft/class_1883;method_7738()Inamed rotationLnet/minecraft/entity/decoration/ItemFrameEntity;rotation()I
-
method_7731
public void method_7731(int int2)- Mappings:
Namespace Name Mixin selector official aLuo;a(I)Vintermediary method_7731Lnet/minecraft/class_1883;method_7731(I)Vnamed method_7731Lnet/minecraft/entity/decoration/ItemFrameEntity;method_7731(I)V
-
setRotation
private void setRotation(int int2, boolean bool)- Mappings:
Namespace Name Mixin selector official aLuo;a(IZ)Vintermediary method_7732Lnet/minecraft/class_1883;method_7732(IZ)Vnamed setRotationLnet/minecraft/entity/decoration/ItemFrameEntity;setRotation(IZ)V
-
serialize
- Overrides:
serializein classDecorationEntity- Mappings:
Namespace Name Mixin selector official bLpk;b(Ldn;)Vintermediary method_7003Lnet/minecraft/class_1745;method_7003(Lnet/minecraft/class_1405;)Vnamed serializeLnet/minecraft/entity/Entity;serialize(Lnet/minecraft/nbt/CompoundTag;)V
-
deserialize
- Overrides:
deserializein classDecorationEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(Ldn;)Vintermediary method_6933Lnet/minecraft/class_1745;method_6933(Lnet/minecraft/class_1405;)Vnamed deserializeLnet/minecraft/entity/Entity;deserialize(Lnet/minecraft/nbt/CompoundTag;)V
-
openInventory
- Overrides:
openInventoryin classEntity- Mappings:
Namespace Name Mixin selector official eLpk;e(Lwn;)Zintermediary method_7028Lnet/minecraft/class_1745;method_7028(Lnet/minecraft/class_1963;)Znamed openInventoryLnet/minecraft/entity/Entity;openInventory(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
method_7739
public int method_7739()- Mappings:
Namespace Name Mixin selector official qLuo;q()Iintermediary method_7739Lnet/minecraft/class_1883;method_7739()Inamed method_7739Lnet/minecraft/entity/decoration/ItemFrameEntity;method_7739()I
-