Class KineticScrollValueBehaviour
java.lang.Object
com.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour
com.simibubi.create.foundation.blockEntity.behaviour.scrollValue.ScrollValueBehaviour
com.simibubi.create.content.kinetics.motor.KineticScrollValueBehaviour
- All Implemented Interfaces:
ClipboardCloneable,ValueSettingsBehaviour
-
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
ConstructorsConstructorDescriptionKineticScrollValueBehaviour(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) net.minecraft.network.chat.MutableComponentvoidsetValueSettings(net.minecraft.world.entity.player.Player player, ValueSettingsBehaviour.ValueSettings valueSetting, boolean ctrlHeld) Methods inherited from class com.simibubi.create.foundation.blockEntity.behaviour.scrollValue.ScrollValueBehaviour
between, formatValue, getSlotPositioning, getType, getValue, isActive, isSafeNBT, onlyActiveWhen, onlyVisibleWithWrench, onShortInteract, read, requiresWrench, setLabel, setValue, 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
-
KineticScrollValueBehaviour
public KineticScrollValueBehaviour(net.minecraft.network.chat.Component label, SmartBlockEntity be, ValueBoxTransform slot)
-
-
Method Details
-
createBoard
public ValueSettingsBoard createBoard(net.minecraft.world.entity.player.Player player, net.minecraft.world.phys.BlockHitResult hitResult) - Specified by:
createBoardin interfaceValueSettingsBehaviour- Overrides:
createBoardin classScrollValueBehaviour
-
setValueSettings
public void setValueSettings(net.minecraft.world.entity.player.Player player, ValueSettingsBehaviour.ValueSettings valueSetting, boolean ctrlHeld) - Specified by:
setValueSettingsin interfaceValueSettingsBehaviour- Overrides:
setValueSettingsin classScrollValueBehaviour
-
getValueSettings
- Specified by:
getValueSettingsin interfaceValueSettingsBehaviour- Overrides:
getValueSettingsin classScrollValueBehaviour
-
formatSettings
public net.minecraft.network.chat.MutableComponent formatSettings(ValueSettingsBehaviour.ValueSettings settings) -
getClipboardKey
-