Class CustomItemRegistryPopulator
java.lang.Object
org.geysermc.geyser.registry.populator.CustomItemRegistryPopulator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidpopulate(Map<String, GeyserMappingItem> items, com.google.common.collect.Multimap<String, org.geysermc.geyser.api.item.custom.CustomItemData> customItems, List<org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData> nonVanillaCustomItems) static GeyserCustomMappingDataregisterCustomItem(String customItemName, Item javaItem, GeyserMappingItem mapping, org.geysermc.geyser.api.item.custom.CustomItemData customItemData, int bedrockId) static NonVanillaItemRegistrationregisterCustomItem(org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData customItemData, int customItemId)
-
Constructor Details
-
CustomItemRegistryPopulator
public CustomItemRegistryPopulator()
-
-
Method Details
-
populate
public static void populate(Map<String, GeyserMappingItem> items, com.google.common.collect.Multimap<String, org.geysermc.geyser.api.item.custom.CustomItemData> customItems, List<org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData> nonVanillaCustomItems) -
registerCustomItem
public static GeyserCustomMappingData registerCustomItem(String customItemName, Item javaItem, GeyserMappingItem mapping, org.geysermc.geyser.api.item.custom.CustomItemData customItemData, int bedrockId) -
registerCustomItem
public static NonVanillaItemRegistration registerCustomItem(org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData customItemData, int customItemId)
-