User Tools

Site Tools


tutorial:status_effects

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
tutorial:status_effects [2021/09/13 08:24] – removed inline method as it doesn't seem to work bananatutorial:status_effects [2022/02/17 08:59] – [Creating Status Effect Class] sattes
Line 14: Line 14:
   public ExpStatusEffect() {   public ExpStatusEffect() {
     super(     super(
-      StatusEffectType.BENEFICIAL, // whether beneficial or harmful for entities+      StatusEffectCategory.BENEFICIAL, // whether beneficial or harmful for entities
       0x98D982); // color in RGB       0x98D982); // color in RGB
   }   }
tutorial/status_effects.txt · Last modified: 2023/01/12 07:06 by tao0lu