Package net.minecraft.entity.decoration
Class ItemFrameEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.decoration.AbstractDecorationEntity
net.minecraft.entity.decoration.ItemFrameEntity
- All Implemented Interfaces:
class_3893,Nameable
- Mappings:
Namespace Name official ambintermediary net/minecraft/class_1397named net/minecraft/entity/decoration/ItemFrameEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Loggerprivate static final TrackedData<ItemStack>private static final TrackedData<Integer>private floatFields inherited from class net.minecraft.entity.decoration.AbstractDecorationEntity
direction, field_16989, posFields inherited from class net.minecraft.entity.Entity
changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, distanceTraveled, fallDistance, field_16693, field_16694, field_16696, field_3223, firstUpdate, FLAGS, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, isGlowing, lastPortalBlockPos, lastPortalVec3d, LOGGER_, 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
ConstructorsConstructorDescriptionItemFrameEntity(World world) ItemFrameEntity(World world, BlockPos pos, Direction facing) -
Method Summary
Modifier and TypeMethodDescriptionbooleandamage(DamageSource source, float amount) voiddropHeldStack(Entity entity, boolean alwaysDrop) intfloatintfloatintgetWidth()protected voidbooleaninteract(PlayerEntity player, Hand hand) booleanvoidvoidonPlace()voidonTrackedDataSet(TrackedData<?> data) voidprivate voidremoveFromFrame(ItemStack map) introtation()protected voidsetDirection(Direction direction) voidsetHeldItemStack(ItemStack stack) private voidsetHeldItemStack(ItemStack stack, boolean update) voidsetRotation(int value) private voidsetRotation(int value, boolean update) booleanshouldRender(double distance) protected voidvoidMethods inherited from class net.minecraft.entity.decoration.AbstractDecorationEntity
addVelocity, applyMirror, applyRotation, collides, dropItem, getHorizontalDirection, getTilePos, handleAttack, move, onLightningStrike, shouldSetPositionOnLoad, tick, updatePositionMethods inherited from class net.minecraft.entity.Entity
addPassenger, addScoreboardTag, afterSpawn, animateDamage, attemptSprintingParticles, baseTick, burn, canAddPassenger, canAvoidTraps, canClimb, canFly, canStartRiding, canUsePortals, checkBlockCollision, copyPortalInfo, copyPosition, dealDamage, destroy, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, entityDataRequiresOperator, equals, equip, equipStack, extinguish, fall, fromNbt, getAir, getArmorItems, getBoundingBox, getBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getDataTracker, getDefaultNetherPortalCooldown, getEntityId, getEntityName, getFlag, getHardCollisionBox, getHeadRotation, getHeightOffset, getHoverEvent, getItemsEquipped, getItemsHand, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getLightmapCoordinates, getMaxNetherPortalTime, getMountedHeightOffset, getMovementDirection, getParts, getPassengerList, getPassengersDeep, getPistonBehavior, getPrimaryPassenger, getRenderDistanceMultiplier, getRootVehicle, getRotation, getRotationClient, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getSoundCategory, getUuid, getVehicle, getVisibilityBoundingBox, handleFallDamage, handleStatus, hasCustomName, hashCode, hasMount, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, interactAt, isAlive, isAttackable, isConnectedThroughVehicle, isCustomNameVisible, isFireImmune, isGlowing, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isPushable, isSilent, isSneaking, isSpectatedBy, isSprinting, isTeammate, isTeamPlayer, isTouchingLava, isTouchingWater, kill, method_10787, method_10931, method_10932, method_10933, method_10936, method_12265, method_12833, method_12984, method_12985, method_12991, method_13003, method_15051, method_15055, method_15540, method_15541, method_15557, method_15558, method_15559, method_15560, method_15561, method_15562, method_15563, method_15564, method_15566, method_15567, method_15569, method_15570, method_15571, method_15572, method_15573, method_15574, method_15575, method_15576, method_15577, method_15578, method_15580, method_15581, method_15582, method_15583, method_15584, method_15585, method_15586, method_15588, method_15589, method_15590, method_15591, method_15592, method_15593, method_15594, method_17412, method_17413, method_17414, method_2492, method_4086, method_5505, method_5506, method_6344, onBlockCollision, onKilledOther, onPassengerLookAround, onPlayerCollision, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, playSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, ride, saveSelfToNbt, saveToNbt, scheduleVelocityUpdate, setAir, setBoundingBox, setBounds, setCustomNameVisible, setEntityId, setFlag, setGlowing, setHeadYaw, setInLava, setInNetherPortal, setInvisible, setInvulnerable, setNoGravity, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setUuid, setVelocityClient, setWorld, setYaw, shouldRender, shouldRenderName, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, startRiding, stopRiding, teleportRequested, tickFire, tickNetherPortalCooldown, tickRiding, toListNbt, toListNbt, toNbt, toString, updateKilledAchievement, updatePassengerPosition, updatePositionAndAngles, updateSubmergedInWaterState, updateTrackedPositionAndAngles, updateWaterState
-
Field Details
-
field_16991
- Mappings:
Namespace Name Mixin selector official dLamb;d:Lorg/apache/logging/log4j/Logger;intermediary field_16991Lnet/minecraft/class_1397;field_16991:Lorg/apache/logging/log4j/Logger;named field_16991Lnet/minecraft/entity/decoration/ItemFrameEntity;field_16991:Lorg/apache/logging/log4j/Logger;
-
ITEM_STACK
- Mappings:
Namespace Name Mixin selector official eLamb;e:Lor;intermediary field_14737Lnet/minecraft/class_1397;field_14737:Lnet/minecraft/class_2921;named ITEM_STACKLnet/minecraft/entity/decoration/ItemFrameEntity;ITEM_STACK:Lnet/minecraft/entity/data/TrackedData;
-
ROTATION
- Mappings:
Namespace Name Mixin selector official fLamb;f:Lor;intermediary field_14738Lnet/minecraft/class_1397;field_14738:Lnet/minecraft/class_2921;named ROTATIONLnet/minecraft/entity/decoration/ItemFrameEntity;ROTATION:Lnet/minecraft/entity/data/TrackedData;
-
setDropChance
private float setDropChance- Mappings:
Namespace Name Mixin selector official gLamb;g:Fintermediary field_5333Lnet/minecraft/class_1397;field_5333:Fnamed setDropChanceLnet/minecraft/entity/decoration/ItemFrameEntity;setDropChance:F
-
-
Constructor Details
-
ItemFrameEntity
- Mappings:
Namespace Name Mixin selector official <init>Laer;<init>(Laxy;)Vintermediary <init>Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
ItemFrameEntity
- Mappings:
Namespace Name Mixin selector official <init>Lamb;<init>(Laxy;Lel;Leq;)Vintermediary <init>Lnet/minecraft/class_1397;<init>(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Vnamed <init>Lnet/minecraft/entity/decoration/ItemFrameEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)V
-
-
Method Details
-
getEyeHeight
public float getEyeHeight()- Overrides:
getEyeHeightin classEntity- Mappings:
Namespace Name Mixin selector official bFLaer;bF()Fintermediary method_2544Lnet/minecraft/class_864;method_2544()Fnamed getEyeHeightLnet/minecraft/entity/Entity;getEyeHeight()F
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classAbstractDecorationEntity- Mappings:
Namespace Name Mixin selector official x_Laer;x_()Vintermediary method_2484Lnet/minecraft/class_864;method_2484()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
setDirection
- Overrides:
setDirectionin classAbstractDecorationEntity- Mappings:
Namespace Name Mixin selector official aLama;a(Leq;)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()- Overrides:
updateAttachmentPositionin classAbstractDecorationEntity- Mappings:
Namespace Name Mixin selector official fLama;f()Vintermediary method_11149Lnet/minecraft/class_1396;method_11149()Vnamed updateAttachmentPositionLnet/minecraft/entity/decoration/AbstractDecorationEntity;updateAttachmentPosition()V
-
isPosValid
public boolean isPosValid()- Overrides:
isPosValidin classAbstractDecorationEntity- Mappings:
Namespace Name Mixin selector official iLama;i()Zintermediary method_4461Lnet/minecraft/class_1396;method_4461()Znamed isPosValidLnet/minecraft/entity/decoration/AbstractDecorationEntity;isPosValid()Z
-
getTargetingMargin
public float getTargetingMargin()- Overrides:
getTargetingMarginin classEntity- Mappings:
Namespace Name Mixin selector official aMLaer;aM()Fintermediary method_2482Lnet/minecraft/class_864;method_2482()Fnamed getTargetingMarginLnet/minecraft/entity/Entity;getTargetingMargin()F
-
damage
- Overrides:
damagein classAbstractDecorationEntity- Mappings:
Namespace Name Mixin selector official aLaer;a(Laea;F)Zintermediary method_2499Lnet/minecraft/class_864;method_2499(Lnet/minecraft/class_856;F)Znamed damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
getWidth
public int getWidth()- Specified by:
getWidthin classAbstractDecorationEntity- Mappings:
Namespace Name Mixin selector official kLama;k()Iintermediary method_4462Lnet/minecraft/class_1396;method_4462()Inamed getWidthLnet/minecraft/entity/decoration/AbstractDecorationEntity;getWidth()I
-
getHeight
public int getHeight()- Specified by:
getHeightin classAbstractDecorationEntity- Mappings:
Namespace Name Mixin selector official lLama;l()Iintermediary method_4463Lnet/minecraft/class_1396;method_4463()Inamed getHeightLnet/minecraft/entity/decoration/AbstractDecorationEntity;getHeight()I
-
shouldRender
- Overrides:
shouldRenderin classEntity- Mappings:
Namespace Name Mixin selector official aLaer;a(D)Zintermediary method_2486Lnet/minecraft/class_864;method_2486(D)Znamed shouldRenderLnet/minecraft/entity/Entity;shouldRender(D)Z
-
onBreak
- Specified by:
onBreakin classAbstractDecorationEntity- Mappings:
Namespace Name Mixin selector official aLama;a(Laer;)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 void onPlace()- Specified by:
onPlacein classAbstractDecorationEntity- Mappings:
Namespace Name Mixin selector official mLama;m()Vintermediary method_13209Lnet/minecraft/class_1396;method_13209()Vnamed onPlaceLnet/minecraft/entity/decoration/AbstractDecorationEntity;onPlace()V
-
dropHeldStack
- Mappings:
Namespace Name Mixin selector official bLamb;b(Laer;Z)Vintermediary method_8368Lnet/minecraft/class_1397;method_8368(Lnet/minecraft/class_864;Z)Vnamed dropHeldStackLnet/minecraft/entity/decoration/ItemFrameEntity;dropHeldStack(Lnet/minecraft/entity/Entity;Z)V
-
removeFromFrame
- Mappings:
Namespace Name Mixin selector official cLamb;c(Late;)Vintermediary method_6102Lnet/minecraft/class_1397;method_6102(Lnet/minecraft/class_1071;)Vnamed removeFromFrameLnet/minecraft/entity/decoration/ItemFrameEntity;removeFromFrame(Lnet/minecraft/item/ItemStack;)V
-
getHeldItemStack
- Mappings:
Namespace Name Mixin selector official oLamb;o()Late;intermediary method_4468Lnet/minecraft/class_1397;method_4468()Lnet/minecraft/class_1071;named getHeldItemStackLnet/minecraft/entity/decoration/ItemFrameEntity;getHeldItemStack()Lnet/minecraft/item/ItemStack;
-
setHeldItemStack
- Mappings:
Namespace Name Mixin selector official bLamb;b(Late;)Vintermediary method_4466Lnet/minecraft/class_1397;method_4466(Lnet/minecraft/class_1071;)Vnamed setHeldItemStackLnet/minecraft/entity/decoration/ItemFrameEntity;setHeldItemStack(Lnet/minecraft/item/ItemStack;)V
-
setHeldItemStack
- Mappings:
Namespace Name Mixin selector official aLamb;a(Late;Z)Vintermediary method_11151Lnet/minecraft/class_1397;method_11151(Lnet/minecraft/class_1071;Z)Vnamed setHeldItemStackLnet/minecraft/entity/decoration/ItemFrameEntity;setHeldItemStack(Lnet/minecraft/item/ItemStack;Z)V
-
onTrackedDataSet
- Overrides:
onTrackedDataSetin classEntity- Mappings:
Namespace Name Mixin selector official aLaer;a(Lor;)Vintermediary method_12974Lnet/minecraft/class_864;method_12974(Lnet/minecraft/class_2921;)Vnamed onTrackedDataSetLnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
-
rotation
public int rotation()- Mappings:
Namespace Name Mixin selector official pLamb;p()Iintermediary method_4469Lnet/minecraft/class_1397;method_4469()Inamed rotationLnet/minecraft/entity/decoration/ItemFrameEntity;rotation()I
-
setRotation
public void setRotation(int value) - Mappings:
Namespace Name Mixin selector official aLamb;a(I)Vintermediary method_4467Lnet/minecraft/class_1397;method_4467(I)Vnamed setRotationLnet/minecraft/entity/decoration/ItemFrameEntity;setRotation(I)V
-
setRotation
private void setRotation(int value, boolean update) - Mappings:
Namespace Name Mixin selector official aLamb;a(IZ)Vintermediary method_11150Lnet/minecraft/class_1397;method_11150(IZ)Vnamed setRotationLnet/minecraft/entity/decoration/ItemFrameEntity;setRotation(IZ)V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classAbstractDecorationEntity- Mappings:
Namespace Name Mixin selector official bLaer;b(Lgy;)Vintermediary method_2528Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classAbstractDecorationEntity- Mappings:
Namespace Name Mixin selector official aLaer;a(Lgy;)Vintermediary method_2498Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
interact
- Overrides:
interactin classEntity- Mappings:
Namespace Name Mixin selector official bLaer;b(Laog;Ladk;)Zintermediary method_6100Lnet/minecraft/class_864;method_6100(Lnet/minecraft/class_988;Lnet/minecraft/class_2961;)Znamed interactLnet/minecraft/entity/Entity;interact(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Z
-
getComparatorPower
public int getComparatorPower()- Mappings:
Namespace Name Mixin selector official qLamb;q()Iintermediary method_11152Lnet/minecraft/class_1397;method_11152()Inamed getComparatorPowerLnet/minecraft/entity/decoration/ItemFrameEntity;getComparatorPower()I
-