Jump to content

Tricky_Trap

Members
  • Posts

    1
  • Joined

  • Last visited

Tricky_Trap's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Adding to what ChampionAsh5357 said, You need to use the supplier method which looks like this: .effect(Supplier<EffectInstance> effectIn, float probability) You can take your deprecated code and modify it easily by adding a lambda and passing no parameters: .effect(() -> new EffectInstance(Effects.REGENERATION,200,1),1) .effect(() -> new EffectInstance(Effects.HEALTH_BOOST, 300, 1), 0.2f)
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.