Class BrassDiodeScrollValueBehaviour
java.lang.Object
com.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour
com.simibubi.create.foundation.blockEntity.behaviour.scrollValue.ScrollValueBehaviour
com.simibubi.create.content.redstone.diodes.BrassDiodeScrollValueBehaviour
- 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
ConstructorsConstructorDescriptionBrassDiodeScrollValueBehaviour(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.MutableComponentvoidonShortInteract(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.core.Direction side, net.minecraft.world.phys.BlockHitResult hitResult) voidsetValueSettings(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, 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
-
BrassDiodeScrollValueBehaviour
public BrassDiodeScrollValueBehaviour(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
-
onShortInteract
public 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) - Specified by:
onShortInteractin interfaceValueSettingsBehaviour- Overrides:
onShortInteractin 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
-