Skip to main content

Module potion

Module potion 

Source

Structs§

PotionItem
Potion behavior providing Vanilla’s potion-content-dependent name and water default instance.

Constants§

MUD_SPLASH_PARTICLE_COUNT 🔒
Splash particles spawned when a water bottle turns a block into mud.

Functions§

potion_default_instance 🔒
potion_use_on 🔒
Converts the block hit into mud when the held stack is a water bottle over a CONVERTIBLE_TO_MUD block.