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:
  • 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

      List<IWoodType> 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)