Add recepies

This commit is contained in:
2024-05-24 21:09:06 +02:00
parent dbf738b492
commit 165e6c6b16
4 changed files with 46 additions and 3 deletions

View File

@@ -13,11 +13,11 @@ public class ServerStorage implements ModInitializer {
@Override
public void onInitialize()
{
StorageBlock.register();
StorageBlockItem.register();
PolymerResourcePackUtils.addModAssets(MODID);
PolymerResourcePackUtils.markAsRequired();
StorageBlock.register();
StorageBlockItem.register();
}
}

View File

@@ -0,0 +1,19 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "serverstorage:storage"
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
}
]
}

View File

@@ -0,0 +1,24 @@
{
"type": "minecraft:crafting_shaped",
"category": "redstone",
"pattern": [
"#A#",
"AEA",
"#A#"
],
"key": {
"#": {
"item": "minecraft:diamond"
},
"A": {
"item": "minecraft:redstone"
},
"E": {
"item": "minecraft:chest"
}
},
"result": {
"id": "serverstorage:storage",
"count": 1
}
}