Class StoredEntity<T extends net.minecraft.world.entity.Entity>

java.lang.Object
com.pixelmonmod.pixelmon.api.entity.npc.StoredEntity<T>

public final class StoredEntity<T extends net.minecraft.world.entity.Entity> extends Object
  • Constructor Details

    • StoredEntity

      public StoredEntity(UUID uuid, long creationDate, String displayName, net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> world, net.minecraft.core.BlockPos lastPosition)
  • Method Details

    • findEntity

      public T findEntity(net.minecraft.world.level.Level level)
    • findEntity

      public T findEntity()
    • loadChunk

      public CompletableFuture<net.minecraft.world.level.chunk.ChunkAccess> loadChunk()
    • uuid

      public UUID uuid()
    • creationDate

      public long creationDate()
    • displayName

      public String displayName()
    • displayName

      public void displayName(String displayName)
    • world

      public net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> world()
    • lastPosition

      public net.minecraft.core.BlockPos lastPosition()
    • world

      public void world(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> world)
    • lastPosition

      public void lastPosition(net.minecraft.core.BlockPos lastPosition)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object