Expand description
Attributes, mob effects and potions a mod adds: data (.ydef kinds
attribute, effect, potion), the host registers each with the game.
Structs§
- Attribute
- Attribute
Def - A number every player has (
hexcasting:grid_zoom) — what effects change (EffectDef::modifiers) and the mod reads (Server::entity_attribute_value). - Brew
- A brewing stand recipe making a potion: one potion and an ingredient.
- Effect
- Effect
Def - A mob effect (
hexcasting:enlarge_grid): its kind, its colour (its particles, its potions) and the attributes it changes. Its icon is the mod’stextures/mob_effect/<name>.png, its nameeffect.<ns>.<name>. - Effect
Modifier - An attribute an effect changes while it lasts — by
amountfor each level. - Potion
- Potion
Def - A potion (
hexcasting:enlarge_grid_long): the effects it gives, and the brewing that makes it. Its names are the game’sitem.minecraft.potion. effect.<name>(splash, lingering and tipped arrow alike). - Potion
Effect - An effect a potion gives.
Enums§
- Effect
Category - Whether an effect is good or bad for whoever has it (its colour in the inventory, what milk and beacons do with it).
- Modifier
Operation - How a modifier changes an attribute.