Class ForfeitRegistry

java.lang.Object
com.binaris.wizardry.content.ForfeitRegistry

public class ForfeitRegistry extends Object
  • Constructor Details

    • ForfeitRegistry

      public ForfeitRegistry()
  • Method Details

    • create

      public static void create(String name, SpellTier tier, Element element, BiConsumer<net.minecraft.world.level.Level,net.minecraft.world.entity.player.Player> effect)
    • create

      public static void create(net.minecraft.resources.ResourceLocation location, SpellTier tier, Element element, BiConsumer<net.minecraft.world.level.Level,net.minecraft.world.entity.player.Player> effect)
    • create

      public static void create(Forfeit forfeit)
    • getForfeits

      public static Set<Forfeit> getForfeits()
    • getRandomForfeit

      public static Forfeit getRandomForfeit(Random random, SpellTier tier, Element element)
    • register

      public static void register()
    • isCollisionShapeFullBlock

      public static boolean isCollisionShapeFullBlock(net.minecraft.world.level.BlockGetter blockGetter, net.minecraft.core.BlockPos pos)
    • summon

      public static void summon(net.minecraft.world.level.Level world, @Nullable @Nullable net.minecraft.core.BlockPos pos, net.minecraft.world.entity.Entity entity, double xOffset, double yOffset, double zOffset)