Mod
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Description
Represents a mod in the game. You can get a mod by using loadedMods.botania
or loadedMods["botania"]
Members
Return Type:
Collection<Attribute>
Returns: A list of attributes that were registered under this mod's ID.
Return Type:
Collection<Attribute>
Return Type:
Collection<Block>
Returns: A list of blocks that were registered under this mod's ID.
Return Type:
Collection<Block>
Return Type:
string
Returns: The display name of this mod.
Return Type:
string
Return Type:
Collection<Enchantment>
Returns: A list of enchantments that were registered under this mod's ID.
Return Type:
Collection<Enchantment>
Return Type:
Collection<Fluid>
Returns: A list of fluids that were registered under this mod's ID.
Return Type:
Collection<Fluid>
Return Type:
string
Returns: The id (namespace) of this mod.
Return Type:
string
Return Type:
Collection<ItemDefinition>
Returns: A list of items that were registered under this mod's ID.
Return Type:
Collection<ItemDefinition>
Return Type:
Collection<IItemStack>
Returns: A list of ItemStacks that were registered under this mod's ID.
Return Type:
Collection<IItemStack>
Return Type:
Collection<MobEffect>
Returns: A list of mob effects that were registered under this mod's ID.
Return Type:
Collection<MobEffect>
Return Type:
Collection<Potion>
Returns: A list of potions that were registered under this mod's ID.
Return Type:
Collection<Potion>
Return Type:
Collection<SoundEvent>
Returns: A list of sound events that were registered under this mod's ID.
Return Type:
Collection<SoundEvent>
Return Type:
string
Returns: The version of this mod.
Return Type:
string
Return Type:
Collection<VillagerProfession>
Returns: A list of villager professions that were registered under this mod's ID.
Return Type:
Collection<VillagerProfession>