Class BeaconInfo
java.lang.Object
com.hammy275.immersivemc.client.immersive.info.AbstractImmersiveInfo
com.hammy275.immersivemc.client.immersive.info.AbstractBlockBasedImmersiveInfo
com.hammy275.immersivemc.client.immersive.info.BeaconInfo
- All Implemented Interfaces:
BlockBasedImmersiveInfo, ImmersiveInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanintnet.minecraft.world.phys.Vec3Breakdown: Index 0-4 hold the 5 effects.intnet.minecraft.core.DirectionbooleanintbooleanlongFields inherited from class AbstractBlockBasedImmersiveInfo
posFields inherited from class AbstractImmersiveInfo
hitboxes, slotsHovered, ticksExisted -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractBlockBasedImmersiveInfo
getBlockPositionMethods inherited from class AbstractImmersiveInfo
getAllHitboxes, getSlotHovered, getTicksExisted, hasHitboxes, isSlotHovered, setSlotHovered, tickMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ImmersiveInfo
getAllHitboxes, getSlotHovered, getTicksExisted, hasHitboxes, setSlotHovered
-
Field Details
-
regenSelected
public boolean regenSelected -
effectSelected
public int effectSelected -
lastPlayerDir
public net.minecraft.core.Direction lastPlayerDir -
effectSelectedDisplayPos
public net.minecraft.world.phys.Vec3 effectSelectedDisplayPosBreakdown: Index 0-4 hold the 5 effects. Can contain nulls! Index 5 holds the regen hitbox. Can be null! Index 6 holds the + hitbox. Can be null! Index 7 holds the confirm hitbox. Can be null! -
areaAboveIsAir
public boolean areaAboveIsAir -
startMillis
public long startMillis -
lastLevel
public int lastLevel -
levelWasNonzero
public boolean levelWasNonzero -
light
public int light
-
-
Constructor Details
-
BeaconInfo
public BeaconInfo(net.minecraft.core.BlockPos pos)
-
-
Method Details
-
getEffectId
public int getEffectId()
-