Uses of Interface
net.neoforged.neoforge.common.MutableDataComponentHolder
Package
Description
-
Uses of MutableDataComponentHolder in net.minecraft.world.item
-
Uses of MutableDataComponentHolder in net.neoforged.neoforge.energy
Modifier and TypeFieldDescriptionprotected final MutableDataComponentHolder
ComponentEnergyStorage.parent
ModifierConstructorDescriptionComponentEnergyStorage
(MutableDataComponentHolder parent, DataComponentType<Integer> energyComponent, int capacity) Creates a new ItemEnergyStorage with a transfer rate equivalent to the capacity.ComponentEnergyStorage
(MutableDataComponentHolder parent, DataComponentType<Integer> energyComponent, int capacity, int maxTransfer) Creates a new ItemEnergyStorage with a unified receive / extract rate.ComponentEnergyStorage
(MutableDataComponentHolder parent, DataComponentType<Integer> energyComponent, int capacity, int maxReceive, int maxExtract) Creates a new ComponentEnergyStorage with a data component as the backing store for the energy value. -
Uses of MutableDataComponentHolder in net.neoforged.neoforge.fluids
-
Uses of MutableDataComponentHolder in net.neoforged.neoforge.items
Modifier and TypeFieldDescriptionprotected final MutableDataComponentHolder
ComponentItemHandler.parent
ModifierConstructorDescriptionComponentItemHandler
(MutableDataComponentHolder parent, DataComponentType<ItemContainerContents> component, int size) Creates a newComponentItemHandler
with target size.