Class ComponentConverters

java.lang.Object
org.geysermc.geyser.item.custom.ComponentConverters

public class ComponentConverters extends Object
This class is used to convert components from the API module to MCPL ones.

Most components convert over nicely, and it is very much preferred to have every API component have a converter in here. However, this is not always possible. At the moment, there is one exception:

  • Non-vanilla data components (from GeyserItemDataComponents) don't have converters registered, for obvious reasons. They're used directly in the custom item registry populator. Eventually, some may have converters introduced as Mojang introduces such components in Java.
For both of these cases proper accommodations have been made in the CustomItemRegistryPopulator.
  • Constructor Details

    • ComponentConverters

      public ComponentConverters()
  • Method Details