Interface MobEffectBuilder.Factory<T extends net.minecraft.world.effect.MobEffect>

Enclosing class:
MobEffectBuilder<T extends net.minecraft.world.effect.MobEffect,P>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface MobEffectBuilder.Factory<T extends net.minecraft.world.effect.MobEffect>
  • Method Summary

    Modifier and Type
    Method
    Description
    create(net.minecraft.world.effect.MobEffectCategory category, int color)
     
  • Method Details

    • create

      T create(net.minecraft.world.effect.MobEffectCategory category, int color)