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 Details

    • interactHeldTicks

      public int interactHeldTicks
    • interactHeldPos

      public net.minecraft.core.BlockPos interactHeldPos
    • interactHeldBehaviour

      public BehaviourType<?> interactHeldBehaviour
    • interactHeldHand

      public net.minecraft.world.InteractionHand interactHeldHand
    • interactHeldFace

      public net.minecraft.core.Direction interactHeldFace
    • lastHoverTip

      public List<net.minecraft.network.chat.MutableComponent> 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

      public void showHoverTip(List<net.minecraft.network.chat.MutableComponent> tip)
    • render

      public void render(net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.client.DeltaTracker deltaTracker)
      Specified by:
      render in interface net.minecraft.client.gui.LayeredDraw.Layer