Interface EntityLoadData


public interface EntityLoadData
Represents extra load data for an Entity.
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
     
    default @Nullable net.minecraft.world.entity.EntitySpawnReason
     
  • Method Details

    • spawnReason

      default @Nullable net.minecraft.world.entity.EntitySpawnReason spawnReason()
      Returns:
      The EntitySpawnReason, which can be null. On the client, this is almost always EntitySpawnReason.LOAD.
    • isLoadedFromDisk

      default boolean isLoadedFromDisk()
      Returns:
      true if the entity was loaded from disk. On the client, this is always false.