Archives Nov. 12, 2022

Potions with Custom Effects

In Pycraft, I figured out the Potions-with-custom-effects, the problem being that Bukkit's PotionEffectType doesn't actually implement the keyed interface, but instead has its own .values() call, so needs a whole special handler. The code for creating potion with custom effects looks like:

await potion_of(
"Gopher's Gruel",
'type': 'fast_digging',
'duration': 20 * 60 * ...

Continue reading

Previous day

Nov. 6, 2022