Class InventoryTranslatorRegistryEvent
java.lang.Object
org.geysermc.geyser.event.GeyserEvent
org.geysermc.geyser.event.events.registry.InventoryTranslatorRegistryEvent
-
Constructor Summary
ConstructorDescriptionInventoryTranslatorRegistryEvent(@NonNull Map<com.github.steveice10.mc.protocol.data.game.inventory.ContainerType,InventoryTranslator> registeredTranslators)
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
@NonNull Map<com.github.steveice10.mc.protocol.data.game.inventory.ContainerType,InventoryTranslator>
List of registered translatorsint
hashCode()
void
setRegisteredTranslators(@NonNull Map<com.github.steveice10.mc.protocol.data.game.inventory.ContainerType,InventoryTranslator> registeredTranslators)
List of registered translatorstoString()
-
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
- Overrides:
toString
in classGeyserEvent
-
equals
- Overrides:
equals
in classGeyserEvent
-
canEqual
- Overrides:
canEqual
in classGeyserEvent
-
hashCode
public int hashCode()- Overrides:
hashCode
in classGeyserEvent
-