tutorial:enchantments
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
tutorial:enchantments [2019/12/26 22:10] – Fix class name modmuss50 | tutorial:enchantments [2020/05/10 11:37] – addPotionEffect -> addStatusEffect sirwindfield | ||
---|---|---|---|
Line 48: | Line 48: | ||
if(target instanceof LivingEntity) | if(target instanceof LivingEntity) | ||
{ | { | ||
- | ((LivingEntity) target).addPotionEffect(new StatusEffectInstance(StatusEffects.SLOWNESS, | + | ((LivingEntity) target).addStatusEffect(new StatusEffectInstance(StatusEffects.SLOWNESS, |
} | } | ||
tutorial/enchantments.txt · Last modified: 2023/01/04 13:52 by datsuns