Skip to content

Commit

Permalink
Add evil prismarine and more tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Mechalopa committed Nov 18, 2023
1 parent 7f71f4d commit 5697d72
Show file tree
Hide file tree
Showing 17 changed files with 87 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ public int getBurnTime(ItemStack stack, @Nullable RecipeType<?> recipeType)
public static final RegistryObject<Item> REINFORCING_CHAIN = REGISTRY.register("reinforcing_chain", () -> new Item(new Item.Properties()));
public static final RegistryObject<Item> MULTIPLEX_REINFORCING_CHAIN = REGISTRY.register("multiplex_reinforcing_chain", () -> new ModItem(new Item.Properties().rarity(Rarity.UNCOMMON), new ModItem.Properties().foil()));
public static final RegistryObject<Item> REPULSION_GADGET = REGISTRY.register("repulsion_gadget", () -> new Item(new Item.Properties()));
public static final RegistryObject<Item> EVIL_FLAME = REGISTRY.register("evil_flame", () -> new EvilFlameItem(new Item.Properties()));
public static final RegistryObject<Item> EVIL_FLAME = REGISTRY.register("evil_flame", () -> new EvilFlameItem(new Item.Properties(), new ModItem.Properties().burnTime(1600)));
public static final RegistryObject<Item> EVIL_PRISMARINE = REGISTRY.register("evil_prismarine", () -> new Item(new Item.Properties()));
public static final RegistryObject<Item> EVIL_THORN = REGISTRY.register("evil_thorn", () -> new EvilThornItem(new Item.Properties()));
public static final RegistryObject<Item> GREEDY_CRYSTAL = REGISTRY.register("greedy_crystal", () -> new ModItem(new Item.Properties().rarity(Rarity.UNCOMMON), new ModItem.Properties().foil()));
public static final RegistryObject<Item> GREEDY_CRYSTAL_PLUS = REGISTRY.register("greedy_crystal_plus", () -> new ModItem(new Item.Properties().rarity(Rarity.RARE), new ModItem.Properties().foil()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
import net.minecraft.world.item.Item;
import net.minecraft.world.item.ItemStack;

public class EvilFlameItem extends Item
public class EvilFlameItem extends ModItem
{
public EvilFlameItem(Item.Properties builder)
public EvilFlameItem(Item.Properties builder, ModItem.Properties builder2)
{
super(builder);
super(builder, builder2);
}

@Override
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/assets/hmag/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@
"item.hmag.multiplex_reinforcing_chain": "Multiplex Reinforcing Chain",
"item.hmag.repulsion_gadget": "Repulsion Gadget",
"item.hmag.evil_flame": "Evil Flame",
"item.hmag.evil_prismarine": "Evil Prismarine",
"item.hmag.evil_thorn": "Evil Thorn",
"item.hmag.greedy_crystal": "Greedy Crystal",
"item.hmag.greedy_crystal_plus": "Greedy Crystal +",
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/assets/hmag/lang/ja_jp.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@
"item.hmag.multiplex_reinforcing_chain": "多重補強鎖",
"item.hmag.repulsion_gadget": "斥力ガジェット",
"item.hmag.evil_flame": "邪悪な焔",
"item.hmag.evil_prismarine": "邪悪なプリズマリン",
"item.hmag.evil_thorn": "邪悪な棘",
"item.hmag.greedy_crystal": "強欲のクリスタル",
"item.hmag.greedy_crystal_plus": "強欲のクリスタル+",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "hmag:item/evil_prismarine"
}
}
Binary file modified src/main/resources/assets/hmag/textures/item/evil_flame.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/main/resources/assets/hmag/textures/item/soul_powder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 29 additions & 1 deletion src/main/resources/data/hmag/hmag/enchantment_upgrade/hmag.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,38 @@
"minLevel": 0,
"template": "hmag:evil_crystal_upgrade_smithing_template"
},
{
"addition": "hmag:evil_prismarine",
"enchantment": "hmag:water_aspect",
"maxLevel": 4,
"minLevel": 0,
"template": "hmag:evil_crystal_upgrade_smithing_template"
},
{
"addition": "hmag:evil_prismarine",
"enchantment": "minecraft:riptide",
"maxLevel": 2,
"minLevel": 0,
"template": "hmag:evil_crystal_upgrade_smithing_template"
},
{
"addition": "hmag:evil_prismarine",
"enchantment": "minecraft:respiration",
"maxLevel": 2,
"minLevel": 0,
"template": "hmag:evil_crystal_upgrade_smithing_template"
},
{
"addition": "hmag:evil_prismarine",
"enchantment": "minecraft:depth_strider",
"maxLevel": 2,
"minLevel": 0,
"template": "hmag:evil_crystal_upgrade_smithing_template"
},
{
"addition": "hmag:evil_thorn",
"enchantment": "minecraft:thorns",
"maxLevel": 9,
"maxLevel": 6,
"minLevel": 0,
"template": "hmag:evil_crystal_upgrade_smithing_template"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
Expand Down
23 changes: 23 additions & 0 deletions src/main/resources/data/hmag/recipes/evil_prismarine.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shapeless",
"ingredients": [
{
"item": "minecraft:ink_sac"
},
{
"item": "minecraft:glow_ink_sac"
},
{
"tag": "forge:gems/prismarine"
},
{
"tag": "forge:dusts/prismarine"
},
{
"item": "hmag:evil_crystal_fragment"
}
],
"result": {
"item": "hmag:evil_prismarine"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"type": "minecraft:blasting",
"ingredient": [
{
"item": "hmag:evil_prismarine"
}
],
"result": "minecraft:prismarine_shard",
"experience": 0.1,
"cookingtime": 100
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"type": "minecraft:smelting",
"ingredient": [
{
"item": "hmag:evil_prismarine"
}
],
"result": "minecraft:prismarine_shard",
"experience": 0.1,
"cookingtime": 200
}

0 comments on commit 5697d72

Please sign in to comment.