Class ExampleBookProviderJava

java.lang.Object
dev.aaronhowser.mods.patchoulidatagen.provider.PatchouliBookProvider
dev.aaronhowser.mods.patchoulidatagen.example_java.ExampleBookProviderJava
All Implemented Interfaces:
net.minecraft.data.DataProvider

public class ExampleBookProviderJava extends dev.aaronhowser.mods.patchoulidatagen.provider.PatchouliBookProvider
  • Nested Class Summary

    Nested classes/interfaces inherited from class dev.aaronhowser.mods.patchoulidatagen.provider.PatchouliBookProvider

    dev.aaronhowser.mods.patchoulidatagen.provider.PatchouliBookProvider.Companion

    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 class dev.aaronhowser.mods.patchoulidatagen.provider.PatchouliBookProvider

    BOLD, BR, BR2, Companion, ITALIC, LI, LI2, LI3, OBFUSCATED, RESET, STRIKETHROUGH, UNDERLINE

    Fields inherited from interface net.minecraft.data.DataProvider

    FIXED_ORDER_FIELDS, INDENT_WIDTH, KEY_COMPARATOR, LOGGER
  • Constructor Summary

    Constructors
    Constructor
    Description
    ExampleBookProviderJava(@NotNull net.minecraft.data.DataGenerator generator, @NotNull String bookName, @NotNull String modId)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    buildPages(@NotNull Consumer<@NotNull dev.aaronhowser.mods.patchoulidatagen.book_element.PatchouliBookElement> consumer)
     

    Methods inherited from class dev.aaronhowser.mods.patchoulidatagen.provider.PatchouliBookProvider

    colored, command, doubleSpacedLines, getBookName, getGenerator, getGson, getModId, getName, internalLink, internalLink, keybind, lines, run, tooltip

    Methods inherited from class java.lang.Object

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

    • ExampleBookProviderJava

      public ExampleBookProviderJava(@NotNull @NotNull net.minecraft.data.DataGenerator generator, @NotNull @NotNull String bookName, @NotNull @NotNull String modId)
  • Method Details

    • buildPages

      public void buildPages(@NotNull @NotNull Consumer<@NotNull dev.aaronhowser.mods.patchoulidatagen.book_element.PatchouliBookElement> consumer)
      Specified by:
      buildPages in class dev.aaronhowser.mods.patchoulidatagen.provider.PatchouliBookProvider