Class Mod
java.lang.Object
com.blamejared.crafttweaker.api.mod.Mod
Represents a mod in the game.
You can get a mod by using loadedMods.botania or loadedMods["botania"]
- DocParam:
- this loadedMods.botania
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the display name of this mod.booleanCollection<net.minecraft.world.entity.ai.attributes.Attribute>Gets the attributes that are registered under this mod's ID.Collection<net.minecraft.world.level.block.Block>Gets the blocks that are registered under this mod's ID.Collection<net.minecraft.world.item.enchantment.Enchantment>Gets the enchantments that are registered under this mod's ID.Collection<net.minecraft.world.level.material.Fluid>Gets the fluids that are registered under this mod's ID.Collection<net.minecraft.world.item.Item>getItems()Gets the items that are registered under this mod's ID.Gets the ItemStacks that are registered under this mod's ID.Collection<net.minecraft.world.effect.MobEffect>Gets the mob effects that are registered under this mod's ID.Collection<net.minecraft.world.item.alchemy.Potion>Gets the potions that are registered under this mod's ID.Collection<net.minecraft.sounds.SoundEvent>Gets the sound events that are registered under this mod's ID.Collection<net.minecraft.world.entity.npc.VillagerProfession>Gets the villager professions that are registered under this mod's ID.inthashCode()id()Gets the id (namespace) of this mod.toString()version()Gets the version of this mod.
-
Constructor Details
-
Mod
-
-
Method Details
-
getItems
Gets the items that are registered under this mod's ID.- Returns:
- A list of items that were registered under this mod's ID.
-
getItemStacks
Gets the ItemStacks that are registered under this mod's ID.- Returns:
- A list of ItemStacks that were registered under this mod's ID.
-
getPotions
Gets the potions that are registered under this mod's ID.- Returns:
- A list of potions that were registered under this mod's ID.
-
getAttributes
Gets the attributes that are registered under this mod's ID.- Returns:
- A list of attributes that were registered under this mod's ID.
-
getFluids
Gets the fluids that are registered under this mod's ID.- Returns:
- A list of fluids that were registered under this mod's ID.
-
getEnchantments
Gets the enchantments that are registered under this mod's ID.- Returns:
- A list of enchantments that were registered under this mod's ID.
-
getBlocks
Gets the blocks that are registered under this mod's ID.- Returns:
- A list of blocks that were registered under this mod's ID.
-
getMobEffects
Gets the mob effects that are registered under this mod's ID.- Returns:
- A list of mob effects that were registered under this mod's ID.
-
getVillagerProfessions
Gets the villager professions that are registered under this mod's ID.- Returns:
- A list of villager professions that were registered under this mod's ID.
-
getSoundEvents
Gets the sound events that are registered under this mod's ID.- Returns:
- A list of sound events that were registered under this mod's ID.
-
id
Gets the id (namespace) of this mod.- Returns:
- The id (namespace) of this mod.
-
displayName
Gets the display name of this mod.- Returns:
- The display name of this mod.
-
version
Gets the version of this mod.- Returns:
- The version of this mod.
-
equals
-
hashCode
public int hashCode() -
toString
-