Class PotionMixRegistryLoader

java.lang.Object
org.geysermc.geyser.registry.loader.PotionMixRegistryLoader
All Implemented Interfaces:
RegistryLoader<Object,​Set<com.nukkitx.protocol.bedrock.data.inventory.PotionMixData>>

public class PotionMixRegistryLoader extends Object implements RegistryLoader<Object,​Set<com.nukkitx.protocol.bedrock.data.inventory.PotionMixData>>
Generates a collection of PotionMixData that enables the Bedrock client to place brewing items into the brewing stand. (Does not contain actual potion mixes.) Designed to replicate Java Edition behavior. (Ex: Bedrock cannot normally place glass bottles or fully upgraded potions into the brewing stand, but Java can.)
  • Constructor Details

    • PotionMixRegistryLoader

      public PotionMixRegistryLoader()
  • Method Details

    • load

      public Set<com.nukkitx.protocol.bedrock.data.inventory.PotionMixData> load(Object input)
      Description copied from interface: RegistryLoader
      Loads an output from the given input.
      Specified by:
      load in interface RegistryLoader<Object,​Set<com.nukkitx.protocol.bedrock.data.inventory.PotionMixData>>
      Parameters:
      input - the input
      Returns:
      the output