@FunctionalInterface
public interface ItemVolumeModifier
IItemRegistry.registerPneumaticVolumeModifier(ItemVolumeModifier).| Modifier and Type | Method and Description |
|---|---|
int |
getNewVolume(net.minecraft.item.ItemStack stack,
int oldVolume)
Given an item stack, which is a pneumatic item, and its current volume, return a new, modified volume
|