Package net.fabricmc.fabric.api.registry
Class StrippableBlockRegistry
java.lang.Object
net.fabricmc.fabric.api.registry.StrippableBlockRegistry
A registry for axe stripping interactions. A vanilla example is turning logs to stripped logs.
-
Method Summary
-
Method Details
-
register
Registers a stripping interaction.Both blocks must have the
axisproperty.- Parameters:
input- the input block that can be strippedstripped- the stripped result block- Throws:
IllegalArgumentException- if the input or the output doesn't have theaxisproperty
-