Class PotionMixRegistryLoader

java.lang.Object
org.geysermc.geyser.registry.loader.PotionMixRegistryLoader
All Implemented Interfaces:
RegistryLoader<Object,it.unimi.dsi.fastutil.ints.Int2ObjectMap<Set<org.cloudburstmc.protocol.bedrock.data.inventory.crafting.PotionMixData>>>

public class PotionMixRegistryLoader extends Object implements RegistryLoader<Object,it.unimi.dsi.fastutil.ints.Int2ObjectMap<Set<org.cloudburstmc.protocol.bedrock.data.inventory.crafting.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 it.unimi.dsi.fastutil.ints.Int2ObjectMap<Set<org.cloudburstmc.protocol.bedrock.data.inventory.crafting.PotionMixData>> load(Object input)
      Description copied from interface: RegistryLoader
      Loads an output from the given input.
      Specified by:
      load in interface RegistryLoader<Object,it.unimi.dsi.fastutil.ints.Int2ObjectMap<Set<org.cloudburstmc.protocol.bedrock.data.inventory.crafting.PotionMixData>>>
      Parameters:
      input - the input
      Returns:
      the output