Class HTLangProvider

  • All Implemented Interfaces:
    net.minecraft.data.DataProvider

    
    public abstract class HTLangProvider
    extends LanguageProvider
                        

    Hiiragi Coreとそれを前提とするmodで使用されるLanguageProviderの拡張クラスです。

    Since:

    0.1.0

    Author:

    Hiiragi Tsubasa

    • 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 String getModId()
      final HTLangType getLangType()
      final Unit add(HTHasTranslationKey translatable, String value) HTHasTranslationKey.translationKeyに基づいて翻訳名を追加します。
      final Unit addFluid(HTFluidContent content, String value) 液体の翻訳名を登録します。
      • Methods inherited from class net.neoforged.neoforge.common.data.LanguageProvider

        add, add, add, add, add, add, add, addBlock, addDimension, addEffect, addEntityType, addItem, addItemStack, addTag, getName
      • Methods inherited from class net.minecraft.data.DataProvider

        run
      • Methods inherited from class java.lang.Object

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