Class InventoryTranslatorRegistryEvent

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

public class InventoryTranslatorRegistryEvent extends GeyserEvent
  • Constructor Details

    • InventoryTranslatorRegistryEvent

      public InventoryTranslatorRegistryEvent(@NonNull @NonNull Map<com.github.steveice10.mc.protocol.data.game.inventory.ContainerType,​InventoryTranslator> registeredTranslators)
  • Method Details

    • getRegisteredTranslators

      @NonNull public @NonNull Map<com.github.steveice10.mc.protocol.data.game.inventory.ContainerType,​InventoryTranslator> getRegisteredTranslators()
      List of registered translators
      Returns:
      get the translators
    • setRegisteredTranslators

      public void setRegisteredTranslators(@NonNull @NonNull Map<com.github.steveice10.mc.protocol.data.game.inventory.ContainerType,​InventoryTranslator> 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