Add custom items to registry

This commit is contained in:
rtm516 2023-05-08 20:54:49 +01:00
parent d8acb6a82c
commit 6da8d5e7be
No known key found for this signature in database
GPG key ID: 331715B8B007C67A

View file

@ -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()