Class BackpackInfo
java.lang.Object
com.hammy275.immersivemc.client.immersive.info.AbstractPlayerAttachmentInfo
com.hammy275.immersivemc.client.immersive.info.BackpackInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionintnet.minecraft.world.phys.Vec3net.minecraft.world.phys.Vec3net.minecraft.world.item.ItemStack[]net.minecraft.world.item.ItemStacknet.minecraft.world.phys.Vec3floatnet.minecraft.world.phys.Vec3floatfloatprotected final BoundingBox[]intnet.minecraft.world.phys.Vec3protected final net.minecraft.world.phys.Vec3[]net.minecraft.world.phys.Vec3intFields inherited from class com.hammy275.immersivemc.client.immersive.info.AbstractPlayerAttachmentInfo
initCompleted, inputHitboxes, itemTransitionCountdown, slotHovered, slotHovered2, ticksActive, ticksLeft, triggerHitboxSlotHovered -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.phys.Vec3[]net.minecraft.core.BlockPosintgetHitbox(int slot) intnet.minecraft.world.phys.Vec3getPosition(int slot) voidbooleanbooleanbooleanvoidsetHitbox(int slot, BoundingBox hitbox) voidvoidsetPosition(int slot, net.minecraft.world.phys.Vec3 position) Methods inherited from class com.hammy275.immersivemc.client.immersive.info.AbstractPlayerAttachmentInfo
changeItemTransitionCountdown, changeTicksLeft, getInputSlots, getItemTransitionCountdown, getTicksLeft, remove, setTicksLeft, slotHovered, toString
-
Field Details
-
positions
protected final net.minecraft.world.phys.Vec3[] positions -
hitboxes
-
handPos
public net.minecraft.world.phys.Vec3 handPos -
lookVec
public net.minecraft.world.phys.Vec3 lookVec -
renderPos
public net.minecraft.world.phys.Vec3 renderPos -
centerTopPos
public net.minecraft.world.phys.Vec3 centerTopPos -
downVec
public net.minecraft.world.phys.Vec3 downVec -
handPitch
public float handPitch -
handYaw
public float handYaw -
handRoll
public float handRoll -
backVec
public net.minecraft.world.phys.Vec3 backVec -
argb
public int argb -
topRow
public int topRow -
craftingInput
public net.minecraft.world.item.ItemStack[] craftingInput -
craftingOutput
public net.minecraft.world.item.ItemStack craftingOutput -
light
public int light
-
-
Constructor Details
-
BackpackInfo
public BackpackInfo()
-
-
Method Details
-
setInputSlots
public void setInputSlots()- Specified by:
setInputSlotsin classAbstractPlayerAttachmentInfo
-
getHitbox
- Specified by:
getHitboxin classAbstractPlayerAttachmentInfo
-
getAllHitboxes
- Specified by:
getAllHitboxesin classAbstractPlayerAttachmentInfo
-
setHitbox
- Specified by:
setHitboxin classAbstractPlayerAttachmentInfo
-
hasHitboxes
public boolean hasHitboxes()- Specified by:
hasHitboxesin classAbstractPlayerAttachmentInfo
-
getPosition
public net.minecraft.world.phys.Vec3 getPosition(int slot) - Specified by:
getPositionin classAbstractPlayerAttachmentInfo
-
getAllPositions
public net.minecraft.world.phys.Vec3[] getAllPositions()- Specified by:
getAllPositionsin classAbstractPlayerAttachmentInfo
-
setPosition
public void setPosition(int slot, net.minecraft.world.phys.Vec3 position) - Specified by:
setPositionin classAbstractPlayerAttachmentInfo
-
hasPositions
public boolean hasPositions()- Specified by:
hasPositionsin classAbstractPlayerAttachmentInfo
-
readyToRender
public boolean readyToRender()- Specified by:
readyToRenderin classAbstractPlayerAttachmentInfo
-
getBlockPosition
public net.minecraft.core.BlockPos getBlockPosition()- Specified by:
getBlockPositionin classAbstractPlayerAttachmentInfo
-
gotoNextRow
public void gotoNextRow() -
getMidRow
public int getMidRow() -
getBotRow
public int getBotRow()
-