Class ItemRemapperRegistryEvent

java.lang.Object
org.geysermc.geyser.event.GeyserEvent
org.geysermc.geyser.event.events.registry.ItemRemapperRegistryEvent

public class ItemRemapperRegistryEvent extends GeyserEvent
Triggered when registering Item Remapper Translators
  • Constructor Details

    • ItemRemapperRegistryEvent

      public ItemRemapperRegistryEvent(@NonNull @NonNull Set<Class<?>> registeredTranslators)
  • Method Details

    • getRegisteredTranslators

      @NonNull public @NonNull Set<Class<?>> getRegisteredTranslators()
      List of registered translators
      Returns:
      get the translators
    • setRegisteredTranslators

      public void setRegisteredTranslators(@NonNull @NonNull Set<Class<?>> registeredTranslators)
      List of registered translators
      Parameters:
      registeredTranslators - set the translators
    • toString

      public String toString()
      Overrides:
      toString in class GeyserEvent
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class GeyserEvent
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class GeyserEvent
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class GeyserEvent