Class BuildableInteractionResult.Variable<T>

java.lang.Object
com.pixelmonmod.pixelmon.api.npc.interaction.result.BuildableInteractionResult.Variable<T>
Enclosing class:
BuildableInteractionResult

protected static class BuildableInteractionResult.Variable<T> extends Object
  • Field Details

    • label

      protected final net.minecraft.network.chat.Component label
    • name

      protected final String name
    • codec

      protected final com.mojang.serialization.Codec<T> codec
    • defaultValue

      protected final T defaultValue
    • inputTypeCreator

      protected final BiFunction<T,net.minecraft.network.chat.Component,InputType<T>> inputTypeCreator
    • value

      protected T value
  • Constructor Details

    • Variable

      protected Variable(String name, net.minecraft.network.chat.Component label, T value, com.mojang.serialization.Codec<T> codec, BiFunction<T,net.minecraft.network.chat.Component,InputType<T>> inputTypeCreator)
  • Method Details