Class NoSipAction
java.lang.Object
ml.pluto7073.pdapi.addition.action.NoSipAction
- All Implemented Interfaces:
OnDrinkAction
An onDrinkAction that is used to tell the mod not to sip a certain drink and drink it all at once. Can only be used in specialty drinks
-
Field Summary
Fields inherited from interface ml.pluto7073.pdapi.addition.action.OnDrinkAction
CODEC -
Method Summary
Modifier and TypeMethodDescriptionvoidonDrink(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.Level level, net.minecraft.world.entity.LivingEntity user)
-
Method Details
-
onDrink
public void onDrink(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.Level level, net.minecraft.world.entity.LivingEntity user) - Specified by:
onDrinkin interfaceOnDrinkAction
-
serializer
- Specified by:
serializerin interfaceOnDrinkAction
-