Interface EntityEvents.Load

Enclosing class:
EntityEvents
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface EntityEvents.Load
An entity was added to a server level: spawned, or loaded with its chunk (players too, when they join).
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onLoad(net.minecraft.world.entity.Entity entity, net.minecraft.server.level.ServerLevel level)
     
  • Method Details

    • onLoad

      void onLoad(net.minecraft.world.entity.Entity entity, net.minecraft.server.level.ServerLevel level)