Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crude Fix for #123(Issue) (Silent Gear Arrow Still takes Demage) #129

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/minecraft/config/silentgear-common.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@ azure = 64
# Setting to zero would make the repair kit unusable.
[item.repairKits.efficiency]
# Range: 0.0 ~ 10.0
very_crude = 0.30000001192092896
very_crude = 0
# Range: 0.0 ~ 10.0
crude = 0.3499999940395355
crude = 0
# Range: 0.0 ~ 10.0
sturdy = 0.4000000059604645
sturdy = 0
# Range: 0.0 ~ 10.0
crimson = 0.44999998807907104
crimson = 0
# Range: 0.0 ~ 10.0
azure = 0.5
azure = 0
# Repair efficiency with loose materials if no repair kit is used.
# Setting a value greater than zero makes repair kits optional.
# Range: 0.0 ~ 10.0
missing = 0.0
missing = 10

[item.netherwood_charcoal]
# Burn time of netherwood charcoal, in ticks. Vanilla charcoal is 1600.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"items": ["silentgear:arrow"],
"infos": [
{
"text": "NOT unbreakable, repair with main material directly"
}
]
}
1 change: 0 additions & 1 deletion src/minecraft/scripts/item_durability.zs
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,6 @@ val itemsForUnbreakable = [
<resource:silentgear:crossbow>,
<resource:silentgear:slingshot>,
<resource:silentgear:shield>,
<resource:silentgear:arrow>,
<resource:silentgear:helmet>,
<resource:silentgear:chestplate>,
<resource:silentgear:leggings>,
Expand Down
4 changes: 4 additions & 0 deletions src/minecraft/scripts/tooltips.zs
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,7 @@ import crafttweaker.api.text.Component;
// Mystical Agriculture
var inferium_essence = Component.literal("Dropped from Lime Leaves").setStyle(<constant:formatting:yellow>);
<item:mysticalagriculture:inferium_essence>.addTooltip(inferium_essence);

// Silent Gear
var arrow = Component.literal("NOT unbreakable, repair with main material directly").setStyle(<constant:formatting:yellow>);
<item:silentgear:arrow>.addTooltip(arrow);