Class HTDeferredBlockEntityType

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

    
    public final class HTDeferredBlockEntityType<BE extends BlockEntity>
     implements HTHolderLike<BlockEntityType<?>, BlockEntityType<BE>>
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      ResourceKey<BlockEntityType<?>> getResourceKey() 保持しているResourceKeyを返します。
      BlockEntityType<BE> get()
      final BE create(BlockPos pos, BlockState state)
      final BlockEntityTicker<in BE> getTicker(Boolean isClient)
      • Methods inherited from class hiiragi283.core.api.resource.HTKeyLike

        getId, isOf, isOf
      • Methods inherited from class hiiragi283.core.api.resource.HTIdLike

        getNamespace, getPath
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HTDeferredBlockEntityType

        HTDeferredBlockEntityType(ResourceKey<BlockEntityType<?>> key)
      • HTDeferredBlockEntityType

        HTDeferredBlockEntityType(ResourceLocation id)
    • Method Detail

      • getResourceKey

         ResourceKey<BlockEntityType<?>> getResourceKey()

        保持しているResourceKeyを返します。

      • get

         BlockEntityType<BE> get()
      • create

         final BE create(BlockPos pos, BlockState state)