-
Nested Class Summary
Nested Classes
-
Method Summary
default boolean
default boolean
createBoard(net.minecraft.world.entity.player.Player player,
net.minecraft.world.phys.BlockHitResult hitResult)
boolean
default boolean
mayInteract(net.minecraft.world.entity.player.Player player)
default int
default void
default boolean
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)
default void
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)
void
boolean
testHit(net.minecraft.world.phys.Vec3 hit)
default boolean
writeToClipboard(@NotNull net.minecraft.core.HolderLookup.Provider registries,
net.minecraft.nbt.CompoundTag tag,
net.minecraft.core.Direction side)
-
Method Details
-
testHit
boolean testHit(net.minecraft.world.phys.Vec3 hit)
-
isActive
boolean isActive()
-
onlyVisibleWithWrench
default boolean onlyVisibleWithWrench()
-
-
-
createBoard
ValueSettingsBoard createBoard(net.minecraft.world.entity.player.Player player,
net.minecraft.world.phys.BlockHitResult hitResult)
-
-
-
acceptsValueSettings
default boolean acceptsValueSettings()
-
-
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
-
-
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)
-
-
mayInteract
default boolean mayInteract(net.minecraft.world.entity.player.Player player)
-
netId
default int netId()