Class TableClothFilteringBehaviour
java.lang.Object
com.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour
com.simibubi.create.foundation.blockEntity.behaviour.filtering.FilteringBehaviour
com.simibubi.create.content.logistics.tableCloth.TableClothFilteringBehaviour
- All Implemented Interfaces:
ClipboardCloneable,ValueSettingsBehaviour
-
Nested Class Summary
Nested 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.filtering.FilteringBehaviour
count, customLabel, filter, TYPE, upToFields inherited from class com.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour
blockEntity -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateBoard(net.minecraft.world.entity.player.Player player, net.minecraft.world.phys.BlockHitResult hitResult) net.minecraft.network.chat.MutableComponentnet.minecraft.network.chat.MutableComponentnet.minecraft.network.chat.MutableComponentgetLabel()floatbooleanisActive()booleanbooleanbooleanmayInteract(net.minecraft.world.entity.player.Player player) voidonShortInteract(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.core.Direction side, net.minecraft.world.phys.BlockHitResult hitResult) booleansetFilter(net.minecraft.world.item.ItemStack stack) voidsetValueSettings(net.minecraft.world.entity.player.Player player, ValueSettingsBehaviour.ValueSettings settings, boolean ctrlDown) Methods inherited from class com.simibubi.create.foundation.blockEntity.behaviour.filtering.FilteringBehaviour
acceptsValueSettings, anyAmount, bypassesInput, canShortInteract, destroy, forFluids, forRecipes, getAmount, getAmountTip, getClipboardKey, getFilter, getFilter, getRequiredItems, getSlotPositioning, getTip, getType, getValueSettings, isRecipeFilter, netId, onlyActiveWhen, read, readFromClipboard, setFilter, setLabel, showCount, showCountWhen, test, test, testHit, withCallback, withPredicate, write, writeToClipboardMethods inherited from class com.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour
get, get, getPos, 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
newSettingHovered, onlyVisibleWithWrench, playFeedbackSound
-
Constructor Details
-
TableClothFilteringBehaviour
-
-
Method Details
-
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 classFilteringBehaviour
-
getRenderDistance
public float getRenderDistance()- Overrides:
getRenderDistancein classFilteringBehaviour
-
mayInteract
public boolean mayInteract(net.minecraft.world.entity.player.Player player) -
isSafeNBT
public boolean isSafeNBT()- Overrides:
isSafeNBTin classFilteringBehaviour
-
getLabel
public net.minecraft.network.chat.MutableComponent getLabel()- Overrides:
getLabelin classFilteringBehaviour
-
isCountVisible
public boolean isCountVisible()- Overrides:
isCountVisiblein classFilteringBehaviour
-
setFilter
public boolean setFilter(net.minecraft.world.item.ItemStack stack) - Overrides:
setFilterin classFilteringBehaviour
-
setValueSettings
public void setValueSettings(net.minecraft.world.entity.player.Player player, ValueSettingsBehaviour.ValueSettings settings, boolean ctrlDown) - Specified by:
setValueSettingsin interfaceValueSettingsBehaviour- Overrides:
setValueSettingsin classFilteringBehaviour
-
createBoard
public ValueSettingsBoard createBoard(net.minecraft.world.entity.player.Player player, net.minecraft.world.phys.BlockHitResult hitResult) - Specified by:
createBoardin interfaceValueSettingsBehaviour- Overrides:
createBoardin classFilteringBehaviour
-
formatValue
public net.minecraft.network.chat.MutableComponent formatValue(ValueSettingsBehaviour.ValueSettings value) - Overrides:
formatValuein classFilteringBehaviour
-
getCountLabelForValueBox
public net.minecraft.network.chat.MutableComponent getCountLabelForValueBox()- Overrides:
getCountLabelForValueBoxin classFilteringBehaviour
-
isActive
public boolean isActive()- Specified by:
isActivein interfaceValueSettingsBehaviour- Overrides:
isActivein classFilteringBehaviour
-