Package net.fabricmc.fabric.api.registry
Class OxidizableBlocksRegistry
java.lang.Object
net.fabricmc.fabric.api.registry.OxidizableBlocksRegistry
Provides methods for registering oxidizable and waxable blocks.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
registerOxidizableBlockPair
(net.minecraft.block.Block less, net.minecraft.block.Block more) Registers a block pair as being able to increase and decrease oxidation.static void
registerWaxableBlockPair
(net.minecraft.block.Block unwaxed, net.minecraft.block.Block waxed) Registers a block pair as being able to add and remove wax.
-
Method Details
-
registerOxidizableBlockPair
public static void registerOxidizableBlockPair(net.minecraft.block.Block less, net.minecraft.block.Block more) Registers a block pair as being able to increase and decrease oxidation.- Parameters:
less
- the variant with less oxidationmore
- the variant with more oxidation
-
registerWaxableBlockPair
public static void registerWaxableBlockPair(net.minecraft.block.Block unwaxed, net.minecraft.block.Block waxed) Registers a block pair as being able to add and remove wax.- Parameters:
unwaxed
- the unwaxed variantwaxed
- the waxed variant
-