Class HTDeferredBlockAndItem

  • All Implemented Interfaces:
    hiiragi283.core.api.registry.HTHolderLike , hiiragi283.core.api.registry.HTItemLike , hiiragi283.core.api.resource.HTIdLike , hiiragi283.core.api.resource.HTKeyLike , hiiragi283.core.api.resource.SupplierWithId , hiiragi283.core.api.text.HTHasText , hiiragi283.core.api.text.HTHasTranslationKey , java.util.function.Supplier , net.minecraft.world.level.ItemLike

    
    public final class HTDeferredBlockAndItem<BLOCK extends Block, ITEM extends Item>
     implements HTHolderLike<Block, BLOCK>, HTHasTranslationKey, HTHasText, HTItemLike<ITEM>
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final HTItemHolderLike<ITEM> getItemHolder()
      String getTranslationKey()
      String getNamespace()
      String getPath()
      Component getText() テキストを取得します。
      • Methods inherited from class hiiragi283.core.api.registry.HTHolderLike

        getHolder, getResourceKey, unwrap
      • Methods inherited from class java.util.function.Supplier

        get
      • Methods inherited from class hiiragi283.core.api.resource.HTIdLike

        getId
      • Methods inherited from class hiiragi283.core.api.registry.HTItemLike

        asItem, isOf, isOf, toResource, toResource, toStack
      • Methods inherited from class java.lang.Object

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