Class BeaconInfo
java.lang.Object
com.hammy275.immersivemc.client.immersive.info.AbstractImmersiveInfo
com.hammy275.immersivemc.client.immersive.info.BeaconInfo
- All Implemented Interfaces:
ImmersiveInfo
-
Field Summary
Modifier and TypeFieldDescriptionboolean
int
net.minecraft.world.phys.Vec3
Breakdown: Index 0-4 hold the 5 effects.int
net.minecraft.core.Direction
boolean
int
boolean
long
Fields inherited from class com.hammy275.immersivemc.client.immersive.info.AbstractImmersiveInfo
hitboxes, pos, slotsHovered, ticksExisted
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
boolean
Methods inherited from class com.hammy275.immersivemc.client.immersive.info.AbstractImmersiveInfo
getAllHitboxes, getBlockPosition, getSlotHovered, getTicksExisted, hasHitboxes, isSlotHovered, setSlotHovered, tick
-
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
-
isEffectSelected
public boolean isEffectSelected() -
isReadyForConfirm
public boolean isReadyForConfirm() -
getEffectId
public int getEffectId()
-