MCPcopy Create free account
hub / github.com/Teneted/Tenet / postEvent

Method postEvent

src/main/java/net/minecraftforge/fml/ModLoader.java:325–331  ·  view source on GitHub ↗
(T e)

Source from the content-addressed store, hash-verified

323 }
324
325 public <T extends Event & IModBusEvent> void postEvent(T e) {
326 if (!loadingStateValid) {
327 LOGGER.error("Cowardly refusing to send event {} to a broken mod state", e.getClass().getName());
328 return;
329 }
330 ModList.get().forEachModContainer((id, mc) -> mc.acceptEvent(e));
331 }
332
333 public List<ModLoadingWarning> getWarnings()
334 {

Callers 6

onTextureStitchedPreMethod · 0.80
onTextureStitchedPostMethod · 0.80
onBlockColorsInitMethod · 0.80
onItemColorsInitMethod · 0.80
onModelBakeMethod · 0.80
onModelLoadingStartMethod · 0.80

Calls 4

getMethod · 0.95
forEachModContainerMethod · 0.80
getNameMethod · 0.65
acceptEventMethod · 0.45

Tested by

no test coverage detected