Class ActuallyAdditionsAPI

java.lang.Object
de.ellpeck.actuallyadditions.api.ActuallyAdditionsAPI

public final class ActuallyAdditionsAPI extends Object
  • Field Details

    • MOD_ID

      public static final String MOD_ID
      See Also:
    • API_ID

      public static final String API_ID
      See Also:
    • API_VERSION

      public static final String API_VERSION
      See Also:
    • CRUSHER_RECIPES

      public static final List<net.minecraft.world.item.crafting.RecipeHolder<de.ellpeck.actuallyadditions.mod.crafting.CrushingRecipe>> CRUSHER_RECIPES
    • EMPOWERER_RECIPES

      public static final List<net.minecraft.world.item.crafting.RecipeHolder<de.ellpeck.actuallyadditions.mod.crafting.EmpowererRecipe>> EMPOWERER_RECIPES
    • COLOR_CHANGE_RECIPES

      public static final List<net.minecraft.world.item.crafting.RecipeHolder<de.ellpeck.actuallyadditions.mod.crafting.ColorChangeRecipe>> COLOR_CHANGE_RECIPES
    • SOLID_FUEL_RECIPES

      public static final List<net.minecraft.world.item.crafting.RecipeHolder<de.ellpeck.actuallyadditions.mod.crafting.SolidFuelRecipe>> SOLID_FUEL_RECIPES
    • LIQUID_FUEL_RECIPES

      public static final List<net.minecraft.world.item.crafting.RecipeHolder<de.ellpeck.actuallyadditions.mod.crafting.LiquidFuelRecipe>> LIQUID_FUEL_RECIPES
    • PRESSING_RECIPES

      public static final List<net.minecraft.world.item.crafting.RecipeHolder<de.ellpeck.actuallyadditions.mod.crafting.PressingRecipe>> PRESSING_RECIPES
    • FERMENTING_RECIPES

      public static final List<net.minecraft.world.item.crafting.RecipeHolder<de.ellpeck.actuallyadditions.mod.crafting.FermentingRecipe>> FERMENTING_RECIPES
    • CONVERSION_LASER_RECIPES

      public static final List<net.minecraft.world.item.crafting.RecipeHolder<de.ellpeck.actuallyadditions.mod.crafting.LaserRecipe>> CONVERSION_LASER_RECIPES
    • MINING_LENS_RECIPES

      public static final List<net.minecraft.world.item.crafting.RecipeHolder<de.ellpeck.actuallyadditions.mod.crafting.MiningLensRecipe>> MINING_LENS_RECIPES
    • FARMER_BEHAVIORS

      public static final List<IFarmerBehavior> FARMER_BEHAVIORS
      Farmer behaviors are sorted when first accessed, this will not be done until after loading, but do not add behaviors at runtime.
    • COFFEE_MACHINE_INGREDIENTS

      public static final List<net.minecraft.world.item.crafting.RecipeHolder<de.ellpeck.actuallyadditions.mod.crafting.CoffeeIngredientRecipe>> COFFEE_MACHINE_INGREDIENTS
    • BOOKLET_ENTRIES

      public static final List<IBookletEntry> BOOKLET_ENTRIES
    • ALL_CHAPTERS

      public static final List<IBookletChapter> ALL_CHAPTERS
    • BOOKLET_PAGES_WITH_ITEM_OR_FLUID_DATA

      public static final List<IBookletPage> BOOKLET_PAGES_WITH_ITEM_OR_FLUID_DATA
    • STONE_ORES

      @Deprecated public static final List<WeightedOre> STONE_ORES
      Deprecated.
    • NETHERRACK_ORES

      @Deprecated public static final List<WeightedOre> NETHERRACK_ORES
      Deprecated.
    • methodHandler

      public static IMethodHandler methodHandler
      Use this to handle things that aren't based in the API itself DO NOT CHANGE/OVERRIDE THIS!! This is getting initialized in Actually Additions' PreInit phase
    • connectionHandler

      public static ILaserRelayConnectionHandler connectionHandler
      Use this to add, remove or get Laser Relay Connections and Networks The network system is built in a way that doesn't need the individual positions to be Laser Relays, it relies only on BlockPos DO NOT CHANGE/OVERRIDE THIS!! This is getting initialized in Actually Additions' PreInit phase
    • entryGettingStarted

      public static IBookletEntry entryGettingStarted
    • entryReconstruction

      public static IBookletEntry entryReconstruction
    • entryLaserRelays

      public static IBookletEntry entryLaserRelays
    • entryFunctionalNonRF

      public static IBookletEntry entryFunctionalNonRF
    • entryFunctionalRF

      public static IBookletEntry entryFunctionalRF
    • entryGeneratingRF

      public static IBookletEntry entryGeneratingRF
    • entryItemsNonRF

      public static IBookletEntry entryItemsNonRF
    • entryItemsRF

      public static IBookletEntry entryItemsRF
    • entryMisc

      public static IBookletEntry entryMisc
    • entryUpdatesAndInfos

      public static IBookletEntry entryUpdatesAndInfos
    • entryAllAndSearch

      public static IBookletEntry entryAllAndSearch
    • entryTrials

      public static IBookletEntry entryTrials
    • lensDefaultConversion

      public static final LensConversion lensDefaultConversion
    • lensDetonation

      public static final Lens lensDetonation
    • lensDeath

      public static final Lens lensDeath
    • lensEvenMoarDeath

      public static final Lens lensEvenMoarDeath
    • lensColor

      public static final Lens lensColor
    • lensDisenchanting

      public static final Lens lensDisenchanting
    • lensMining

      public static final Lens lensMining
  • Constructor Details

    • ActuallyAdditionsAPI

      public ActuallyAdditionsAPI()
  • Method Details

    • addMiningLensStoneOre

      public static void addMiningLensStoneOre(String oreName, int weight)
      Adds an ore with a specific weight to the list of ores that the lens of the miner will generate inside of stone. Higher weight means higher occurence.
      Parameters:
      oreName - The ore's name
      weight - The ore's weight
    • addMiningLensNetherOre

      public static void addMiningLensNetherOre(String oreName, int weight)
      Adds an ore with a specific weight to the list of ores that the lens of the miner will generate inside of netherrack. Higher weight means higher occurence.
      Parameters:
      oreName - The ore's name
      weight - The ore's weight
    • addCrusherRecipe

      public static void addCrusherRecipe(net.minecraft.world.item.ItemStack input, net.minecraft.world.item.ItemStack outputOne, net.minecraft.world.item.ItemStack outputTwo, int outputTwoChance)
      Adds a Recipe to the Crusher Recipe Registry
      Parameters:
      input - The input as an ItemStack
      outputOne - The first stack as an ItemStack
      outputTwo - The second stack as an ItemStack (can be ItemStack.EMPTY if there should be none)
      outputTwoChance - The chance of the second stack (0 won't occur at all, 100 will all the time)
    • addCrusherRecipe

      public static void addCrusherRecipe(net.minecraft.world.item.crafting.Ingredient input, net.minecraft.world.item.ItemStack outputOne, net.minecraft.world.item.ItemStack outputTwo, int outputTwoChance)
      Adds a Recipe to the Crusher Recipe Registry
      Parameters:
      input - The input as an Ingredient
      outputOne - The first stack as an ItemStack
      outputTwo - The second stack as an ItemStack (can be ItemStack.EMPTY if there should be none)
      outputTwoChance - The chance of the second stack (0 won't occur at all, 100 will all the time)
    • addCrusherRecipes

      public static boolean addCrusherRecipes(List<net.minecraft.world.item.ItemStack> inputs, List<net.minecraft.world.item.ItemStack> outputOnes, int outputOneAmounts, List<net.minecraft.world.item.ItemStack> outputTwos, int outputTwoAmounts, int outputTwoChance)
      Adds multiple Recipes to the Crusher Recipe Registry Use this if you want to add OreDictionary recipes easier
      Parameters:
      inputs - The inputs as an ItemStack List, stacksizes are ignored
      outputOnes - The first outputs as an ItemStack List, stacksizes are ignored
      outputOneAmounts - The amount of the first stack, will be equal for all entries in the list
      outputTwos - The second outputs as a List (can be null or empty if there should be none)
      outputTwoAmounts - The amount of the second stack, will be equal for all entries in the list
      outputTwoChance - The chance of the second stack (0 won't occur at all, 100 will all the time)
    • addCrusherRecipes

      @Deprecated public static boolean addCrusherRecipes(List<net.minecraft.world.item.ItemStack> inputs, net.minecraft.world.item.ItemStack outputOne, int outputOneAmount, net.minecraft.world.item.ItemStack outputTwo, int outputTwoAmount, int outputTwoChance)
      Deprecated.
    • addEmpowererRecipe

      public static void addEmpowererRecipe(net.minecraft.resources.ResourceLocation id, net.minecraft.world.item.crafting.Ingredient input, net.minecraft.world.item.ItemStack output, net.minecraft.world.item.crafting.Ingredient modifier1, net.minecraft.world.item.crafting.Ingredient modifier2, net.minecraft.world.item.crafting.Ingredient modifier3, net.minecraft.world.item.crafting.Ingredient modifier4, int energyPerStand, int time, int particleColor)
    • addReconstructorLensConversionRecipe

      @Deprecated public static void addReconstructorLensConversionRecipe(net.minecraft.world.item.ItemStack input, net.minecraft.world.item.ItemStack output, int energyUse, LensConversion type)
      Deprecated.
      Adds a recipe to the Atomic Reconstructor conversion lenses StackSizes can only be 1 and greater ones will be ignored
      Parameters:
      input - The input as an ItemStack
      output - The stack as an ItemStack
      energyUse - The amount of RF used per conversion
      type - The type of lens used for the conversion. To use the default type, use method below. Note how this always has to be the same instance of the lens type that the item also has for it to work!
    • addReconstructorLensConversionRecipe

      @Deprecated public static void addReconstructorLensConversionRecipe(net.minecraft.world.item.ItemStack input, net.minecraft.world.item.ItemStack output, int energyUse)
      Deprecated.
    • addReconstructorLensConversionRecipe

      public static void addReconstructorLensConversionRecipe(net.minecraft.world.item.crafting.Ingredient input, net.minecraft.world.item.ItemStack output, int energyUse, LensConversion type)
      Adds a recipe to the Atomic Reconstructor conversion lenses StackSizes can only be 1 and greater ones will be ignored
      Parameters:
      input - The input as an ItemStack
      output - The stack as an ItemStack
      energyUse - The amount of RF used per conversion
      type - The type of lens used for the conversion. To use the default type, use method below. Note how this always has to be the same instance of the lens type that the item also has for it to work!
    • addReconstructorLensConversionRecipe

      public static void addReconstructorLensConversionRecipe(net.minecraft.world.item.crafting.Ingredient input, net.minecraft.world.item.ItemStack output, int energyUse)
    • addCoffeeMachineIngredient

      public static void addCoffeeMachineIngredient(CoffeeIngredient ingredient)
      Adds an ingredient to the Coffee Machine ingredient list
      Parameters:
      ingredient - The ingredient to add
    • addBookletEntry

      public static void addBookletEntry(IBookletEntry entry)
      Adds a booklet entry to the list of entries
      Parameters:
      entry - The entry to add
    • addFarmerBehavior

      public static void addFarmerBehavior(IFarmerBehavior behavior)
      Adds a new farmer behavior to the Farmer
      Parameters:
      behavior - The behavior to add