Record Class MaterialChoiceWrapper

java.lang.Object
java.lang.Record
de.eldoria.jacksonbukkit.entities.MaterialChoiceWrapper
All Implemented Interfaces:
RecipeChoiceWrapper<RecipeChoice.MaterialChoice>

public record MaterialChoiceWrapper(List<Material> choices) extends Record implements RecipeChoiceWrapper<RecipeChoice.MaterialChoice>
Class for wrapping a RecipeChoice.MaterialChoice.
  • Constructor Details

    • MaterialChoiceWrapper

      public MaterialChoiceWrapper(List<Material> choices)
      Creates an instance of a MaterialChoiceWrapper record class.
      Parameters:
      choices - the value for the choices record component
  • Method Details