Class AbstractBlock

java.lang.Object
net.minecraft.block.AbstractBlock
Direct Known Subclasses:
Block

public abstract class AbstractBlock extends Object
An abstract class that defines some logic for blocks.

Deprecated methods in this class mean they should only be called from the corresponding method in AbstractBlock.AbstractBlockState or subclasses of this class. In vanilla subclasses, these methods are called either to do the default behavior (e.g. super.onUse(...)) or to delegate logic to other blocks (e.g. StairsBlock#randomTick calls randomTick of its base block). It's fine to override them, as they are overridden by vanilla blocks.

Mappings:
Namespace Name
official cou
intermediary net/minecraft/class_4970
named net/minecraft/block/AbstractBlock