Class EventHandler
java.lang.Object
dev.cammiescorner.icarus.neoforge.EventHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.world.entity.ai.attributes.AttributeModifierstatic final net.minecraft.resources.ResourceLocation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidonPlayerJoin(net.neoforged.neoforge.event.entity.player.PlayerEvent.PlayerLoggedInEvent event) static voidonPlayerTick(net.neoforged.neoforge.event.tick.PlayerTickEvent.Pre event) static voidpotionBuilder(net.neoforged.neoforge.event.brewing.RegisterBrewingRecipesEvent event)
-
Field Details
-
WINGS_FLIGHT_MODIFIER_ID
public static final net.minecraft.resources.ResourceLocation WINGS_FLIGHT_MODIFIER_ID -
WINGS_FLIGHT
public static final net.minecraft.world.entity.ai.attributes.AttributeModifier WINGS_FLIGHT
-
-
Constructor Details
-
EventHandler
public EventHandler()
-
-
Method Details
-
onPlayerTick
public static void onPlayerTick(net.neoforged.neoforge.event.tick.PlayerTickEvent.Pre event) -
potionBuilder
public static void potionBuilder(net.neoforged.neoforge.event.brewing.RegisterBrewingRecipesEvent event) -
onPlayerJoin
public static void onPlayerJoin(net.neoforged.neoforge.event.entity.player.PlayerEvent.PlayerLoggedInEvent event)
-