Archives week 45 of 2022

Nov. 7, 2022 - Nov. 13, 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

Daily archives

Previous week

Week 44 of 2022

Next week

Week 1 of 2023