CLASS net/minecraft/class_2237 net/minecraft/block/BlockWithEntity COMMENT A convenience class for a block with a {@link net.minecraft.block.entity.BlockEntity}. COMMENT While blocks with block entity only have to implement {@link BlockEntityProvider} COMMENT and do not have to subclass this, it overrides several methods to delegate its logic COMMENT to the block entity. However, it is generally easier to just implement COMMENT {@link BlockEntityProvider}. COMMENT COMMENT

Subclasses must override {@link #getRenderType} to render the COMMENT block entity. By default, all block entities are rendered invisible, which is not COMMENT intended in most, if not all, cases. COMMENT COMMENT @see net.minecraft.block.entity.BlockEntity COMMENT @see BlockEntityProvider METHOD method_31618 checkType (Lnet/minecraft/class_2591;Lnet/minecraft/class_2591;Lnet/minecraft/class_5558;)Lnet/minecraft/class_5558; COMMENT {@return the ticker if the given type and expected type are the same, or {@code null} if they are different} ARG 0 givenType ARG 1 expectedType ARG 2 ticker