Package ac.boar.mappings.block
Class InteractiveBlocks
java.lang.Object
ac.boar.mappings.block.InteractiveBlocks
Blocks the Bedrock client treats as interactive when a player presses on them (ClientInputCallbacks::handleBuildAction): without sneaking, it uses the block instead of the held item.
The client checks BlockType::isInteractiveBlock, BlockType::isContainerBlock and Block::isCraftingBlock. This list holds the Java names of every vanilla class that overrides one of them to return true.
Subclasses are assumed to inherit the override (dropper from dispenser, smoker and blast furnace from furnace, trapped and ender chests and shulker boxes from chest); that was not checked in the client.
-
Method Summary
-
Method Details
-
isInteractive
-