Package net.minheur.mhm_bitsnbobs.event
Class ModEvents
java.lang.Object
net.minheur.mhm_bitsnbobs.event.ModEvents
The simple events
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidAddCustomTrades(net.minecraftforge.event.village.VillagerTradesEvent event) Adding trades to villager and also to custom villager.static voidAddCustomWanderingTrades(net.minecraftforge.event.village.WandererTradesEvent event) Adding trades to wandering traders.static voidonAttachCapabilities(net.minecraftforge.event.AttachCapabilitiesEvent<net.minecraft.world.entity.Entity> event) This adds acold_headcapability the the player.static voidonClone(net.minecraftforge.event.entity.player.PlayerEvent.Clone event) static voidonPlayerTick(net.minecraftforge.event.TickEvent.PlayerTickEvent event) This runs thecold_headtick system when the player ticks.static voidonRegisterReloadListeners(net.minecraftforge.event.AddReloadListenerEvent event) This is used to runRconKeywordLoader.
-
Constructor Details
-
ModEvents
public ModEvents()
-
-
Method Details
-
AddCustomTrades
public static void AddCustomTrades(net.minecraftforge.event.village.VillagerTradesEvent event) Adding trades to villager and also to custom villager.- Parameters:
event- the event is used to create the trades.
-
AddCustomWanderingTrades
public static void AddCustomWanderingTrades(net.minecraftforge.event.village.WandererTradesEvent event) Adding trades to wandering traders.- Parameters:
event- the event is used to create the trades.
-
onRegisterReloadListeners
public static void onRegisterReloadListeners(net.minecraftforge.event.AddReloadListenerEvent event) This is used to runRconKeywordLoader. -
onAttachCapabilities
public static void onAttachCapabilities(net.minecraftforge.event.AttachCapabilitiesEvent<net.minecraft.world.entity.Entity> event) This adds acold_headcapability the the player.- See Also:
-
onClone
public static void onClone(net.minecraftforge.event.entity.player.PlayerEvent.Clone event) -
onPlayerTick
public static void onPlayerTick(net.minecraftforge.event.TickEvent.PlayerTickEvent event) This runs thecold_headtick system when the player ticks.
-