Package forestry.api.arboriculture
Interface IWoodAccess
public interface IWoodAccess
Provides easy access to Forestry and Vanilla wood items.
Forestry wood blocks have the same block state properties as vanilla ones.
Note that all doors are fireproof (even vanilla).
- See Also:
-
WoodBlockKindForestryWoodTypeVanillaWoodType
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.level.block.state.BlockStategetBlock(IWoodType woodType, WoodBlockKind kind, boolean fireproof) net.minecraft.world.item.ItemStackgetStack(IWoodType woodType, WoodBlockKind kind, boolean fireproof) voidregister(IWoodType woodType, WoodBlockKind woodBlockKind, boolean fireproof, net.minecraft.world.level.block.state.BlockState blockState, Supplier<net.minecraft.world.item.Item> itemStack)
-
Method Details
-
getStack
net.minecraft.world.item.ItemStack getStack(IWoodType woodType, WoodBlockKind kind, boolean fireproof) -
getBlock
net.minecraft.world.level.block.state.BlockState getBlock(IWoodType woodType, WoodBlockKind kind, boolean fireproof) -
getRegisteredWoodTypes
-
register
void register(IWoodType woodType, WoodBlockKind woodBlockKind, boolean fireproof, net.minecraft.world.level.block.state.BlockState blockState, Supplier<net.minecraft.world.item.Item> itemStack)
-