Class HTSpawnerMob

  • All Implemented Interfaces:
    hiiragi283.core.api.registry.HTHolderLike , hiiragi283.core.api.resource.HTIdLike , hiiragi283.core.api.resource.HTKeyLike , hiiragi283.core.api.resource.SupplierWithId , hiiragi283.core.api.text.HTHasText , java.util.function.Supplier

    @JvmRecord() 
    public final class HTSpawnerMob
    extends Record implements HTHolderLike<EntityType<?>, EntityType<?>>, HTHasText
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getNamespace()
      String getPath()
      Either<ResourceKey<EntityType<?>>, Holder<EntityType<?>>> unwrap()
      EntityType<?> get()
      Component getText()
      final static HTSpawnerMob of(EntityType<?> entityType)
      final static HTSpawnerMob of(Holder<EntityType<?>> holder)
      • Methods inherited from class hiiragi283.core.api.registry.HTHolderLike

        getHolder, getResourceKey
      • Methods inherited from class hiiragi283.core.api.resource.HTIdLike

        getId
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait