Interface IntOrUUID

All Known Implementing Classes:
IntOrUUID.IntImpl, IntOrUUID.UUIDImpl

public sealed interface IntOrUUID permits IntOrUUID.IntImpl, IntOrUUID.UUIDImpl
  • Field Details

  • Method Details

    • of

      static IntOrUUID of(int value)
    • of

      static IntOrUUID of(UUID value)
    • either

      com.mojang.datafixers.util.Either<Integer,UUID> either()
    • optionalInt

      OptionalInt optionalInt()
    • optionalUUID

      Optional<UUID> optionalUUID()
    • testEntity

      boolean testEntity(net.minecraft.world.entity.Entity entity)
    • getEntity

      @Nullable @Nullable net.minecraft.world.entity.Entity getEntity(net.minecraft.world.level.Level level)