public final class NaturesAuraAPI
extends java.lang.Object
NaturesAuraAPI.IInternalHooks instance, which can be used to hook into
internal mod functions not exposed to the API.| Modifier and Type | Class and Description |
|---|---|
static interface |
NaturesAuraAPI.IInternalHooks |
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map<net.minecraft.util.ResourceLocation,AltarRecipe> |
ALTAR_RECIPES
The list of all
AltarRecipe instances which are the recipes used
by the Natural Altar. |
static java.util.Map<net.minecraft.util.ResourceLocation,AnimalSpawnerRecipe> |
ANIMAL_SPAWNER_RECIPES
A map of all
AnimalSpawnerRecipe objects that are used with the
animal spawner block. |
static java.lang.String |
API_ID |
static java.util.Map<net.minecraft.util.ResourceLocation,IAuraType> |
AURA_TYPES
A map of all
IAuraType instances which are types of Aura present
in different types of worlds. |
static java.util.Map<net.minecraft.block.state.IBlockState,net.minecraft.block.state.IBlockState> |
BOTANIST_PICKAXE_CONVERSIONS
A map of all of the block states that the Botanist's Pickaxe can convert
into their mossy variations.
|
static net.minecraftforge.common.capabilities.Capability<IAuraChunk> |
capAuraChunk
The capability that any chunk in a world has to store Aura in it.
|
static net.minecraftforge.common.capabilities.Capability<IAuraContainer> |
capAuraContainer
The capability for any item or block that stores Aura in the form of an
IAuraContainer |
static net.minecraftforge.common.capabilities.Capability<IAuraRecharge> |
capAuraRecharge
The capability for any item that can be recharged from an Aura storage
container like the Aura Cache in the form of
IAuraRecharge by a
player holding it in their hand |
static java.util.Map<net.minecraft.util.ResourceLocation,java.util.function.Supplier<IDrainSpotEffect>> |
DRAIN_SPOT_EFFECTS
A map of all
IDrainSpotEffect suppliers which are effects that
happen passively at every spot that Aura has been drained from in the
world. |
static java.util.Map<net.minecraft.util.ResourceLocation,java.lang.Integer> |
EFFECT_POWDERS
A map of all effect powder type.
|
static java.util.List<net.minecraft.block.state.IBlockState> |
FLOWERS
The list of all types of blocks that several mechanics in the mod use as
flowers.
|
static java.lang.String |
MOD_ID |
static java.util.Map<net.minecraft.util.ResourceLocation,IMultiblock> |
MULTIBLOCKS
A map of all
IMultiblock objects which are multiblock structures
that can easily be looped through and checked, and also easily created
using the multiblock maker debug tool. |
static java.util.Map<net.minecraft.util.ResourceLocation,OfferingRecipe> |
OFFERING_RECIPES
The list of all
OfferingRecipe instances which are the recipes
used by the Offering Table. |
static java.util.Map<net.minecraft.util.ResourceLocation,TreeRitualRecipe> |
TREE_RITUAL_RECIPES
The list of all
TreeRitualRecipe instances which are the recipes
used in the Ritual of the Forest. |
static BasicAuraType |
TYPE_END |
static BasicAuraType |
TYPE_NETHER |
static BasicAuraType |
TYPE_OTHER |
static BasicAuraType |
TYPE_OVERWORLD |
static java.lang.String |
VERSION |
| Constructor and Description |
|---|
NaturesAuraAPI() |
| Modifier and Type | Method and Description |
|---|---|
static NaturesAuraAPI.IInternalHooks |
instance()
This method returns the active
NaturesAuraAPI.IInternalHooks instance which can
be used to hook into the mod's internal functionalities. |
static void |
setInstance(NaturesAuraAPI.IInternalHooks inst)
This is an internal function.
|
public static final java.lang.String MOD_ID
public static final java.lang.String API_ID
public static final java.lang.String VERSION
public static final java.util.Map<net.minecraft.util.ResourceLocation,AltarRecipe> ALTAR_RECIPES
AltarRecipe instances which are the recipes used
by the Natural Altar. Newly created recipes can be easily added using
AltarRecipe.register().public static final java.util.Map<net.minecraft.util.ResourceLocation,TreeRitualRecipe> TREE_RITUAL_RECIPES
TreeRitualRecipe instances which are the recipes
used in the Ritual of the Forest. Newly created recipes can be easily
added using TreeRitualRecipe.register().public static final java.util.Map<net.minecraft.util.ResourceLocation,OfferingRecipe> OFFERING_RECIPES
OfferingRecipe instances which are the recipes
used by the Offering Table. Newly created recipes can by easily added
using OfferingRecipe.register().public static final java.util.List<net.minecraft.block.state.IBlockState> FLOWERS
BlockFlower instances and all
blocks specified in the config file are addedpublic static final java.util.Map<net.minecraft.block.state.IBlockState,net.minecraft.block.state.IBlockState> BOTANIST_PICKAXE_CONVERSIONS
public static final java.util.Map<net.minecraft.util.ResourceLocation,IAuraType> AURA_TYPES
IAuraType instances which are types of Aura present
in different types of worlds. BasicAuraType instances can be
easily registered using BasicAuraType.register().public static final BasicAuraType TYPE_OVERWORLD
public static final BasicAuraType TYPE_NETHER
public static final BasicAuraType TYPE_END
public static final BasicAuraType TYPE_OTHER
public static final java.util.Map<net.minecraft.util.ResourceLocation,java.util.function.Supplier<IDrainSpotEffect>> DRAIN_SPOT_EFFECTS
IDrainSpotEffect suppliers which are effects that
happen passively at every spot that Aura has been drained from in the
world. These effects include things like vegetational increase and
natural decay. To register your own drain spot effects, just add a
supplier for them to this map and they will automatically be executed
once a second for every drain spot currently loaded.public static final java.util.Map<net.minecraft.util.ResourceLocation,java.lang.Integer> EFFECT_POWDERS
NaturesAuraAPI.IInternalHooks.isEffectPowderActive(World,
BlockPos, ResourceLocation)public static final java.util.Map<net.minecraft.util.ResourceLocation,IMultiblock> MULTIBLOCKS
IMultiblock objects which are multiblock structures
that can easily be looped through and checked, and also easily created
using the multiblock maker debug tool.public static final java.util.Map<net.minecraft.util.ResourceLocation,AnimalSpawnerRecipe> ANIMAL_SPAWNER_RECIPES
AnimalSpawnerRecipe objects that are used with the
animal spawner block. To register a recipe, use AnimalSpawnerRecipe.register().public static net.minecraftforge.common.capabilities.Capability<IAuraContainer> capAuraContainer
IAuraContainerpublic static net.minecraftforge.common.capabilities.Capability<IAuraRecharge> capAuraRecharge
IAuraRecharge by a
player holding it in their handpublic static net.minecraftforge.common.capabilities.Capability<IAuraChunk> capAuraChunk
IAuraChunk.getAuraChunk(World, BlockPos).public static NaturesAuraAPI.IInternalHooks instance()
NaturesAuraAPI.IInternalHooks instance which can
be used to hook into the mod's internal functionalities. This is
instantiated as StubHooks by default which has no functionality,
but, in the mod's preInit phase, this will be overriden to a proper
implementation. If you want to use this instance, use it after Nature's
Aura's preInit phase.NaturesAuraAPI.IInternalHooks instancepublic static void setInstance(NaturesAuraAPI.IInternalHooks inst)