This commit is contained in:
2026-02-26 10:32:41 +01:00
parent 284cd1a547
commit 00ba9dc23b
6 changed files with 15 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ minecraft_version=1.20.1
yarn_mappings=1.20.1+build.10
loader_version=0.18.3
# Mod Properties
mod_version=26.2.25
mod_version=26.2.26
maven_group=dev.tggamesyt
archives_base_name=szar
# Dependencies

View File

@@ -647,6 +647,11 @@ public class Szar implements ModInitializer {
})
);
});
Registry.register(
Registries.ITEM,
new Identifier(MOD_ID, "towers"),
new BlockItem(OBELISK_CORE, new Item.Settings())
);
}
public static final StructurePieceType TNT_OBELISK_PIECE =
Registry.register(

View File

@@ -72,5 +72,6 @@
"entity.szar.merl": "Merl",
"item.szar.merl_spawn_egg": "Merl Spawn Egg",
"effect.szar.pregnant": "Pregnant",
"entity.szar.kid": "Kid"
"entity.szar.kid": "Kid",
"block.szar.obelisk_core": "Towers Core Block"
}

View File

@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "szar:item/towers"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 465 B

View File

@@ -5,7 +5,7 @@
}
},
"display": {
"icon": { "item": "minecraft:tnt" },
"icon": { "item": "szar:towers" },
"title": "Hmm, familiar...",
"description": "You were there when the towers fell",
"frame": "challenge",