added elf

This commit is contained in:
2026-04-22 21:56:19 +02:00
parent 35248dc4bc
commit 4195776fd6
16 changed files with 211 additions and 28 deletions

View File

@@ -1,10 +0,0 @@
package com.smithy.faithful.util;
import net.minecraft.entity.Entity;
public class TerraHelper {
public static boolean isWet(Entity entity) {
return entity.isWet();
}
}

View File

@@ -1,13 +1,13 @@
{ {
//-----Muckunde-----// //-----Muckunde-----//
"origin.faithful.sth.name": "something", "origin.faithful.elf.name": "Elf",
"origin.faithful.sth.description": "filthy", "origin.faithful.elf.description": "Prideful, elegant beings of earthly origin.",
"power.faithful.muckunde-powers/toughskin.name": "Tough Skin", "power.faithful.elf-powers/elven_craftsmanship.name": "Elven Magic",
"power.faithful.muckunde-powers/toughskin.description": "A muckunde has hard skin, giving it some natural armour", "power.faithful.elf-powers/elven_craftsmanship.description": "Elven craftsmanship is often described as containing enchantments. Elves themselves use these words to simplify how elvish weapons seem to have a quality no other races could achieve.",
"power.faithful.muckunde-powers/likesoil1.name": "Like Soil", "power.faithful.elf-powers/elven_health.name": "Elven Health",
"power.faithful.muckunde-powers/likesoil1.description": "The muckunde has the ability to phase through any dirt-like blocks.", "power.faithful.elf-powers/elven_health.description": "Elves are immune to some poisons.",
"power.faithful.muckunde-powers/yummybeets.name": "Yummy Beets", "power.faithful.elf-powers/light_foot.name": "Light of Foot",
"power.faithful.muckunde-powers/yummybeets.description": "Your body makes good use of the nutritional composition of beetroot", "power.faithful.elf-powers/light_foot.description": "Elves can walk lightly across snow where the boots of humans would sink.",
"power.faithful.muckunde-powers/hydrophobic.name": "Hydrophobic", "power.faithful.elf-powers/nature_connection.name": "Nature's Connection",
"power.faithful.muckunde-powers/hydrophobic.description": "Your body completely ignores water" "power.faithful.elf-powers/nature_connection.description": "When in biomes such as forests or jungles, elves may receive certain buffs."
} }

View File

@@ -0,0 +1,21 @@
[
{
"function": "minecraft:set_enchantments",
"enchantments": {
"minecraft:power": 1
},
"add": true
},
{
"function": "minecraft:set_lore",
"entity": "this",
"lore": [
{
"text": "An Elven crafted weapon.",
"color": "dark_purple",
"italic": true
}
],
"replace": true
}
]

View File

@@ -0,0 +1,21 @@
[
{
"function": "minecraft:set_enchantments",
"enchantments": {
"minecraft:piercing": 1
},
"add": true
},
{
"function": "minecraft:set_lore",
"entity": "this",
"lore": [
{
"text": "An Elven crafted weapon.",
"color": "dark_purple",
"italic": true
}
],
"replace": true
}
]

View File

@@ -0,0 +1,20 @@
[
{
"function": "minecraft:set_lore",
"entity": "this",
"lore": [
{
"text": "An Elven crafted weapon.",
"color": "dark_purple",
"italic": true
}
],
"replace": true
},
{
"function": "minecraft:set_enchantments",
"enchantments": {
"minecraft:sharpness": 1
}
}
]

View File

@@ -1,8 +1,11 @@
{ {
"powers": [ "powers": [
"faithful:wings" "faithful:elf-powers/elven_craftsmanship",
"faithful:elf-powers/nature_connection",
"faithful:elf-powers/elven_health",
"faithful:elf-powers/light_foot"
], ],
"icon": "minecraft:dirt", "icon": "minecraft:dirt",
"order": 1008, "order": 1000,
"impact": 3 "impact": 3
} }

View File

@@ -0,0 +1,59 @@
{
"type": "origins:multiple",
"alter_diamond_sword": {
"type": "origins:modify_crafting",
"recipe": "diamond_sword",
"item_action": {
"type": "origins:modify",
"modifier": "faithful:elf_sharpness"
}
},
"alter_gold_sword": {
"type": "origins:modify_crafting",
"recipe": "golden_sword",
"item_action": {
"type": "origins:modify",
"modifier": "faithful:elf_sharpness"
}
},
"alter_iron": {
"type": "origins:modify_crafting",
"recipe": "faithful:iron_sword",
"item_action": {
"type": "origins:modify",
"modifier": "faithful:elf_sharpness"
}
},
"alter_stone": {
"type": "origins:modify_crafting",
"recipe": "faithful:stone_sword",
"item_action": {
"type": "origins:modify",
"modifier": "faithful:elf_sharpness"
}
},
"alter_wooden_sword": {
"type": "origins:modify_crafting",
"recipe": "wooden_sword",
"item_action": {
"type": "origins:modify",
"modifier": "faithful:elf_sharpness"
}
},
"alter_bow": {
"type": "origins:modify_crafting",
"recipe": "minecraft:bow",
"item_action": {
"type": "origins:modify",
"modifier": "faithful:elf_bow"
}
},
"alter_crossbow": {
"type": "origins:modify_crafting",
"recipe": "minecraft:crossbow",
"item_action": {
"type": "origins:modify",
"modifier": "faithful:elf_crossbow"
}
}
}

View File

@@ -0,0 +1,10 @@
{
"type": "origins:effect_immunity",
"effects": [
"minecraft:wither",
"minecraft:poison",
"minecraft:nausea",
"minecraft:hunger",
"minecraft:blindness"
]
}

View File

@@ -0,0 +1,3 @@
{
"type": "faithful:can_walk_on_powder_snow"
}

View File

@@ -1,15 +1,27 @@
{ {
"condition": { "condition": {
"type": "origins:in_tag", "type": "origins:biome",
"tag": "faithful:forests" "condition": {
"type": "origins:category",
"category": "forest"
}
}, },
"type": "origins:action_over_time", "type": "origins:action_over_time",
"interval": 20, "interval": 5,
"entity_action": { "entity_action": {
"type": "origins:apply_effect", "type": "origins:apply_effect",
"effects": [ "effects": [
{ {
"effect": "minecraft:strength" "effect": "minecraft:strength",
"duration": 35,
"show_particles": false,
"show_icon": false
},
{
"effect": "minecraft:speed",
"duration": 35,
"show_particles": false,
"show_icon": false
} }
] ]
} }

View File

@@ -0,0 +1,21 @@
{
"type": "minecraft:crafting_shaped",
"category": "equipment",
"key": {
"#": {
"item": "minecraft:stick"
},
"X": {
"item": "minecraft:iron_ingot"
}
},
"pattern": [
"X",
"X",
"#"
],
"result": {
"item": "minecraft:iron_sword"
},
"show_notification": true
}

View File

@@ -0,0 +1,21 @@
{
"type": "minecraft:crafting_shaped",
"category": "equipment",
"key": {
"#": {
"item": "minecraft:stick"
},
"X": {
"tag": "minecraft:stone_tool_materials"
}
},
"pattern": [
"X",
"X",
"#"
],
"result": {
"item": "minecraft:stone_sword"
},
"show_notification": true
}

View File

@@ -0,0 +1 @@
{}

View File

@@ -0,0 +1 @@
{}

View File

@@ -1,7 +1,7 @@
{ {
"replace": false, "replace": false,
"origins": [ "origins": [
"faithful:sth", "faithful:elf",
{ {
"condition": { "condition": {
"type": "origins:equipped_item", "type": "origins:equipped_item",