mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-12-27 02:39:15 +00:00
Add custom items to registry
This commit is contained in:
@@ -496,6 +496,7 @@ public class ItemRegistryPopulator {
|
||||
mappings.add(ItemMapping.AIR);
|
||||
}
|
||||
mappings.set(javaItem.javaId(), mapping);
|
||||
registry.put(customItemId, mapping.getBedrockDefinition());
|
||||
|
||||
if (customItem.creativeGroup() != null || customItem.creativeCategory().isPresent()) {
|
||||
creativeItems.add(ItemData.builder()
|
||||
|
||||
Reference in New Issue
Block a user