Updated gitignore. Updated mod id across project. Fixed gradle not replacing properties in mods.toml.
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "totemofreviving:item/diamond_charge"
|
||||
"layer0": "totem_of_reviving:item/diamond_charge"
|
||||
}
|
||||
}
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "totemofreviving:item/diamond_totem"
|
||||
"layer0": "totem_of_reviving:item/diamond_totem"
|
||||
}
|
||||
}
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "totemofreviving:item/iron_charge"
|
||||
"layer0": "totem_of_reviving:item/iron_charge"
|
||||
}
|
||||
}
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "totemofreviving:item/iron_totem"
|
||||
"layer0": "totem_of_reviving:item/iron_totem"
|
||||
}
|
||||
}
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "totemofreviving:item/netherite_charge"
|
||||
"layer0": "totem_of_reviving:item/netherite_charge"
|
||||
}
|
||||
}
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "totemofreviving:item/netherite_totem"
|
||||
"layer0": "totem_of_reviving:item/netherite_totem"
|
||||
}
|
||||
}
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "totemofreviving:item/straw_charge"
|
||||
"layer0": "totem_of_reviving:item/straw_charge"
|
||||
}
|
||||
}
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "totemofreviving:item/straw_totem"
|
||||
"layer0": "totem_of_reviving:item/straw_totem"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,32 @@
|
||||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"criteria": {
|
||||
"has_item": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": "totem_of_reviving:diamond_totem"
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"conditions": {
|
||||
"recipe": "totem_of_reviving:diamond_charge"
|
||||
},
|
||||
"trigger": "minecraft:recipe_unlocked"
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_the_recipe",
|
||||
"has_item"
|
||||
]
|
||||
],
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"totem_of_reviving:diamond_charge"
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,32 @@
|
||||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"criteria": {
|
||||
"has_item": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": "minecraft:totem_of_undying"
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"conditions": {
|
||||
"recipe": "totem_of_reviving:diamond_totem"
|
||||
},
|
||||
"trigger": "minecraft:recipe_unlocked"
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_the_recipe",
|
||||
"has_item"
|
||||
]
|
||||
],
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"totem_of_reviving:diamond_totem"
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -5,9 +5,7 @@
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": [
|
||||
"totemofreviving:iron_totem"
|
||||
]
|
||||
"items": "totem_of_reviving:iron_totem"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -15,21 +13,20 @@
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"conditions": {
|
||||
"recipe": "totemofreviving:iron_charge"
|
||||
"recipe": "totem_of_reviving:iron_charge"
|
||||
},
|
||||
"trigger": "minecraft:recipe_unlocked"
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_item",
|
||||
"has_the_recipe"
|
||||
"has_the_recipe",
|
||||
"has_item"
|
||||
]
|
||||
],
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"totemofreviving:iron_charge"
|
||||
"totem_of_reviving:iron_charge"
|
||||
]
|
||||
},
|
||||
"sends_telemetry_event": false
|
||||
}
|
||||
}
|
||||
@ -5,9 +5,7 @@
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": [
|
||||
"minecraft:emerald"
|
||||
]
|
||||
"items": "minecraft:emerald"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -15,21 +13,20 @@
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"conditions": {
|
||||
"recipe": "totemofreviving:iron_totem"
|
||||
"recipe": "totem_of_reviving:iron_totem"
|
||||
},
|
||||
"trigger": "minecraft:recipe_unlocked"
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_item",
|
||||
"has_the_recipe"
|
||||
"has_the_recipe",
|
||||
"has_item"
|
||||
]
|
||||
],
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"totemofreviving:iron_totem"
|
||||
"totem_of_reviving:iron_totem"
|
||||
]
|
||||
},
|
||||
"sends_telemetry_event": false
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,32 @@
|
||||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"criteria": {
|
||||
"has_item": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": "totem_of_reviving:netherite_totem"
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"conditions": {
|
||||
"recipe": "totem_of_reviving:netherite_charge"
|
||||
},
|
||||
"trigger": "minecraft:recipe_unlocked"
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_the_recipe",
|
||||
"has_item"
|
||||
]
|
||||
],
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"totem_of_reviving:netherite_charge"
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,32 @@
|
||||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"criteria": {
|
||||
"has_item": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": "minecraft:netherite_scrap"
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"conditions": {
|
||||
"recipe": "totem_of_reviving:netherite_totem"
|
||||
},
|
||||
"trigger": "minecraft:recipe_unlocked"
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_the_recipe",
|
||||
"has_item"
|
||||
]
|
||||
],
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"totem_of_reviving:netherite_totem"
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -5,9 +5,7 @@
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": [
|
||||
"totemofreviving:straw_totem"
|
||||
]
|
||||
"items": "totem_of_reviving:straw_totem"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -15,21 +13,20 @@
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"conditions": {
|
||||
"recipe": "totemofreviving:straw_charge"
|
||||
"recipe": "totem_of_reviving:straw_charge"
|
||||
},
|
||||
"trigger": "minecraft:recipe_unlocked"
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_item",
|
||||
"has_the_recipe"
|
||||
"has_the_recipe",
|
||||
"has_item"
|
||||
]
|
||||
],
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"totemofreviving:straw_charge"
|
||||
"totem_of_reviving:straw_charge"
|
||||
]
|
||||
},
|
||||
"sends_telemetry_event": false
|
||||
}
|
||||
}
|
||||
@ -5,9 +5,7 @@
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": [
|
||||
"minecraft:wheat"
|
||||
]
|
||||
"items": "minecraft:wheat"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -15,21 +13,20 @@
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"conditions": {
|
||||
"recipe": "totemofreviving:straw_totem"
|
||||
"recipe": "totem_of_reviving:straw_totem"
|
||||
},
|
||||
"trigger": "minecraft:recipe_unlocked"
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_item",
|
||||
"has_the_recipe"
|
||||
"has_the_recipe",
|
||||
"has_item"
|
||||
]
|
||||
],
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"totemofreviving:straw_totem"
|
||||
"totem_of_reviving:straw_totem"
|
||||
]
|
||||
},
|
||||
"sends_telemetry_event": false
|
||||
}
|
||||
}
|
||||
@ -21,7 +21,7 @@
|
||||
"IDI"
|
||||
],
|
||||
"result": {
|
||||
"item": "totemofreviving:diamond_charge"
|
||||
},
|
||||
"show_notification": true
|
||||
"count": 1,
|
||||
"id": "totem_of_reviving:diamond_charge"
|
||||
}
|
||||
}
|
||||
@ -18,7 +18,7 @@
|
||||
"EDE"
|
||||
],
|
||||
"result": {
|
||||
"item": "totemofreviving:diamond_totem"
|
||||
},
|
||||
"show_notification": true
|
||||
"count": 1,
|
||||
"id": "totem_of_reviving:diamond_totem"
|
||||
}
|
||||
}
|
||||
@ -18,7 +18,7 @@
|
||||
"NIN"
|
||||
],
|
||||
"result": {
|
||||
"item": "totemofreviving:iron_charge"
|
||||
},
|
||||
"show_notification": true
|
||||
"count": 1,
|
||||
"id": "totem_of_reviving:iron_charge"
|
||||
}
|
||||
}
|
||||
@ -18,7 +18,7 @@
|
||||
" I "
|
||||
],
|
||||
"result": {
|
||||
"item": "totemofreviving:iron_totem"
|
||||
},
|
||||
"show_notification": true
|
||||
"count": 1,
|
||||
"id": "totem_of_reviving:iron_totem"
|
||||
}
|
||||
}
|
||||
@ -3,7 +3,7 @@
|
||||
"category": "equipment",
|
||||
"key": {
|
||||
"C": {
|
||||
"item": "totemofreviving:diamond_charge"
|
||||
"item": "totem_of_reviving:diamond_charge"
|
||||
},
|
||||
"G": {
|
||||
"item": "minecraft:gold_ingot"
|
||||
@ -18,7 +18,7 @@
|
||||
"GNG"
|
||||
],
|
||||
"result": {
|
||||
"item": "totemofreviving:netherite_charge"
|
||||
},
|
||||
"show_notification": true
|
||||
"count": 1,
|
||||
"id": "totem_of_reviving:netherite_charge"
|
||||
}
|
||||
}
|
||||
@ -12,7 +12,7 @@
|
||||
"item": "minecraft:netherite_scrap"
|
||||
},
|
||||
"T": {
|
||||
"item": "totemofreviving:diamond_totem"
|
||||
"item": "totem_of_reviving:diamond_totem"
|
||||
}
|
||||
},
|
||||
"pattern": [
|
||||
@ -21,7 +21,7 @@
|
||||
"BGB"
|
||||
],
|
||||
"result": {
|
||||
"item": "totemofreviving:netherite_totem"
|
||||
},
|
||||
"show_notification": true
|
||||
"count": 1,
|
||||
"id": "totem_of_reviving:netherite_totem"
|
||||
}
|
||||
}
|
||||
@ -18,7 +18,7 @@
|
||||
"NWN"
|
||||
],
|
||||
"result": {
|
||||
"item": "totemofreviving:straw_charge"
|
||||
},
|
||||
"show_notification": true
|
||||
"count": 1,
|
||||
"id": "totem_of_reviving:straw_charge"
|
||||
}
|
||||
}
|
||||
@ -21,7 +21,7 @@
|
||||
"N|N"
|
||||
],
|
||||
"result": {
|
||||
"item": "totemofreviving:straw_totem"
|
||||
},
|
||||
"show_notification": true
|
||||
"count": 1,
|
||||
"id": "totem_of_reviving:straw_totem"
|
||||
}
|
||||
}
|
||||
@ -1,35 +0,0 @@
|
||||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"criteria": {
|
||||
"has_item": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": [
|
||||
"totemofreviving:diamond_totem"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"conditions": {
|
||||
"recipe": "totemofreviving:diamond_charge"
|
||||
},
|
||||
"trigger": "minecraft:recipe_unlocked"
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_item",
|
||||
"has_the_recipe"
|
||||
]
|
||||
],
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"totemofreviving:diamond_charge"
|
||||
]
|
||||
},
|
||||
"sends_telemetry_event": false
|
||||
}
|
||||
@ -1,35 +0,0 @@
|
||||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"criteria": {
|
||||
"has_item": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": [
|
||||
"minecraft:totem_of_undying"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"conditions": {
|
||||
"recipe": "totemofreviving:diamond_totem"
|
||||
},
|
||||
"trigger": "minecraft:recipe_unlocked"
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_item",
|
||||
"has_the_recipe"
|
||||
]
|
||||
],
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"totemofreviving:diamond_totem"
|
||||
]
|
||||
},
|
||||
"sends_telemetry_event": false
|
||||
}
|
||||
@ -1,35 +0,0 @@
|
||||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"criteria": {
|
||||
"has_item": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": [
|
||||
"totemofreviving:netherite_totem"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"conditions": {
|
||||
"recipe": "totemofreviving:netherite_charge"
|
||||
},
|
||||
"trigger": "minecraft:recipe_unlocked"
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_item",
|
||||
"has_the_recipe"
|
||||
]
|
||||
],
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"totemofreviving:netherite_charge"
|
||||
]
|
||||
},
|
||||
"sends_telemetry_event": false
|
||||
}
|
||||
@ -1,35 +0,0 @@
|
||||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"criteria": {
|
||||
"has_item": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": [
|
||||
"minecraft:netherite_scrap"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"conditions": {
|
||||
"recipe": "totemofreviving:netherite_totem"
|
||||
},
|
||||
"trigger": "minecraft:recipe_unlocked"
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_item",
|
||||
"has_the_recipe"
|
||||
]
|
||||
],
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"totemofreviving:netherite_totem"
|
||||
]
|
||||
},
|
||||
"sends_telemetry_event": false
|
||||
}
|
||||
@ -1,7 +1,7 @@
|
||||
package dev.micle.totemofreviving;
|
||||
package dev.micle.totem_of_reviving;
|
||||
|
||||
import dev.micle.totemofreviving.proxy.IProxy;
|
||||
import dev.micle.totemofreviving.proxy.Proxy;
|
||||
import dev.micle.totem_of_reviving.proxy.IProxy;
|
||||
import dev.micle.totem_of_reviving.proxy.Proxy;
|
||||
import net.minecraft.resources.ResourceLocation;
|
||||
import net.neoforged.api.distmarker.Dist;
|
||||
import net.neoforged.bus.api.IEventBus;
|
||||
@ -1,4 +1,4 @@
|
||||
package dev.micle.totemofreviving.component;
|
||||
package dev.micle.totem_of_reviving.component;
|
||||
|
||||
import com.mojang.serialization.Codec;
|
||||
import com.mojang.serialization.codecs.RecordCodecBuilder;
|
||||
@ -1,6 +1,6 @@
|
||||
package dev.micle.totemofreviving.data;
|
||||
package dev.micle.totem_of_reviving.data;
|
||||
|
||||
import dev.micle.totemofreviving.data.client.ModItemModelProvider;
|
||||
import dev.micle.totem_of_reviving.data.client.ModItemModelProvider;
|
||||
import net.minecraft.data.DataGenerator;
|
||||
import net.neoforged.bus.api.SubscribeEvent;
|
||||
import net.neoforged.fml.common.EventBusSubscriber;
|
||||
@ -1,8 +1,7 @@
|
||||
package dev.micle.totemofreviving.data;
|
||||
package dev.micle.totem_of_reviving.data;
|
||||
|
||||
import dev.micle.totemofreviving.setup.ModItems;
|
||||
import dev.micle.totem_of_reviving.setup.ModItems;
|
||||
import net.minecraft.core.HolderLookup;
|
||||
import net.minecraft.data.DataGenerator;
|
||||
import net.minecraft.data.PackOutput;
|
||||
import net.minecraft.data.recipes.RecipeCategory;
|
||||
import net.minecraft.data.recipes.RecipeOutput;
|
||||
@ -1,14 +1,14 @@
|
||||
package dev.micle.totemofreviving.data.client;
|
||||
package dev.micle.totem_of_reviving.data.client;
|
||||
|
||||
import dev.micle.totemofreviving.TotemOfReviving;
|
||||
import dev.micle.totemofreviving.item.charge.DiamondChargeItem;
|
||||
import dev.micle.totemofreviving.item.charge.IronChargeItem;
|
||||
import dev.micle.totemofreviving.item.charge.NetheriteChargeItem;
|
||||
import dev.micle.totemofreviving.item.charge.StrawChargeItem;
|
||||
import dev.micle.totemofreviving.item.totem.DiamondTotemItem;
|
||||
import dev.micle.totemofreviving.item.totem.IronTotemItem;
|
||||
import dev.micle.totemofreviving.item.totem.NetheriteTotemItem;
|
||||
import dev.micle.totemofreviving.item.totem.StrawTotemItem;
|
||||
import dev.micle.totem_of_reviving.TotemOfReviving;
|
||||
import dev.micle.totem_of_reviving.item.charge.DiamondChargeItem;
|
||||
import dev.micle.totem_of_reviving.item.charge.IronChargeItem;
|
||||
import dev.micle.totem_of_reviving.item.charge.NetheriteChargeItem;
|
||||
import dev.micle.totem_of_reviving.item.charge.StrawChargeItem;
|
||||
import dev.micle.totem_of_reviving.item.totem.DiamondTotemItem;
|
||||
import dev.micle.totem_of_reviving.item.totem.IronTotemItem;
|
||||
import dev.micle.totem_of_reviving.item.totem.NetheriteTotemItem;
|
||||
import dev.micle.totem_of_reviving.item.totem.StrawTotemItem;
|
||||
import net.minecraft.data.DataGenerator;
|
||||
import net.neoforged.neoforge.client.model.generators.ItemModelBuilder;
|
||||
import net.neoforged.neoforge.client.model.generators.ItemModelProvider;
|
||||
@ -1,4 +1,4 @@
|
||||
package dev.micle.totemofreviving.item.charge;
|
||||
package dev.micle.totem_of_reviving.item.charge;
|
||||
|
||||
import net.minecraft.ChatFormatting;
|
||||
import net.minecraft.network.chat.Component;
|
||||
@ -1,4 +1,4 @@
|
||||
package dev.micle.totemofreviving.item.charge;
|
||||
package dev.micle.totem_of_reviving.item.charge;
|
||||
|
||||
import net.minecraft.world.item.Rarity;
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
package dev.micle.totemofreviving.item.charge;
|
||||
package dev.micle.totem_of_reviving.item.charge;
|
||||
|
||||
import net.minecraft.world.item.Rarity;
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
package dev.micle.totemofreviving.item.charge;
|
||||
package dev.micle.totem_of_reviving.item.charge;
|
||||
|
||||
import net.minecraft.world.item.Rarity;
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
package dev.micle.totemofreviving.item.charge;
|
||||
package dev.micle.totem_of_reviving.item.charge;
|
||||
|
||||
import net.minecraft.world.item.Rarity;
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
package dev.micle.totemofreviving.item.totem;
|
||||
package dev.micle.totem_of_reviving.item.totem;
|
||||
|
||||
import dev.micle.totemofreviving.item.charge.DiamondChargeItem;
|
||||
import dev.micle.totemofreviving.setup.Config;
|
||||
import dev.micle.totem_of_reviving.item.charge.DiamondChargeItem;
|
||||
import dev.micle.totem_of_reviving.setup.Config;
|
||||
import net.minecraft.world.item.ItemStack;
|
||||
import net.minecraft.world.item.Rarity;
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
package dev.micle.totemofreviving.item.totem;
|
||||
package dev.micle.totem_of_reviving.item.totem;
|
||||
|
||||
import dev.micle.totemofreviving.item.charge.IronChargeItem;
|
||||
import dev.micle.totemofreviving.setup.Config;
|
||||
import dev.micle.totem_of_reviving.item.charge.IronChargeItem;
|
||||
import dev.micle.totem_of_reviving.setup.Config;
|
||||
import net.minecraft.world.item.ItemStack;
|
||||
import net.minecraft.world.item.Rarity;
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
package dev.micle.totemofreviving.item.totem;
|
||||
package dev.micle.totem_of_reviving.item.totem;
|
||||
|
||||
import dev.micle.totemofreviving.item.charge.NetheriteChargeItem;
|
||||
import dev.micle.totemofreviving.setup.Config;
|
||||
import dev.micle.totem_of_reviving.item.charge.NetheriteChargeItem;
|
||||
import dev.micle.totem_of_reviving.setup.Config;
|
||||
import net.minecraft.world.item.ItemStack;
|
||||
import net.minecraft.world.item.Rarity;
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
package dev.micle.totemofreviving.item.totem;
|
||||
package dev.micle.totem_of_reviving.item.totem;
|
||||
|
||||
import dev.micle.totemofreviving.item.charge.StrawChargeItem;
|
||||
import dev.micle.totemofreviving.setup.Config;
|
||||
import dev.micle.totem_of_reviving.item.charge.StrawChargeItem;
|
||||
import dev.micle.totem_of_reviving.setup.Config;
|
||||
import net.minecraft.world.item.ItemStack;
|
||||
import net.minecraft.world.item.Rarity;
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
package dev.micle.totemofreviving.item.totem;
|
||||
package dev.micle.totem_of_reviving.item.totem;
|
||||
|
||||
import dev.micle.totemofreviving.component.TotemData;
|
||||
import dev.micle.totemofreviving.setup.Config;
|
||||
import dev.micle.totemofreviving.setup.ModDataComponents;
|
||||
import dev.micle.totemofreviving.setup.ModKeyMappings;
|
||||
import dev.micle.totem_of_reviving.component.TotemData;
|
||||
import dev.micle.totem_of_reviving.setup.Config;
|
||||
import dev.micle.totem_of_reviving.setup.ModDataComponents;
|
||||
import dev.micle.totem_of_reviving.setup.ModKeyMappings;
|
||||
import net.minecraft.ChatFormatting;
|
||||
import net.minecraft.network.chat.Component;
|
||||
import net.minecraft.server.level.ServerLevel;
|
||||
@ -1,9 +1,4 @@
|
||||
package dev.micle.totemofreviving.network;
|
||||
|
||||
import dev.micle.totemofreviving.TotemOfReviving;
|
||||
import dev.micle.totemofreviving.network.client.ChangeTargetPacket;
|
||||
import dev.micle.totemofreviving.network.client.ChargeTotemPacket;
|
||||
import dev.micle.totemofreviving.network.client.ReviveTargetPacket;
|
||||
package dev.micle.totem_of_reviving.network;
|
||||
|
||||
public class NetworkManager {
|
||||
// // Initialize variables
|
||||
@ -1,16 +1,4 @@
|
||||
package dev.micle.totemofreviving.network.client;
|
||||
|
||||
import dev.micle.totemofreviving.TotemOfReviving;
|
||||
import dev.micle.totemofreviving.item.totem.TotemItem;
|
||||
import net.minecraft.ChatFormatting;
|
||||
import net.minecraft.network.FriendlyByteBuf;
|
||||
import net.minecraft.network.chat.Component;
|
||||
import net.minecraft.server.level.ServerPlayer;
|
||||
import net.minecraft.server.players.PlayerList;
|
||||
import net.minecraft.world.InteractionHand;
|
||||
import net.minecraft.world.item.ItemStack;
|
||||
|
||||
import java.util.function.Supplier;
|
||||
package dev.micle.totem_of_reviving.network.client;
|
||||
|
||||
public class ChangeTargetPacket {
|
||||
// private final InteractionHand hand;
|
||||
@ -1,12 +1,4 @@
|
||||
package dev.micle.totemofreviving.network.client;
|
||||
|
||||
import dev.micle.totemofreviving.item.totem.TotemItem;
|
||||
import net.minecraft.network.FriendlyByteBuf;
|
||||
import net.minecraft.server.level.ServerPlayer;
|
||||
import net.minecraft.world.InteractionHand;
|
||||
import net.minecraft.world.item.ItemStack;
|
||||
|
||||
import java.util.function.Supplier;
|
||||
package dev.micle.totem_of_reviving.network.client;
|
||||
|
||||
public class ChargeTotemPacket {
|
||||
// private final InteractionHand hand;
|
||||
@ -1,15 +1,4 @@
|
||||
package dev.micle.totemofreviving.network.client;
|
||||
|
||||
import dev.micle.totemofreviving.TotemOfReviving;
|
||||
import dev.micle.totemofreviving.item.totem.TotemItem;
|
||||
import net.minecraft.ChatFormatting;
|
||||
import net.minecraft.network.FriendlyByteBuf;
|
||||
import net.minecraft.network.chat.Component;
|
||||
import net.minecraft.server.level.ServerPlayer;
|
||||
import net.minecraft.world.InteractionHand;
|
||||
import net.minecraft.world.item.ItemStack;
|
||||
|
||||
import java.util.function.Supplier;
|
||||
package dev.micle.totem_of_reviving.network.client;
|
||||
|
||||
public class ReviveTargetPacket {
|
||||
// private final InteractionHand hand;
|
||||
@ -1,4 +1,4 @@
|
||||
package dev.micle.totemofreviving.proxy;
|
||||
package dev.micle.totem_of_reviving.proxy;
|
||||
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
import net.minecraft.world.entity.player.Player;
|
||||
@ -1,8 +1,7 @@
|
||||
package dev.micle.totemofreviving.proxy;
|
||||
package dev.micle.totem_of_reviving.proxy;
|
||||
|
||||
import dev.micle.totemofreviving.network.NetworkManager;
|
||||
import dev.micle.totemofreviving.setup.Config;
|
||||
import dev.micle.totemofreviving.setup.Registration;
|
||||
import dev.micle.totem_of_reviving.setup.Config;
|
||||
import dev.micle.totem_of_reviving.setup.Registration;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
import net.minecraft.world.entity.player.Player;
|
||||
@ -1,9 +1,9 @@
|
||||
package dev.micle.totemofreviving.setup;
|
||||
package dev.micle.totem_of_reviving.setup;
|
||||
|
||||
import dev.micle.totemofreviving.item.totem.DiamondTotemItem;
|
||||
import dev.micle.totemofreviving.item.totem.IronTotemItem;
|
||||
import dev.micle.totemofreviving.item.totem.NetheriteTotemItem;
|
||||
import dev.micle.totemofreviving.item.totem.StrawTotemItem;
|
||||
import dev.micle.totem_of_reviving.item.totem.DiamondTotemItem;
|
||||
import dev.micle.totem_of_reviving.item.totem.IronTotemItem;
|
||||
import dev.micle.totem_of_reviving.item.totem.NetheriteTotemItem;
|
||||
import dev.micle.totem_of_reviving.item.totem.StrawTotemItem;
|
||||
import net.neoforged.fml.ModContainer;
|
||||
import net.neoforged.fml.config.ModConfig;
|
||||
import net.neoforged.neoforge.common.ModConfigSpec;
|
||||
@ -1,6 +1,6 @@
|
||||
package dev.micle.totemofreviving.setup;
|
||||
package dev.micle.totem_of_reviving.setup;
|
||||
|
||||
import dev.micle.totemofreviving.TotemOfReviving;
|
||||
import dev.micle.totem_of_reviving.TotemOfReviving;
|
||||
import net.minecraft.network.chat.Component;
|
||||
import net.minecraft.world.item.CreativeModeTab;
|
||||
import net.neoforged.neoforge.registries.DeferredHolder;
|
||||
@ -1,6 +1,6 @@
|
||||
package dev.micle.totemofreviving.setup;
|
||||
package dev.micle.totem_of_reviving.setup;
|
||||
|
||||
import dev.micle.totemofreviving.component.TotemData;
|
||||
import dev.micle.totem_of_reviving.component.TotemData;
|
||||
import net.minecraft.core.component.DataComponentType;
|
||||
import net.neoforged.neoforge.registries.DeferredHolder;
|
||||
|
||||
@ -1,13 +1,13 @@
|
||||
package dev.micle.totemofreviving.setup;
|
||||
package dev.micle.totem_of_reviving.setup;
|
||||
|
||||
import dev.micle.totemofreviving.item.charge.DiamondChargeItem;
|
||||
import dev.micle.totemofreviving.item.charge.IronChargeItem;
|
||||
import dev.micle.totemofreviving.item.charge.NetheriteChargeItem;
|
||||
import dev.micle.totemofreviving.item.charge.StrawChargeItem;
|
||||
import dev.micle.totemofreviving.item.totem.DiamondTotemItem;
|
||||
import dev.micle.totemofreviving.item.totem.IronTotemItem;
|
||||
import dev.micle.totemofreviving.item.totem.NetheriteTotemItem;
|
||||
import dev.micle.totemofreviving.item.totem.StrawTotemItem;
|
||||
import dev.micle.totem_of_reviving.item.charge.DiamondChargeItem;
|
||||
import dev.micle.totem_of_reviving.item.charge.IronChargeItem;
|
||||
import dev.micle.totem_of_reviving.item.charge.NetheriteChargeItem;
|
||||
import dev.micle.totem_of_reviving.item.charge.StrawChargeItem;
|
||||
import dev.micle.totem_of_reviving.item.totem.DiamondTotemItem;
|
||||
import dev.micle.totem_of_reviving.item.totem.IronTotemItem;
|
||||
import dev.micle.totem_of_reviving.item.totem.NetheriteTotemItem;
|
||||
import dev.micle.totem_of_reviving.item.totem.StrawTotemItem;
|
||||
import net.minecraft.world.item.Item;
|
||||
import net.neoforged.neoforge.registries.DeferredItem;
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
package dev.micle.totemofreviving.setup;
|
||||
package dev.micle.totem_of_reviving.setup;
|
||||
|
||||
import com.mojang.blaze3d.platform.InputConstants;
|
||||
import net.minecraft.client.KeyMapping;
|
||||
@ -1,7 +1,6 @@
|
||||
package dev.micle.totemofreviving.setup;
|
||||
package dev.micle.totem_of_reviving.setup;
|
||||
|
||||
import dev.micle.totemofreviving.TotemOfReviving;
|
||||
import net.minecraft.core.component.DataComponentType;
|
||||
import dev.micle.totem_of_reviving.TotemOfReviving;
|
||||
import net.minecraft.core.registries.Registries;
|
||||
import net.minecraft.world.item.CreativeModeTab;
|
||||
import net.neoforged.bus.api.IEventBus;
|
||||
12
src/main/resources/assets/totem_of_reviving/lang/en_us.json
Normal file
12
src/main/resources/assets/totem_of_reviving/lang/en_us.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"itemGroup.totem_of_reviving.main": "Micle's Totem of Reviving",
|
||||
"item.totem_of_reviving.straw_totem": "Straw totem of reviving",
|
||||
"item.totem_of_reviving.iron_totem": "Iron totem of reviving",
|
||||
"item.totem_of_reviving.diamond_totem": "Diamond totem of reviving",
|
||||
"item.totem_of_reviving.netherite_totem": "Netherite totem of reviving",
|
||||
"item.totem_of_reviving.straw_charge": "Straw reviving charge",
|
||||
"item.totem_of_reviving.iron_charge": "Iron reviving charge",
|
||||
"item.totem_of_reviving.diamond_charge": "Diamond reviving charge",
|
||||
"item.totem_of_reviving.netherite_charge": "Netherite reviving charge",
|
||||
"advanced_tooltips": "advanced_tooltips"
|
||||
}
|
||||
@ -1,12 +0,0 @@
|
||||
{
|
||||
"itemGroup.totemofreviving.main": "Micle's Totem of Reviving",
|
||||
"item.totemofreviving.straw_totem": "Straw totem of reviving",
|
||||
"item.totemofreviving.iron_totem": "Iron totem of reviving",
|
||||
"item.totemofreviving.diamond_totem": "Diamond totem of reviving",
|
||||
"item.totemofreviving.netherite_totem": "Netherite totem of reviving",
|
||||
"item.totemofreviving.straw_charge": "Straw reviving charge",
|
||||
"item.totemofreviving.iron_charge": "Iron reviving charge",
|
||||
"item.totemofreviving.diamond_charge": "Diamond reviving charge",
|
||||
"item.totemofreviving.netherite_charge": "Netherite reviving charge",
|
||||
"advanced_tooltips": "advanced_tooltips"
|
||||
}
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"pack": {
|
||||
"description": "totemofreviving resources",
|
||||
"description": "totem_of_reviving resources",
|
||||
"pack_format": 8
|
||||
}
|
||||
}
|
||||
|
||||
@ -9,7 +9,7 @@ version = "${mod_version}"
|
||||
displayName = "${mod_name}"
|
||||
#updateJSONURL="http://myurl.me/"
|
||||
#displayURL="http://example.com/"
|
||||
logoFile="logo.jpg"
|
||||
logoFile= "logo.jpg"
|
||||
#credits=""
|
||||
authors="${mod_authors}"
|
||||
description = '''${mod_description}'''
|
||||
@ -20,17 +20,17 @@ description = '''${mod_description}'''
|
||||
#[[accessTransformers]]
|
||||
#file="META-INF/accesstransformer.cfg"
|
||||
|
||||
[[dependencies."${mod_id}"]]
|
||||
[[dependencies.${mod_id}]]
|
||||
modId = "neoforge"
|
||||
# The type of the dependency. Can be one of "required", "optional", "incompatible" or "discouraged" (case insensitive).
|
||||
# 'required' requires the mod to exist, 'optional' does not
|
||||
# 'incompatible' will prevent the game from loading when the mod exists, and 'discouraged' will show a warning
|
||||
type = "required"
|
||||
versionRange = "${forge_version_range}"
|
||||
versionRange = "${neo_version_range}"
|
||||
ordering = "NONE" # BEFORE, AFTER, NONE
|
||||
side = "BOTH" # BOTH, CLIENT, SERVER
|
||||
|
||||
[[dependencies."${mod_id}"]]
|
||||
[[dependencies.${mod_id}]]
|
||||
modId = "minecraft"
|
||||
type = "required"
|
||||
versionRange = "${minecraft_version_range}"
|
||||
Reference in New Issue
Block a user