Class BackpackInfo
java.lang.Object
com.hammy275.immersivemc.client.immersive.info.AbstractPlayerAttachmentInfo
com.hammy275.immersivemc.client.immersive.info.BackpackInfo
-
Field Summary
Modifier and TypeFieldDescriptionnet.minecraft.world.phys.Vec3
net.minecraft.world.phys.Vec3
net.minecraft.world.item.ItemStack[]
net.minecraft.world.item.ItemStack
net.minecraft.world.phys.Vec3
float
net.minecraft.world.phys.Vec3
float
float
protected final BoundingBox[]
int
net.minecraft.world.phys.Vec3
protected final net.minecraft.world.phys.Vec3[]
net.minecraft.world.phys.Vec3
org.joml.Vector3f
int
Fields inherited from class com.hammy275.immersivemc.client.immersive.info.AbstractPlayerAttachmentInfo
initCompleted, inputHitboxes, itemTransitionCountdown, slotHovered, slotHovered2, ticksActive, ticksLeft, triggerHitboxSlotHovered
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.phys.Vec3[]
net.minecraft.core.BlockPos
int
getHitbox
(int slot) int
net.minecraft.world.phys.Vec3
getPosition
(int slot) void
boolean
boolean
boolean
void
setHitbox
(int slot, BoundingBox hitbox) void
void
setPosition
(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 -
rgb
public org.joml.Vector3f rgb -
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:
setInputSlots
in classAbstractPlayerAttachmentInfo
-
getHitbox
- Specified by:
getHitbox
in classAbstractPlayerAttachmentInfo
-
getAllHitboxes
- Specified by:
getAllHitboxes
in classAbstractPlayerAttachmentInfo
-
setHitbox
- Specified by:
setHitbox
in classAbstractPlayerAttachmentInfo
-
hasHitboxes
public boolean hasHitboxes()- Specified by:
hasHitboxes
in classAbstractPlayerAttachmentInfo
-
getPosition
public net.minecraft.world.phys.Vec3 getPosition(int slot) - Specified by:
getPosition
in classAbstractPlayerAttachmentInfo
-
getAllPositions
public net.minecraft.world.phys.Vec3[] getAllPositions()- Specified by:
getAllPositions
in classAbstractPlayerAttachmentInfo
-
setPosition
public void setPosition(int slot, net.minecraft.world.phys.Vec3 position) - Specified by:
setPosition
in classAbstractPlayerAttachmentInfo
-
hasPositions
public boolean hasPositions()- Specified by:
hasPositions
in classAbstractPlayerAttachmentInfo
-
readyToRender
public boolean readyToRender()- Specified by:
readyToRender
in classAbstractPlayerAttachmentInfo
-
getBlockPosition
public net.minecraft.core.BlockPos getBlockPosition()- Specified by:
getBlockPosition
in classAbstractPlayerAttachmentInfo
-
gotoNextRow
public void gotoNextRow() -
getMidRow
public int getMidRow() -
getBotRow
public int getBotRow()
-