parent
42e7a2af08
commit
62ce1dff3f
|
@ -4,14 +4,14 @@ org.gradle.parallel=true
|
|||
|
||||
# Fabric Properties
|
||||
# check these on https://fabricmc.net/develop
|
||||
minecraft_version=1.20.5
|
||||
yarn_mappings=1.20.5+build.1
|
||||
minecraft_version=1.21
|
||||
yarn_mappings=1.21+build.9
|
||||
loader_version=0.16.9
|
||||
|
||||
# Mod Properties
|
||||
mod_version = 1.0.2-1.20.5
|
||||
mod_version = 1.0.2-1.21
|
||||
maven_group = me.daviddgtnt
|
||||
archives_base_name = stringtools
|
||||
|
||||
# Dependencies
|
||||
fabric_version=0.97.8+1.20.5
|
||||
fabric_version=0.102.0+1.21
|
||||
|
|
|
@ -17,12 +17,12 @@ public class Main implements ModInitializer {
|
|||
|
||||
@Override
|
||||
public void onInitialize() {
|
||||
Registry.register(Registries.ITEM, new Identifier("stringtools", "string_stick"), STRING_STICK);
|
||||
Registry.register(Registries.ITEM, new Identifier("stringtools", "string_sword"), STRING_SWORD);
|
||||
Registry.register(Registries.ITEM, new Identifier("stringtools", "string_pickaxe"), STRING_PICKAXE);
|
||||
Registry.register(Registries.ITEM, new Identifier("stringtools", "string_axe"), STRING_AXE);
|
||||
Registry.register(Registries.ITEM, new Identifier("stringtools", "string_shovel"), STRING_SHOVEL);
|
||||
Registry.register(Registries.ITEM, new Identifier("stringtools", "string_hoe"), STRING_HOE);
|
||||
Registry.register(Registries.ITEM, Identifier.of("stringtools", "string_stick"), STRING_STICK);
|
||||
Registry.register(Registries.ITEM, Identifier.of("stringtools", "string_sword"), STRING_SWORD);
|
||||
Registry.register(Registries.ITEM, Identifier.of("stringtools", "string_pickaxe"), STRING_PICKAXE);
|
||||
Registry.register(Registries.ITEM, Identifier.of("stringtools", "string_axe"), STRING_AXE);
|
||||
Registry.register(Registries.ITEM, Identifier.of("stringtools", "string_shovel"), STRING_SHOVEL);
|
||||
Registry.register(Registries.ITEM, Identifier.of("stringtools", "string_hoe"), STRING_HOE);
|
||||
|
||||
ItemGroupEvents.modifyEntriesEvent(ItemGroups.INGREDIENTS).register(content -> content.addBefore(Items.STICK, STRING_STICK));
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "stringtools",
|
||||
"version": "1.0.2-1.20.5",
|
||||
"version": "1.0.2-1.21",
|
||||
|
||||
"name": "String Tools",
|
||||
"description": "Single use tools made out of string!",
|
||||
|
@ -26,7 +26,7 @@
|
|||
"depends": {
|
||||
"fabricloader": ">=0.16.9",
|
||||
"fabric-api": "*",
|
||||
"minecraft": "~1.20.5",
|
||||
"minecraft": "~1.21",
|
||||
"java": ">=21"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue