Class ImmersiveHitboxesInfo
java.lang.Object
com.hammy275.immersivemc.client.immersive.info.AbstractPlayerAttachmentInfo
com.hammy275.immersivemc.client.immersive.info.ImmersiveHitboxesInfo
- All Implemented Interfaces:
InfoTriggerHitboxes
public class ImmersiveHitboxesInfo
extends AbstractPlayerAttachmentInfo
implements InfoTriggerHitboxes
-
Field Summary
FieldsFields inherited from class com.hammy275.immersivemc.client.immersive.info.AbstractPlayerAttachmentInfo
initCompleted, inputHitboxes, itemTransitionCountdown, light, slotHovered, slotHovered2, ticksActive, ticksLeft, triggerHitboxSlotHovered -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.phys.Vec3[]net.minecraft.core.BlockPosgetHitbox(int slot) net.minecraft.world.phys.Vec3getPosition(int slot) getTriggerHitbox(int hitboxNum) intbooleanbooleanbooleanvoidsetHitbox(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
-
BACKPACK_BACK_INDEX
public static final int BACKPACK_BACK_INDEX- See Also:
-
-
Constructor Details
-
ImmersiveHitboxesInfo
public ImmersiveHitboxesInfo()
-
-
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
-
getTriggerHitbox
- Specified by:
getTriggerHitboxin interfaceInfoTriggerHitboxes
-
getTriggerHitboxes
- Specified by:
getTriggerHitboxesin interfaceInfoTriggerHitboxes
-
getVRControllerNum
public int getVRControllerNum()- Specified by:
getVRControllerNumin interfaceInfoTriggerHitboxes
-