Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- accessor - Variable in class ml.pluto7073.chemicals.handlers.ConsumableChemicalHandler
- add(Player, float) - Method in class ml.pluto7073.chemicals.handlers.ConsumableChemicalHandler
-
Adds the chemical to a player
- addChemical(ConsumableChemicalHandler, float) - Method in interface ml.pluto7073.chemicals.item.internal.ChemicalHolderBuilder
- addChemical(ResourceLocation, float) - Method in interface ml.pluto7073.chemicals.item.internal.ChemicalHolderBuilder
- addChemical(ResourceLocation, float) - Method in class ml.pluto7073.chemicals.mixin.FoodPropertiesMixin.BuilderMixin
- appendTooltip(List<Component>, float, ItemStack) - Method in class ml.pluto7073.chemicals.handlers.ConsumableChemicalHandler
-
Appends a tooltip to an item containing this chemical
B
- BuilderMixin() - Constructor for class ml.pluto7073.chemicals.mixin.FoodPropertiesMixin.BuilderMixin
C
- ChemicalCommands - Class in ml.pluto7073.chemicals.commands
- ChemicalCommands() - Constructor for class ml.pluto7073.chemicals.commands.ChemicalCommands
- ChemicalContaining - Interface in ml.pluto7073.chemicals.item
-
An interface for items that can contain a variable amount of any chemical in a stack.
- ChemicalHolder - Interface in ml.pluto7073.chemicals.item.internal
- ChemicalHolderBuilder - Interface in ml.pluto7073.chemicals.item.internal
- Chemicals - Class in ml.pluto7073.chemicals
- Chemicals() - Constructor for class ml.pluto7073.chemicals.Chemicals
- ConsumableChemicalHandler - Class in ml.pluto7073.chemicals.handlers
-
The base class representing a Chemical
- ConsumableChemicalHandler() - Constructor for class ml.pluto7073.chemicals.handlers.ConsumableChemicalHandler
- createCustomChemicalCommandExtension() - Method in class ml.pluto7073.chemicals.handlers.ConsumableChemicalHandler
-
Implement this method if you want custom syntax for this chemical's command using
/chemicals
D
- defineDataForPlayer(SynchedEntityData) - Method in class ml.pluto7073.chemicals.handlers.ConsumableChemicalHandler
E
- EMPTY - Static variable in class ml.pluto7073.chemicals.handlers.ConsumableChemicalHandler
F
- FoodPropertiesMixin - Class in ml.pluto7073.chemicals.mixin
- FoodPropertiesMixin() - Constructor for class ml.pluto7073.chemicals.mixin.FoodPropertiesMixin
- FoodPropertiesMixin.BuilderMixin - Class in ml.pluto7073.chemicals.mixin
- formatAmount(float) - Method in class ml.pluto7073.chemicals.handlers.ConsumableChemicalHandler
-
Appends the units that this amount is tracked in to the amount, e.g.
G
- get(Player) - Method in class ml.pluto7073.chemicals.handlers.ConsumableChemicalHandler
-
Gets the current amount of the chemical in the player
- getChemicalContent(ResourceLocation, ItemStack) - Method in interface ml.pluto7073.chemicals.item.ChemicalContaining
-
Obtains the amount of a specific chemical stored in a stack
- getChemicals() - Method in interface ml.pluto7073.chemicals.item.internal.ChemicalHolder
- getChemicals() - Method in class ml.pluto7073.chemicals.mixin.FoodPropertiesMixin
- getEffectsForAmount(float, Level) - Method in class ml.pluto7073.chemicals.handlers.ConsumableChemicalHandler
-
Get a list of effects associated with an amount of this chemical
- getId() - Method in class ml.pluto7073.chemicals.handlers.ConsumableChemicalHandler
- getItem() - Method in class ml.pluto7073.chemicals.mixin.ItemStackMixin
- getLanguageKey() - Method in class ml.pluto7073.chemicals.handlers.ConsumableChemicalHandler
H
- HalfLifeChemicalHandler - Class in ml.pluto7073.chemicals.handlers
-
A Chemical handler that exponentially ticks down the amount in a player, using the specified half life.
- HalfLifeChemicalHandler(int) - Constructor for class ml.pluto7073.chemicals.handlers.HalfLifeChemicalHandler
I
- id(String) - Static method in class ml.pluto7073.chemicals.Chemicals
- ItemStackMixin - Class in ml.pluto7073.chemicals.mixin
- ItemStackMixin() - Constructor for class ml.pluto7073.chemicals.mixin.ItemStackMixin
L
- LinearChemicalHandler - Class in ml.pluto7073.chemicals.handlers
-
A Chemical Handler that removes a fixed amount from a player per tick
- LinearChemicalHandler(float) - Constructor for class ml.pluto7073.chemicals.handlers.LinearChemicalHandler
- loadExtraPlayerData(Player, CompoundTag) - Method in class ml.pluto7073.chemicals.handlers.ConsumableChemicalHandler
-
Load any extra data required for the Chemical Handler
M
- maxAmount - Variable in class ml.pluto7073.chemicals.handlers.StaticChemicalHandler
- ml.pluto7073.chemicals - package ml.pluto7073.chemicals
- ml.pluto7073.chemicals.commands - package ml.pluto7073.chemicals.commands
- ml.pluto7073.chemicals.handlers - package ml.pluto7073.chemicals.handlers
- ml.pluto7073.chemicals.item - package ml.pluto7073.chemicals.item
- ml.pluto7073.chemicals.item.internal - package ml.pluto7073.chemicals.item.internal
- ml.pluto7073.chemicals.mixin - package ml.pluto7073.chemicals.mixin
- MOD_ID - Static variable in class ml.pluto7073.chemicals.Chemicals
O
- onInitialize() - Method in class ml.pluto7073.chemicals.Chemicals
- onMaxAmountReached(Player) - Method in class ml.pluto7073.chemicals.handlers.StaticChemicalHandler
P
- perTickMultiplier - Variable in class ml.pluto7073.chemicals.handlers.HalfLifeChemicalHandler
- PlayerMixin - Class in ml.pluto7073.chemicals.mixin
- PlayerMixin(EntityType<? extends LivingEntity>, Level) - Constructor for class ml.pluto7073.chemicals.mixin.PlayerMixin
R
- register() - Static method in class ml.pluto7073.chemicals.commands.ChemicalCommands
- REGISTRY - Static variable in class ml.pluto7073.chemicals.Chemicals
- REGISTRY_KEY - Static variable in class ml.pluto7073.chemicals.Chemicals
S
- saveExtraPlayerData(Player, CompoundTag) - Method in class ml.pluto7073.chemicals.handlers.ConsumableChemicalHandler
-
Store any extra data required for the Chemical Handler
- ServerPlayerMixin - Class in ml.pluto7073.chemicals.mixin
- ServerPlayerMixin(Level, BlockPos, float, GameProfile) - Constructor for class ml.pluto7073.chemicals.mixin.ServerPlayerMixin
- set(Player, float) - Method in class ml.pluto7073.chemicals.handlers.ConsumableChemicalHandler
-
Sets amount of chemical in a player
- setChemicals(Map<ResourceLocation, Float>) - Method in interface ml.pluto7073.chemicals.item.internal.ChemicalHolder
- setChemicals(Map<ResourceLocation, Float>) - Method in class ml.pluto7073.chemicals.mixin.FoodPropertiesMixin
- StaticChemicalHandler - Class in ml.pluto7073.chemicals.handlers
-
An implementation of
ConsumableChemicalHandlerfor a chemical that stays in the player and resets once a maximum amount is reached, performing an action on the player - StaticChemicalHandler(float) - Constructor for class ml.pluto7073.chemicals.handlers.StaticChemicalHandler
-
Creates a new StaticChemicalHandler instance
T
- tickPlayer(Player) - Method in class ml.pluto7073.chemicals.handlers.ConsumableChemicalHandler
-
Updates the current amount of the chemical in the specified player
- tickPlayer(Player) - Method in class ml.pluto7073.chemicals.handlers.HalfLifeChemicalHandler
- tickPlayer(Player) - Method in class ml.pluto7073.chemicals.handlers.LinearChemicalHandler
- tickPlayer(Player) - Method in class ml.pluto7073.chemicals.handlers.StaticChemicalHandler
All Classes and Interfaces|All Packages|Constant Field Values