public final class ActuallyAdditionsAPI
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.util.List<IBookletChapter> |
ALL_CHAPTERS |
static IBookletEntry |
allAndSearch |
static java.lang.String |
API_ID |
static java.lang.String |
API_VERSION |
static java.util.List<BallOfFurReturn> |
BALL_OF_FUR_RETURN_ITEMS |
static java.util.List<IBookletEntry> |
BOOKLET_ENTRIES |
static java.util.List<BookletPage> |
BOOKLET_PAGES_WITH_ITEM_OR_FLUID_DATA |
static java.util.List<CoffeeIngredient> |
COFFEE_MACHINE_INGREDIENTS |
static java.util.List<CompostRecipe> |
COMPOST_RECIPES |
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
|
static java.util.List<CrusherRecipe> |
CRUSHER_RECIPES |
static java.util.List<EmpowererRecipe> |
EMPOWERER_RECIPES |
static IBookletEntry |
entryFunctionalNonRF |
static IBookletEntry |
entryFunctionalRF |
static IBookletEntry |
entryGeneratingRF |
static IBookletEntry |
entryGettingStarted |
static IBookletEntry |
entryItemsNonRF |
static IBookletEntry |
entryItemsRF |
static IBookletEntry |
entryMisc |
static IBookletEntry |
entryReconstruction |
static Lens |
lensColor |
static Lens |
lensDeath |
static LensConversion |
lensDefaultConversion |
static Lens |
lensDetonation |
static Lens |
lensDisenchanting |
static Lens |
lensDisruption |
static Lens |
lensEvenMoarDeath |
static Lens |
lensMining |
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
|
static java.lang.String |
MOD_ID |
static java.util.List<WeightedOre> |
NETHERRACK_ORES |
static java.util.Map<java.lang.String,java.lang.Integer> |
OIL_GENERATOR_RECIPES |
static java.util.Map<net.minecraft.item.Item,IColorLensChanger> |
RECONSTRUCTOR_LENS_COLOR_CHANGERS |
static java.util.List<LensConversionRecipe> |
RECONSTRUCTOR_LENS_CONVERSION_RECIPES |
static java.util.List<WeightedOre> |
STONE_ORES |
static java.util.List<TreasureChestLoot> |
TREASURE_CHEST_LOOT |
| Constructor and Description |
|---|
ActuallyAdditionsAPI() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addBallOfFurReturnItem(net.minecraft.item.ItemStack stack,
int chance)
Adds an item to the list of possible items to be returned when right-clicking a Ball Of Fur
|
static void |
addBookletEntry(IBookletEntry entry)
Adds a booklet entry to the list of entries
|
static void |
addCoffeeMachineIngredient(CoffeeIngredient ingredient)
Adds an ingredient to the Coffee Machine ingredient list
|
static void |
addCompostRecipe(net.minecraft.item.ItemStack input,
net.minecraft.block.Block inputDisplay,
net.minecraft.item.ItemStack output,
net.minecraft.block.Block outputDisplay)
Adds a new conversion recipe to the compost.
|
static void |
addCrusherRecipe(net.minecraft.item.ItemStack input,
net.minecraft.item.ItemStack outputOne)
Deprecated.
|
static void |
addCrusherRecipe(net.minecraft.item.ItemStack input,
net.minecraft.item.ItemStack outputOne,
net.minecraft.item.ItemStack outputTwo,
int outputTwoChance)
Adds a Recipe to the Crusher Recipe Registry
|
static void |
addCrusherRecipe(net.minecraft.item.ItemStack input,
java.lang.String outputOne,
int outputOneAmount)
Deprecated.
|
static void |
addCrusherRecipe(java.lang.String input,
net.minecraft.item.ItemStack outputOne)
Deprecated.
|
static void |
addCrusherRecipe(java.lang.String input,
java.lang.String outputOne,
int outputOneAmount)
Deprecated.
|
static void |
addCrusherRecipe(java.lang.String input,
java.lang.String outputOne,
int outputOneAmount,
java.lang.String outputTwo,
int outputTwoAmount,
int outputTwoChance)
Deprecated.
|
static boolean |
addCrusherRecipes(java.util.List<net.minecraft.item.ItemStack> inputs,
java.util.List<net.minecraft.item.ItemStack> outputOnes,
int outputOneAmounts,
java.util.List<net.minecraft.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
|
static void |
addEmpowererRecipe(net.minecraft.item.ItemStack input,
net.minecraft.item.ItemStack output,
net.minecraft.item.ItemStack modifier1,
net.minecraft.item.ItemStack modifier2,
net.minecraft.item.ItemStack modifier3,
net.minecraft.item.ItemStack modifier4,
int energyPerStand,
int time,
float[] particleColor) |
static void |
addMiningLensNetherOre(java.lang.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.
|
static void |
addMiningLensStoneOre(java.lang.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.
|
static void |
addOilGenRecipe(java.lang.String fluidName,
int genAmount)
Adds a Recipe to the Oil generator
|
static void |
addPageWithItemStackData(BookletPage page)
Deprecated.
|
static void |
addReconstructorLensColorChangeItem(net.minecraft.item.Item item,
IColorLensChanger changer)
Adds an item and the way it is modified to the Atomic Reconstructor's color lens.
|
static void |
addReconstructorLensConversionRecipe(net.minecraft.item.ItemStack input,
net.minecraft.item.ItemStack output,
int energyUse) |
static void |
addReconstructorLensConversionRecipe(net.minecraft.item.ItemStack input,
net.minecraft.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
|
static void |
addReconstructorLensConversionRecipe(java.lang.String input,
java.lang.String output,
int energyUse)
Deprecated.
|
static void |
addReconstructorLensConversionRecipe(java.lang.String input,
java.lang.String output,
int energyUse,
LensConversion type)
Deprecated.
|
static void |
addTreasureChestLoot(net.minecraft.item.ItemStack stack,
int chance,
int minAmount,
int maxAmount)
Adds an item to the list of possible items to be returned when opening a Treasure Chest
|
public static final java.lang.String MOD_ID
public static final java.lang.String API_ID
public static final java.lang.String API_VERSION
public static final java.util.List<CrusherRecipe> CRUSHER_RECIPES
public static final java.util.List<BallOfFurReturn> BALL_OF_FUR_RETURN_ITEMS
public static final java.util.List<TreasureChestLoot> TREASURE_CHEST_LOOT
public static final java.util.List<LensConversionRecipe> RECONSTRUCTOR_LENS_CONVERSION_RECIPES
public static final java.util.List<EmpowererRecipe> EMPOWERER_RECIPES
public static final java.util.Map<net.minecraft.item.Item,IColorLensChanger> RECONSTRUCTOR_LENS_COLOR_CHANGERS
public static final java.util.List<CoffeeIngredient> COFFEE_MACHINE_INGREDIENTS
public static final java.util.List<CompostRecipe> COMPOST_RECIPES
public static final java.util.Map<java.lang.String,java.lang.Integer> OIL_GENERATOR_RECIPES
public static final java.util.List<IBookletEntry> BOOKLET_ENTRIES
public static final java.util.List<IBookletChapter> ALL_CHAPTERS
public static final java.util.List<BookletPage> BOOKLET_PAGES_WITH_ITEM_OR_FLUID_DATA
public static final java.util.List<WeightedOre> STONE_ORES
public static final java.util.List<WeightedOre> NETHERRACK_ORES
public static IMethodHandler methodHandler
public static ILaserRelayConnectionHandler connectionHandler
public static IBookletEntry entryGettingStarted
public static IBookletEntry entryReconstruction
public static IBookletEntry entryFunctionalNonRF
public static IBookletEntry entryFunctionalRF
public static IBookletEntry entryGeneratingRF
public static IBookletEntry entryItemsNonRF
public static IBookletEntry entryItemsRF
public static IBookletEntry entryMisc
public static IBookletEntry allAndSearch
public static LensConversion lensDefaultConversion
public static Lens lensDetonation
public static Lens lensDeath
public static Lens lensEvenMoarDeath
public static Lens lensColor
public static Lens lensDisruption
public static Lens lensDisenchanting
public static Lens lensMining
@Deprecated
public static void addCrusherRecipe(java.lang.String input,
java.lang.String outputOne,
int outputOneAmount)
input - The input's OreDictionary nameoutputOne - The first output's OreDictionary nameoutputOneAmount - The amount of the first output@Deprecated
public static void addCrusherRecipe(java.lang.String input,
java.lang.String outputOne,
int outputOneAmount,
java.lang.String outputTwo,
int outputTwoAmount,
int outputTwoChance)
input - The input's OreDictionary nameoutputOne - The first output's OreDictionary nameoutputOneAmount - The amount of the first outputoutputTwo - The second output's OreDictionary nameoutputTwoAmount - The amount of the second outputoutputTwoChance - The chance of the second output (0 won't occur at all, 100 will all the time)@Deprecated
public static void addCrusherRecipe(net.minecraft.item.ItemStack input,
net.minecraft.item.ItemStack outputOne)
input - The input as an ItemStackoutputOne - The first output as an ItemStack@Deprecated
public static void addCrusherRecipe(net.minecraft.item.ItemStack input,
java.lang.String outputOne,
int outputOneAmount)
input - The input as an ItemStackoutputOne - The first output's OreDictionary nameoutputOneAmount - The amount of the first output@Deprecated
public static void addCrusherRecipe(java.lang.String input,
net.minecraft.item.ItemStack outputOne)
input - The input as an ItemStackoutputOne - The first output's OreDictionary namepublic static void addMiningLensStoneOre(java.lang.String oreName,
int weight)
oreName - The ore's nameweight - The ore's weightpublic static void addMiningLensNetherOre(java.lang.String oreName,
int weight)
oreName - The ore's nameweight - The ore's weightpublic static void addCrusherRecipe(net.minecraft.item.ItemStack input,
net.minecraft.item.ItemStack outputOne,
net.minecraft.item.ItemStack outputTwo,
int outputTwoChance)
input - The input as an ItemStackoutputOne - The first output as an ItemStackoutputTwo - The second output as an ItemStack (can be null if there should be none)outputTwoChance - The chance of the second output (0 won't occur at all, 100 will all the time)public static boolean addCrusherRecipes(java.util.List<net.minecraft.item.ItemStack> inputs,
java.util.List<net.minecraft.item.ItemStack> outputOnes,
int outputOneAmounts,
java.util.List<net.minecraft.item.ItemStack> outputTwos,
int outputTwoAmounts,
int outputTwoChance)
inputs - The inputs as an ItemStack List, stacksizes are ignoredoutputOnes - The first outputs as an ItemStack List, stacksizes are ignoredoutputOneAmounts - The amount of the first output, will be equal for all entries in the listoutputTwos - The second outputs as an ItemStack List (can be null or empty if there should be none)outputTwoAmounts - The amount of the second output, will be equal for all entries in the listoutputTwoChance - The chance of the second output (0 won't occur at all, 100 will all the time)public static void addOilGenRecipe(java.lang.String fluidName,
int genAmount)
fluidName - The name of the fluid to be consumedgenAmount - The amount of energy generated per operationpublic static void addCompostRecipe(net.minecraft.item.ItemStack input,
net.minecraft.block.Block inputDisplay,
net.minecraft.item.ItemStack output,
net.minecraft.block.Block outputDisplay)
input - The itemstack to be input into the compostinputDisplay - The block to display when there is input in the compostoutput - The itemstack to be output from the compost once conversion finishesoutputDisplay - The block to display when there is output in the compostpublic static void addBallOfFurReturnItem(net.minecraft.item.ItemStack stack,
int chance)
stack - The ItemStack to be returnedchance - The chance (this is from WeightedRandom.Item)public static void addTreasureChestLoot(net.minecraft.item.ItemStack stack,
int chance,
int minAmount,
int maxAmount)
stack - The ItemStack to be returned, the stacksize is ignoredchance - The chance (this is from WeightedRandom.Item)minAmount - The minimum stacksize of the returned stackmaxAmount - The maximum stacksize of the returned stackpublic static void addEmpowererRecipe(net.minecraft.item.ItemStack input,
net.minecraft.item.ItemStack output,
net.minecraft.item.ItemStack modifier1,
net.minecraft.item.ItemStack modifier2,
net.minecraft.item.ItemStack modifier3,
net.minecraft.item.ItemStack modifier4,
int energyPerStand,
int time,
float[] particleColor)
public static void addReconstructorLensConversionRecipe(net.minecraft.item.ItemStack input,
net.minecraft.item.ItemStack output,
int energyUse,
LensConversion type)
input - The input as an ItemStackoutput - The output as an ItemStackenergyUse - The amount of RF used per conversiontype - 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!public static void addReconstructorLensConversionRecipe(net.minecraft.item.ItemStack input,
net.minecraft.item.ItemStack output,
int energyUse)
@Deprecated
public static void addReconstructorLensConversionRecipe(java.lang.String input,
java.lang.String output,
int energyUse,
LensConversion type)
input - The input's OreDictionary nameoutput - The output's OreDictionary nameenergyUse - The amount of RF used per conversiontype - 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!@Deprecated
public static void addReconstructorLensConversionRecipe(java.lang.String input,
java.lang.String output,
int energyUse)
public static void addReconstructorLensColorChangeItem(net.minecraft.item.Item item,
IColorLensChanger changer)
item - The item (or block's item) to addchanger - The change mechanismpublic static void addCoffeeMachineIngredient(CoffeeIngredient ingredient)
ingredient - The ingredient to addpublic static void addBookletEntry(IBookletEntry entry)
entry - The entry to add@Deprecated public static void addPageWithItemStackData(BookletPage page)
page - The page to add