Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-10-03 08:21:06 +02:00
Add custom items to registry
Dieser Commit ist enthalten in:
Ursprung
d8acb6a82c
Commit
6da8d5e7be
@ -496,6 +496,7 @@ public class ItemRegistryPopulator {
|
|||||||
mappings.add(ItemMapping.AIR);
|
mappings.add(ItemMapping.AIR);
|
||||||
}
|
}
|
||||||
mappings.set(javaItem.javaId(), mapping);
|
mappings.set(javaItem.javaId(), mapping);
|
||||||
|
registry.put(customItemId, mapping.getBedrockDefinition());
|
||||||
|
|
||||||
if (customItem.creativeGroup() != null || customItem.creativeCategory().isPresent()) {
|
if (customItem.creativeGroup() != null || customItem.creativeCategory().isPresent()) {
|
||||||
creativeItems.add(ItemData.builder()
|
creativeItems.add(ItemData.builder()
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren