Class EntityJoinedWorldTest

java.lang.Object
net.minecraftforge.eventtest.internal.EventTest
net.minecraftforge.eventtest.tests.forge.client.EntityJoinedWorldTest

public class EntityJoinedWorldTest extends EventTest
Test case for the EntityJoinWorldEvent. Event fires during gameplay. Success condition: EntityJoinWorldEvent fired for Minecraft.getInstance().player Failure info: "EntityJoinWorldEvent was not fired"
  • 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 class EventTest
    • eventListener

      private void eventListener(EntityJoinLevelEvent event)