Package com.binaris.wizardry.content
Class ForfeitRegistry
java.lang.Object
com.binaris.wizardry.content.ForfeitRegistry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidcreate(String name, SpellTier tier, Element element, BiConsumer<net.minecraft.world.level.Level, net.minecraft.world.entity.player.Player> effect) static voidcreate(net.minecraft.resources.ResourceLocation location, SpellTier tier, Element element, BiConsumer<net.minecraft.world.level.Level, net.minecraft.world.entity.player.Player> effect) static ForfeitgetRandomForfeit(Random random, SpellTier tier, Element element) static booleanisCollisionShapeFullBlock(net.minecraft.world.level.BlockGetter blockGetter, net.minecraft.core.BlockPos pos) static voidregister()static voidsummon(net.minecraft.world.level.Level world, @Nullable net.minecraft.core.BlockPos pos, net.minecraft.world.entity.Entity entity, double xOffset, double yOffset, double zOffset)
-
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
-
getForfeits
-
getRandomForfeit
-
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)
-