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:
CommandSource
- Mappings:
Namespace Name official uointermediary net/minecraft/class_1397named net/minecraft/entity/decoration/ItemFrameEntity
-
Field Summary
FieldsFields inherited from class net.minecraft.entity.decoration.AbstractDecorationEntity
direction, posFields 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, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, netherPortalTime, 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, updateNeeded, vehicle, 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) intintfloatintgetWidth()protected voidvoidbooleanopenInventory(PlayerEntity player) voidprivate voidremoveFromFrame(ItemStack map) introtation()voidsetHeldItemStack(ItemStack stack) private voidsetHeldItemStack(ItemStack stack, boolean update) voidsetRotation(int value) private voidsetRotation(int value, boolean update) booleanshouldRender(double distance) voidMethods inherited from class net.minecraft.entity.decoration.AbstractDecorationEntity
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, 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, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getLightmapCoordinates, getMaxNetherPortalTime, getMountedHeightOffset, getParts, getPos, getRotation, 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, isSwimming, isTouchingLava, isTouchingWater, kill, method_10948, method_10965, method_6097, method_6344, method_8364, onKilledOther, onLightningStrike, onPlayerCollision, onSwimmingStart, 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, setInNetherPortal, setInvisible, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRotation, setSilent, setSneaking, setSprinting, setStat, setSwimming, setVelocityClient, setWorld, setYaw, shouldRender, shouldRenderName, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, startRiding, teleportToDimension, tickFire, tickRiding, toListNbt, toListNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePositionAndAngles, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, writePlayerData
-
Field Details
-
setDropChance
private float setDropChance- Mappings:
Namespace Name Mixin selector official cLuo;c: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>Lpk;<init>(Ladm;)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>Luo;<init>(Ladm;Lcj;Lcq;)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
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classAbstractDecorationEntity- Mappings:
Namespace Name Mixin selector official hLpk;h()Vintermediary method_2484Lnet/minecraft/class_864;method_2484()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
getTargetingMargin
public float getTargetingMargin()- Overrides:
getTargetingMarginin classEntity- Mappings:
Namespace Name Mixin selector official aoLpk;ao()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 aLpk;a(Low;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 lLun;l()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 mLun;m()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 aLpk;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 bLun;b(Lpk;)Vintermediary method_6101Lnet/minecraft/class_1396;method_6101(Lnet/minecraft/class_864;)Vnamed onBreakLnet/minecraft/entity/decoration/AbstractDecorationEntity;onBreak(Lnet/minecraft/entity/Entity;)V
-
dropHeldStack
- Mappings:
Namespace Name Mixin selector official aLuo;a(Lpk;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 bLuo;b(Lzx;)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 oLuo;o()Lzx;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 aLuo;a(Lzx;)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 aLuo;a(Lzx;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
-
rotation
public int rotation()- Mappings:
Namespace Name Mixin selector official pLuo;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 aLuo;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 aLuo;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 bLpk;b(Ldn;)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 aLpk;a(Ldn;)Vintermediary method_2498Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
openInventory
- Overrides:
openInventoryin classEntity- Mappings:
Namespace Name Mixin selector official eLpk;e(Lwn;)Zintermediary method_6100Lnet/minecraft/class_864;method_6100(Lnet/minecraft/class_988;)Znamed openInventoryLnet/minecraft/entity/Entity;openInventory(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
getComparatorPower
public int getComparatorPower()- Mappings:
Namespace Name Mixin selector official qLuo;q()Iintermediary method_11152Lnet/minecraft/class_1397;method_11152()Inamed getComparatorPowerLnet/minecraft/entity/decoration/ItemFrameEntity;getComparatorPower()I
-