Interface ValueSettingsBehaviour

All Superinterfaces:
ClipboardCloneable
All Known Implementing Classes:
BrassDiodeScrollValueBehaviour, BulkScrollValueBehaviour, FactoryPanelBehaviour, FilteringBehaviour, KineticScrollValueBehaviour, ScrollOptionBehaviour, ScrollValueBehaviour, SidedFilteringBehaviour, TableClothFilteringBehaviour, ValveHandleBlockEntity.ValveHandleScrollValueBehaviour

public interface ValueSettingsBehaviour extends ClipboardCloneable
  • Method Details

    • testHit

      boolean testHit(net.minecraft.world.phys.Vec3 hit)
    • isActive

      boolean isActive()
    • onlyVisibleWithWrench

      default boolean onlyVisibleWithWrench()
    • newSettingHovered

      default void newSettingHovered(ValueSettingsBehaviour.ValueSettings valueSetting)
    • getSlotPositioning

      ValueBoxTransform getSlotPositioning()
    • createBoard

      ValueSettingsBoard createBoard(net.minecraft.world.entity.player.Player player, net.minecraft.world.phys.BlockHitResult hitResult)
    • setValueSettings

      void setValueSettings(net.minecraft.world.entity.player.Player player, ValueSettingsBehaviour.ValueSettings valueSetting, boolean ctrlDown)
    • getValueSettings

    • acceptsValueSettings

      default boolean acceptsValueSettings()
    • getClipboardKey

      default String getClipboardKey()
      Specified by:
      getClipboardKey in interface ClipboardCloneable
    • writeToClipboard

      default boolean writeToClipboard(@NotNull net.minecraft.core.HolderLookup.Provider registries, net.minecraft.nbt.CompoundTag tag, net.minecraft.core.Direction side)
      Specified by:
      writeToClipboard in interface ClipboardCloneable
    • readFromClipboard

      default boolean readFromClipboard(@NotNull net.minecraft.core.HolderLookup.Provider registries, net.minecraft.nbt.CompoundTag tag, net.minecraft.world.entity.player.Player player, net.minecraft.core.Direction side, boolean simulate)
      Specified by:
      readFromClipboard in interface ClipboardCloneable
    • playFeedbackSound

      default void playFeedbackSound(BlockEntityBehaviour origin)
    • onShortInteract

      default void onShortInteract(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.core.Direction side, net.minecraft.world.phys.BlockHitResult hitResult)
    • bypassesInput

      default boolean bypassesInput(net.minecraft.world.item.ItemStack mainhandItem)
    • mayInteract

      default boolean mayInteract(net.minecraft.world.entity.player.Player player)
    • netId

      default int netId()