Class EntityJoinedWorldTest
java.lang.Object
net.minecraftforge.eventtest.internal.EventTest
net.minecraftforge.eventtest.tests.forge.client.EntityJoinedWorldTest
Test case for the EntityJoinWorldEvent.
Event fires during gameplay.
Success condition:
EntityJoinWorldEvent fired for Minecraft.getInstance().player
Failure info:
"EntityJoinWorldEvent was not fired"
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.eventtest.internal.EventTest
EventTest.Result
-
Field Summary
Fields inherited from class net.minecraftforge.eventtest.internal.EventTest
bootstrap, errorDetail, testResult
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
void
Register event handlers for this event.Methods inherited from class net.minecraftforge.eventtest.internal.EventTest
error, fail, getEnhancedDetail, getTestResult, isBootstrap, pass
-
Constructor Details
-
EntityJoinedWorldTest
public EntityJoinedWorldTest()
-
-
Method Details
-
registerEvents
public void registerEvents()Description copied from class:EventTest
Register event handlers for this event. Trade-off between "magic annotations" and verbosity should be evaluated.- Specified by:
registerEvents
in classEventTest
-
eventListener
-