Class ValueSettingsClient
java.lang.Object
com.simibubi.create.foundation.blockEntity.behaviour.ValueSettingsClient
- All Implemented Interfaces:
net.minecraft.client.gui.LayeredDraw.Layer
public class ValueSettingsClient
extends Object
implements net.minecraft.client.gui.LayeredDraw.Layer
-
Field Summary
FieldsModifier and TypeFieldDescriptionintintnet.minecraft.core.Directionnet.minecraft.world.InteractionHandnet.minecraft.core.BlockPosintList<net.minecraft.network.chat.MutableComponent> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancelIfWarmupAlreadyStarted(net.neoforged.neoforge.event.entity.player.PlayerInteractEvent.RightClickBlock event) voidvoidrender(net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.client.DeltaTracker deltaTracker) voidshowHoverTip(List<net.minecraft.network.chat.MutableComponent> tip) voidstartInteractionWith(net.minecraft.core.BlockPos pos, BehaviourType<?> behaviourType, net.minecraft.world.InteractionHand hand, net.minecraft.core.Direction side) voidtick()
-
Field Details
-
interactHeldTicks
public int interactHeldTicks -
interactHeldPos
public net.minecraft.core.BlockPos interactHeldPos -
interactHeldBehaviour
-
interactHeldHand
public net.minecraft.world.InteractionHand interactHeldHand -
interactHeldFace
public net.minecraft.core.Direction interactHeldFace -
lastHoverTip
-
hoverTicks
public int hoverTicks -
hoverWarmup
public int hoverWarmup
-
-
Constructor Details
-
ValueSettingsClient
public ValueSettingsClient()
-
-
Method Details
-
cancelIfWarmupAlreadyStarted
public void cancelIfWarmupAlreadyStarted(net.neoforged.neoforge.event.entity.player.PlayerInteractEvent.RightClickBlock event) -
startInteractionWith
public void startInteractionWith(net.minecraft.core.BlockPos pos, BehaviourType<?> behaviourType, net.minecraft.world.InteractionHand hand, net.minecraft.core.Direction side) -
cancelInteraction
public void cancelInteraction() -
tick
public void tick() -
showHoverTip
-
render
public void render(net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.client.DeltaTracker deltaTracker) - Specified by:
renderin interfacenet.minecraft.client.gui.LayeredDraw.Layer
-