Class BeaconEffectRegistry

java.lang.Object
net.frozenblock.lib.block.api.beacon.BeaconEffectRegistry

public class BeaconEffectRegistry extends Object
A helper class for adding new MobEffects to the Beacon.
  • Constructor Details

    • BeaconEffectRegistry

      public BeaconEffectRegistry()
  • Method Details

    • register

      public static void register(net.minecraft.world.effect.MobEffect effect, int tier)
      Adds a MobEffect to the Beacon.
      Parameters:
      effect - The MobEffect to add.
      tier - The tier to add the MobEffect to. Tier 4 contains Regeneration and can be used simultaneously with tier 1-3 effects.