Class TesseraDefaultLangProvider

java.lang.Object
net.neoforged.neoforge.common.data.LanguageProvider
com.mosaicmodding.tessera.datagen.providers.TesseraDefaultLangProvider
All Implemented Interfaces:
net.minecraft.data.DataProvider

public class TesseraDefaultLangProvider extends net.neoforged.neoforge.common.data.LanguageProvider
  • Constructor Details

    • TesseraDefaultLangProvider

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

    • addTranslations

      protected void addTranslations()
      Specified by:
      addTranslations in class net.neoforged.neoforge.common.data.LanguageProvider
    • forItems

      protected void forItems(List<Supplier<net.minecraft.world.item.Item>> items, @Nullable @Nullable Function<String,String> additionalStringProcessor)
    • forItems

      protected void forItems(List<Supplier<net.minecraft.world.item.Item>> items)
    • forBlocks

      protected void forBlocks(List<Supplier<net.minecraft.world.level.block.Block>> blocks, @Nullable @Nullable Function<String,String> additionalStringProcessor)
    • forBlocks

      protected void forBlocks(List<Supplier<net.minecraft.world.level.block.Block>> blocks)
    • forEntities

      protected void forEntities(List<Supplier<net.minecraft.world.entity.EntityType<?>>> entities, @Nullable @Nullable Function<String,String> additionalStringProcessor)
    • forEntities

      protected void forEntities(List<Supplier<net.minecraft.world.entity.EntityType<?>>> entities)
    • forMobEffects

      protected void forMobEffects(List<Supplier<net.minecraft.world.effect.MobEffect>> effects, @Nullable @Nullable Function<String,String> additionalStringProcessor)
    • forMobEffects

      protected void forMobEffects(List<Supplier<net.minecraft.world.effect.MobEffect>> effects)
    • forRegistry

      protected <T> void forRegistry(List<Supplier<T>> entries, net.minecraft.core.Registry<T> registry, @Nullable @Nullable Function<String,String> additionalStringProcessor, BiConsumer<T,String> translationConsumer)
    • toTitleCase

      protected static String toTitleCase(String path)