public final class ActuallyAdditionsAPI
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
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_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 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 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.Map<net.minecraft.item.Item,IColorLensChanger> |
RECONSTRUCTOR_LENS_COLOR_CHANGERS |
static java.util.List<LensConversionRecipe> |
RECONSTRUCTOR_LENS_CONVERSION_RECIPES |
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)
Adds a Recipe to the Crusher Recipe Registry
The second output will be nothing
|
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
The second output will be nothing
|
static void |
addCrusherRecipe(net.minecraft.item.ItemStack input,
java.lang.String outputOne,
int outputOneAmount)
Adds a Recipe to the Crusher Recipe Registry
The second output will be nothing
|
static void |
addCrusherRecipe(java.lang.String input,
java.lang.String outputOne,
int outputOneAmount)
Adds a Recipe to the Crusher Recipe Registry
The second output will be nothing
|
static void |
addCrusherRecipe(java.lang.String input,
java.lang.String outputOne,
int outputOneAmount,
java.lang.String outputTwo,
int outputTwoAmount,
int outputTwoChance)
Adds a Recipe to the Crusher Recipe Registry
|
static void |
addPageWithItemStackData(BookletPage page)
Adds a page to the pages with ItemStack data
This should be done with every page that uses getItemStacksForPage()
|
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) |
static void |
addReconstructorLensConversionRecipe(java.lang.String input,
java.lang.String output,
int energyUse,
LensConversion type)
Adds a recipe to the Atomic Reconstructor conversion lenses
|
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.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.List<IBookletEntry> BOOKLET_ENTRIES
public static final java.util.List<BookletPage> BOOKLET_PAGES_WITH_ITEM_DATA
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 lensColor
public static Lens lensDisruption
public static Lens lensDisenchanting
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 outputpublic 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)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 ItemStackpublic 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 ItemStackoutputTwoChance - The chance of the second output (0 won't occur at all, 100 will all the time)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 outputpublic 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 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)
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!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 addpublic static void addPageWithItemStackData(BookletPage page)
page - The page to add