Skip navigation links
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Interfaces
  • Classes
  • Fields
  • Methods
  • Terminally Deprecated Elements
    Element
    Description
    forestry.api.apiculture.hives.IHiveDefinition.getGenChance()
    Generation chance is now set by IHive. This value is a default, but can be overridden.
    forestry.api.arboriculture.ICharcoalManager.registerWall(ICharcoalPileWall)
    Use IArboricultureRegistration.registerCharcoalPitWall(net.minecraft.world.level.block.state.BlockState, int)
    forestry.api.arboriculture.ICharcoalManager.registerWall(Block, int)
    Use IArboricultureRegistration.registerCharcoalPitWall(net.minecraft.world.level.block.state.BlockState, int)
    forestry.api.arboriculture.ICharcoalManager.registerWall(BlockState, int)
    Use IArboricultureRegistration.registerCharcoalPitWall(net.minecraft.world.level.block.state.BlockState, int)
    forestry.api.arboriculture.ICharcoalManager.removeWall(Block)
    Use IArboricultureRegistration.registerCharcoalPitWall(net.minecraft.world.level.block.state.BlockState, int) and set to 0
    forestry.api.arboriculture.ICharcoalManager.removeWall(BlockState)
    Use IArboricultureRegistration.registerCharcoalPitWall(net.minecraft.world.level.block.state.BlockState, int) and set to 0
    forestry.api.arboriculture.TreeManager
    Use IForestryApi.getTreeManager()
    forestry.api.arboriculture.TreeManager.charcoalManager
    Use ITreeManager.getCharcoalManager()
    forestry.api.arboriculture.TreeManager.woodAccess
    Use ITreeManager.getWoodAccess()
    forestry.api.plugin.IApicultureRegistration.registerSpecies(ResourceLocation, String, String, boolean, Color)
    Use variant that accepts TextColor
    forestry.api.plugin.IArboricultureRegistration.registerSpecies(ResourceLocation, String, String, boolean, Color, IWoodType)
    Use the variant that accepts a TextColor
    forestry.api.plugin.IBeeSpeciesBuilder.setBody(Color)
    Use variant that accepts TextColor
    forestry.api.plugin.IBeeSpeciesBuilder.setOutline(Color)
    Use variant that accepts TextColor
    forestry.api.plugin.IBeeSpeciesBuilder.setStripes(Color)
    Use variant that accepts TextColor
    forestry.api.plugin.IButterflySpeciesBuilder.setSerumColor(Color)
    Use the variant that accepts a TextColor
    forestry.api.plugin.ILepidopterologyRegistration.registerSpecies(ResourceLocation, String, String, boolean, Color, float)
    Use the variant that accepts a TextColor
    forestry.api.plugin.ISpeciesBuilder.setEscritoireColor(Color)
    Use the variant that accepts a TextColor
  • Deprecated Interfaces
    Interface
    Description
    forestry.api.arboriculture.ICharcoalManager
    forestry.api.arboriculture.ICharcoalPileWall
  • Deprecated Classes
    Class
    Description
    forestry.api.arboriculture.TreeManager
    Use IForestryApi.getTreeManager()
  • Deprecated Fields
    Field
    Description
    forestry.api.arboriculture.TreeManager.charcoalManager
    Use ITreeManager.getCharcoalManager()
    forestry.api.arboriculture.TreeManager.woodAccess
    Use ITreeManager.getWoodAccess()
  • Deprecated Methods
    Method
    Description
    forestry.api.apiculture.hives.IHive.getPosForHive(WorldGenLevel, int, int)
    Use IHive.getPosForHive(WorldGenLevel, RandomSource, int, int) that accepts a world gen random.
    forestry.api.apiculture.hives.IHiveDefinition.getGenChance()
    Generation chance is now set by IHive. This value is a default, but can be overridden.
    forestry.api.apiculture.hives.IHiveGen.getPosForHive(WorldGenLevel, int, int)
    Use IHiveGen.getPosForHive(WorldGenLevel, RandomSource, int, int) with a world gen random instead.
    forestry.api.arboriculture.genetics.IFruit.getSpecialty()
    Use IFruit.getSpecialties() instead.
    forestry.api.arboriculture.ICharcoalManager.registerWall(ICharcoalPileWall)
    Use IArboricultureRegistration.registerCharcoalPitWall(net.minecraft.world.level.block.state.BlockState, int)
    forestry.api.arboriculture.ICharcoalManager.registerWall(Block, int)
    Use IArboricultureRegistration.registerCharcoalPitWall(net.minecraft.world.level.block.state.BlockState, int)
    forestry.api.arboriculture.ICharcoalManager.registerWall(BlockState, int)
    Use IArboricultureRegistration.registerCharcoalPitWall(net.minecraft.world.level.block.state.BlockState, int)
    forestry.api.arboriculture.ICharcoalManager.removeWall(Block)
    Use IArboricultureRegistration.registerCharcoalPitWall(net.minecraft.world.level.block.state.BlockState, int) and set to 0
    forestry.api.arboriculture.ICharcoalManager.removeWall(BlockState)
    Use IArboricultureRegistration.registerCharcoalPitWall(net.minecraft.world.level.block.state.BlockState, int) and set to 0
    forestry.api.climate.IClimateManager.getDefaultClimate(LevelReader, BlockPos)
    Use IClimateManager.createClimateProvider(net.minecraft.world.level.LevelReader, net.minecraft.core.BlockPos) instead.
    forestry.api.modules.IForestryModule.setupApi()
    forestry.api.plugin.IApicultureRegistration.registerSpecies(ResourceLocation, String, String, boolean, Color)
    Use variant that accepts TextColor
    forestry.api.plugin.IArboricultureRegistration.registerSpecies(ResourceLocation, String, String, boolean, Color, IWoodType)
    Use the variant that accepts a TextColor
    forestry.api.plugin.IBeeSpeciesBuilder.setBody(Color)
    Use variant that accepts TextColor
    forestry.api.plugin.IBeeSpeciesBuilder.setOutline(Color)
    Use variant that accepts TextColor
    forestry.api.plugin.IBeeSpeciesBuilder.setStripes(Color)
    Use variant that accepts TextColor
    forestry.api.plugin.IButterflySpeciesBuilder.setSerumColor(Color)
    Use the variant that accepts a TextColor
    forestry.api.plugin.ILepidopterologyRegistration.registerSpecies(ResourceLocation, String, String, boolean, Color, float)
    Use the variant that accepts a TextColor
    forestry.api.plugin.IMutationsRegistration.add(ResourceLocation, ResourceLocation, int)
    Use the overload that takes a float instead.
    forestry.api.plugin.ISpeciesBuilder.setEscritoireColor(Color)
    Use the variant that accepts a TextColor
    forestry.api.recipes.IForestryRecipe.assemble(Container, RegistryAccess)
    forestry.api.recipes.IForestryRecipe.canCraftInDimensions(int, int)
    forestry.api.recipes.IForestryRecipe.getGroup()
    forestry.api.recipes.IForestryRecipe.getIngredients()
    forestry.api.recipes.IForestryRecipe.getRemainingItems(Container)
    forestry.api.recipes.IForestryRecipe.getToastSymbol()
    forestry.api.recipes.IForestryRecipe.isSpecial()
    forestry.api.recipes.IForestryRecipe.matches(Container, Level)