Class ScrollOptionBehaviour<E extends Enum<E> & INamedIconOptions>
java.lang.Object
com.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour
com.simibubi.create.foundation.blockEntity.behaviour.scrollValue.ScrollValueBehaviour
com.simibubi.create.foundation.blockEntity.behaviour.scrollValue.ScrollOptionBehaviour<E>
- All Implemented Interfaces:
ClipboardCloneable,ValueSettingsBehaviour
public class ScrollOptionBehaviour<E extends Enum<E> & INamedIconOptions>
extends ScrollValueBehaviour
-
Nested Class Summary
Nested classes/interfaces inherited from class com.simibubi.create.foundation.blockEntity.behaviour.scrollValue.ScrollValueBehaviour
ScrollValueBehaviour.StepContextNested classes/interfaces inherited from interface com.simibubi.create.foundation.blockEntity.behaviour.ValueSettingsBehaviour
ValueSettingsBehaviour.ValueSettings -
Field Summary
Fields inherited from class com.simibubi.create.foundation.blockEntity.behaviour.scrollValue.ScrollValueBehaviour
label, max, TYPE, valueFields inherited from class com.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour
blockEntity -
Constructor Summary
ConstructorsConstructorDescriptionScrollOptionBehaviour(Class<E> enum_, net.minecraft.network.chat.Component label, SmartBlockEntity be, ValueBoxTransform slot) -
Method Summary
Modifier and TypeMethodDescriptioncreateBoard(net.minecraft.world.entity.player.Player player, net.minecraft.world.phys.BlockHitResult hitResult) get()Methods inherited from class com.simibubi.create.foundation.blockEntity.behaviour.scrollValue.ScrollValueBehaviour
between, formatValue, getSlotPositioning, getType, getValue, getValueSettings, isActive, isSafeNBT, onlyActiveWhen, onlyVisibleWithWrench, onShortInteract, read, requiresWrench, setLabel, setValue, setValueSettings, testHit, withCallback, withClientCallback, withFormatter, writeMethods inherited from class com.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour
destroy, get, get, getPos, getRequiredItems, getWorld, initialize, lazyTick, onBlockChanged, onNeighborChanged, setLazyTickRate, tick, unload, writeSafeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.simibubi.create.foundation.blockEntity.behaviour.ValueSettingsBehaviour
acceptsValueSettings, bypassesInput, mayInteract, netId, newSettingHovered, playFeedbackSound, readFromClipboard, writeToClipboard
-
Constructor Details
-
ScrollOptionBehaviour
public ScrollOptionBehaviour(Class<E> enum_, net.minecraft.network.chat.Component label, SmartBlockEntity be, ValueBoxTransform slot)
-
-
Method Details
-
get
-
createBoard
public ValueSettingsBoard createBoard(net.minecraft.world.entity.player.Player player, net.minecraft.world.phys.BlockHitResult hitResult) - Specified by:
createBoardin interfaceValueSettingsBehaviour- Overrides:
createBoardin classScrollValueBehaviour
-
getClipboardKey
-