状态效果命令:/effect give @p simplytea:invigorated 30 0

为玩家定量的增加指定属性,附源代码:

public class InvigoratedEffect extends Effect {
  public InvigoratedEffect() {
    super(EffectType.BENEFICIAL, 14128729);
    func_220304_a(Attributes.field_233823_f_, "38dd13a2-b4f1-11eb-8529-0242ac130003", 1.0D, AttributeModifier.Operation.ADDITION);
    func_220304_a(Attributes.field_233824_g_, "401daf1e-b4f1-11eb-8529-0242ac130003", 1.0D, AttributeModifier.Operation.ADDITION);
  }
}
Invigorated
Invigorated
资料分类:咖啡因茶

短评加载中..