Add recepies

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

@ -8,7 +8,7 @@ yarn_mappings=1.20.6+build.3
loader_version=0.15.11 loader_version=0.15.11
# Mod Properties # Mod Properties
mod_version=1.1 mod_version=1.2
maven_group=systems.brn maven_group=systems.brn
archives_base_name=Server_storage archives_base_name=Server_storage

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

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

@ -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
}
}