Class FWLangGen

java.lang.Object
net.minecraftforge.common.data.LanguageProvider
nokunami.floral_warfare.data.provider.FWLangGen
All Implemented Interfaces:
net.minecraft.data.DataProvider

public class FWLangGen extends net.minecraftforge.common.data.LanguageProvider
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.minecraft.data.DataProvider

    net.minecraft.data.DataProvider.Factory<T extends net.minecraft.data.DataProvider>
  • Field Summary

    Fields inherited from interface net.minecraft.data.DataProvider

    FIXED_ORDER_FIELDS, KEY_COMPARATOR, LOGGER
  • Constructor Summary

    Constructors
    Constructor
    Description
    FWLangGen(net.minecraft.data.PackOutput output, String modid, String locale)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(Supplier<net.minecraft.world.entity.ai.attributes.Attribute> attribute, String name)
     
    void
    addDamage(String sub, String type1, String type2, String type3)
     
    void
    addFamily(Supplier<PlantFamily> familySupplier, String name)
     
    void
     
    protected void
     

    Methods inherited from class net.minecraftforge.common.data.LanguageProvider

    add, add, add, add, add, add, add, addBlock, addEffect, addEnchantment, addEntityType, addItem, addItemStack, getName, run

    Methods inherited from class java.lang.Object

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

    • FWLangGen

      public FWLangGen(net.minecraft.data.PackOutput output, String modid, String locale)
  • Method Details

    • addTranslations

      protected void addTranslations()
      Specified by:
      addTranslations in class net.minecraftforge.common.data.LanguageProvider
    • addSoundSubtitles

      public void addSoundSubtitles(String sub, String name)
    • addDamage

      public void addDamage(String sub, String type1, String type2, String type3)
    • add

      public void add(Supplier<net.minecraft.world.entity.ai.attributes.Attribute> attribute, String name)
    • addFamily

      public void addFamily(Supplier<PlantFamily> familySupplier, String name)