Package org.geysermc.geyser.event.type
Class GeyserDefineCustomItemsEventImpl
java.lang.Object
org.geysermc.geyser.event.type.GeyserDefineCustomItemsEventImpl
- All Implemented Interfaces:
org.geysermc.event.Event,org.geysermc.geyser.api.event.lifecycle.GeyserDefineCustomItemsEvent
public abstract class GeyserDefineCustomItemsEventImpl
extends Object
implements org.geysermc.geyser.api.event.lifecycle.GeyserDefineCustomItemsEvent
-
Constructor Summary
ConstructorsConstructorDescriptionGeyserDefineCustomItemsEventImpl(com.google.common.collect.Multimap<org.geysermc.geyser.api.util.Identifier, org.geysermc.geyser.api.item.custom.v2.CustomItemDefinition> customItems, com.google.common.collect.Multimap<org.geysermc.geyser.api.util.Identifier, org.geysermc.geyser.api.item.custom.v2.NonVanillaCustomItemDefinition> nonVanillaCustomItems) -
Method Summary
Modifier and TypeMethodDescription@NonNull Map<org.geysermc.geyser.api.util.Identifier,Collection<org.geysermc.geyser.api.item.custom.v2.CustomItemDefinition>> @NonNull Map<String,Collection<org.geysermc.geyser.api.item.custom.CustomItemData>> Deprecated.@NonNull List<org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData>Deprecated.@NonNull Map<org.geysermc.geyser.api.util.Identifier,Collection<org.geysermc.geyser.api.item.custom.v2.NonVanillaCustomItemDefinition>> booleanregister(@NonNull String identifier, @NonNull org.geysermc.geyser.api.item.custom.CustomItemData customItemData) Deprecated.booleanregister(@NonNull org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData customItemData) Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.geysermc.geyser.api.event.lifecycle.GeyserDefineCustomItemsEvent
register, register
-
Constructor Details
-
GeyserDefineCustomItemsEventImpl
public GeyserDefineCustomItemsEventImpl(com.google.common.collect.Multimap<org.geysermc.geyser.api.util.Identifier, org.geysermc.geyser.api.item.custom.v2.CustomItemDefinition> customItems, com.google.common.collect.Multimap<org.geysermc.geyser.api.util.Identifier, org.geysermc.geyser.api.item.custom.v2.NonVanillaCustomItemDefinition> nonVanillaCustomItems)
-
-
Method Details
-
getExistingCustomItems
@Deprecated public @NonNull Map<String,Collection<org.geysermc.geyser.api.item.custom.CustomItemData>> getExistingCustomItems()Deprecated.- Specified by:
getExistingCustomItemsin interfaceorg.geysermc.geyser.api.event.lifecycle.GeyserDefineCustomItemsEvent
-
customItemDefinitions
public @NonNull Map<org.geysermc.geyser.api.util.Identifier,Collection<org.geysermc.geyser.api.item.custom.v2.CustomItemDefinition>> customItemDefinitions()- Specified by:
customItemDefinitionsin interfaceorg.geysermc.geyser.api.event.lifecycle.GeyserDefineCustomItemsEvent
-
getExistingNonVanillaCustomItems
@Deprecated public @NonNull List<org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData> getExistingNonVanillaCustomItems()Deprecated.- Specified by:
getExistingNonVanillaCustomItemsin interfaceorg.geysermc.geyser.api.event.lifecycle.GeyserDefineCustomItemsEvent
-
nonVanillaCustomItemDefinitions
public @NonNull Map<org.geysermc.geyser.api.util.Identifier,Collection<org.geysermc.geyser.api.item.custom.v2.NonVanillaCustomItemDefinition>> nonVanillaCustomItemDefinitions()- Specified by:
nonVanillaCustomItemDefinitionsin interfaceorg.geysermc.geyser.api.event.lifecycle.GeyserDefineCustomItemsEvent
-
register
@Deprecated public boolean register(@NonNull String identifier, @NonNull org.geysermc.geyser.api.item.custom.CustomItemData customItemData) Deprecated.- Specified by:
registerin interfaceorg.geysermc.geyser.api.event.lifecycle.GeyserDefineCustomItemsEvent
-
register
@Deprecated public boolean register(@NonNull org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData customItemData) Deprecated.- Specified by:
registerin interfaceorg.geysermc.geyser.api.event.lifecycle.GeyserDefineCustomItemsEvent
-