Remove foodbenefits and use rely on kubejs + hunger strike

This commit is contained in:
2026-03-07 04:49:19 -07:00
parent d5938858bd
commit 5498d90683
97 changed files with 1294 additions and 1121 deletions

View File

@@ -9,7 +9,7 @@
mode = "ALL"
#How to translate food points into heart points when consuming food.
#At the default value of 0.5, food fills your heart bar at half the rate it would fill hunger.
foodHealFactor = 0.0
foodHealFactor = 0.5
#Globally overrides the maximum stack size of food items.
#This property affects all Vanilla and Mod food items that derive from ItemFood.
#Set to -1 to retain the default stack size of each food item. Note: This will affect the entire server, not just players on hunger strike.

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:jump_boost",
"time": 80,
"level": 7,
"type": "give",
"chance": 1.0
}
],
"cool_down": 0,
"always_edible": false,
"heal": 2,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "feathers:energized",
"time": 1200,
"level": 7,
"type": "give",
"chance": 1.0
}
],
"cool_down": 0,
"always_edible": false,
"heal": 4,
"harm": 0
}

View File

@@ -1,8 +0,0 @@
{
"effects": [
],
"cool_down": 0,
"always_edible": true,
"heal": 5,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:slowness",
"time": 200,
"level": 0,
"type": "remove",
"chance": 0.0
}
],
"cool_down": 0,
"always_edible": true,
"heal": 7,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "feathers:endurance",
"time": 600,
"level": 0,
"type": "give",
"chance": 1.0
}
],
"cool_down": 0,
"always_edible": true,
"heal": 7,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:health_boost",
"time": 600,
"level": 0,
"type": "give",
"chance": 1.0
}
],
"cool_down": 0,
"always_edible": false,
"heal": 7,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:resistance",
"time": 600,
"level": 0,
"type": "give",
"chance": 1
}
],
"cool_down": 0,
"always_edible": true,
"heal": 7,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:regeneration",
"time": 300,
"level": 0,
"type": "give",
"chance": 1.0
}
],
"cool_down": 0,
"always_edible": false,
"heal": 7,
"harm": 0
}

View File

@@ -1,7 +0,0 @@
{
"effects": [],
"cool_down": 0,
"always_edible": true,
"heal": 2,
"harm": 0
}

View File

@@ -1,22 +0,0 @@
{
"effects": [
{
"effect": "minecraft:night_vision",
"time": 400,
"level": 0,
"type": "give",
"chance": 1
},
{
"effect": "minecraft:luck",
"time": 150,
"level": 1,
"type": "give",
"chance": 1.0
}
],
"cool_down": 0,
"always_edible": true,
"heal": 5,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:absorption",
"time": 200,
"level": 0,
"type": "give",
"chance": 1.0
}
],
"cool_down": 0,
"always_edible": true,
"heal": 5,
"harm": 0
}

View File

@@ -1,7 +0,0 @@
{
"effects": [],
"cool_down": 0,
"always_edible": true,
"heal": 12,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:speed",
"time": 1200,
"level": 0,
"type": "give",
"chance": 1
}
],
"cool_down": 0,
"always_edible": true,
"heal": 6,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:health_boost",
"time": 600,
"level": 0,
"type": "give",
"chance": 1.0
}
],
"cool_down": 0,
"always_edible": false,
"heal": 7,
"harm": 0
}

View File

@@ -1,22 +0,0 @@
{
"effects": [
{
"effect": "minecraft:mining_fatigue",
"time": 200,
"level": 0,
"type": "remove",
"chance": 0.0
},
{
"effect": "minecraft:slowness",
"time": 200,
"level": 0,
"type": "remove",
"chance": 0.0
}
],
"cool_down": 0,
"always_edible": true,
"heal": 6,
"harm": 0
}

View File

@@ -1,8 +0,0 @@
{
"effects": [
],
"cool_down": 0,
"always_edible": false,
"heal": 8,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:fire_resistance",
"time": 600,
"level": 0,
"type": "give",
"chance": 1
}
],
"cool_down": 0,
"always_edible": true,
"heal": 5,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "feathers:endurance",
"time": 600,
"level": 0,
"type": "give",
"chance": 1
}
],
"cool_down": 0,
"always_edible": false,
"heal": 5,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:absorption",
"time": 400,
"level": 0,
"type": "give",
"chance": 1.0
}
],
"cool_down": 0,
"always_edible": false,
"heal": 8,
"harm": 0
}

View File

@@ -1,7 +0,0 @@
{
"effects": [],
"cool_down": 0,
"always_edible": true,
"heal": 4,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "cofh_core:panacea",
"time": 200,
"level": 0,
"type": "give",
"chance": 1.0
}
],
"cool_down": 0,
"always_edible": true,
"heal": 4,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecaft:haste",
"time": 300,
"level": 0,
"type": "give",
"chance": 1.0
}
],
"cool_down": 0,
"always_edible": true,
"heal": 5,
"harm": 0
}

View File

@@ -1,7 +0,0 @@
{
"effects": [],
"cool_down": 0,
"always_edible": true,
"heal": 10,
"harm": 0
}

View File

@@ -1,7 +0,0 @@
{
"effects": [],
"cool_down": 0,
"always_edible": false,
"heal": 6,
"harm": 0
}

View File

@@ -1,7 +0,0 @@
{
"effects": [],
"cool_down": 0,
"always_edible": true,
"heal": 4,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:luck",
"time": 60,
"level": 0,
"type": "give",
"chance": 1.0
}
],
"cool_down": 0,
"always_edible": true,
"heal": 0,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:absorption",
"time": 600,
"level": 1,
"type": "give",
"chance": 1.0
}
],
"cool_down": 0,
"always_edible": true,
"heal": 0,
"harm": 0
}

View File

@@ -1,7 +0,0 @@
{
"effects": [],
"cool_down": 0,
"always_edible": true,
"heal": 1,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:speed",
"time": 2400,
"level": 0,
"type": "give",
"chance": 1
}
],
"cool_down": 0,
"always_edible": true,
"heal": 2,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "feathers:energized",
"time": 20,
"level": 7,
"type": "give",
"chance": 1
}
],
"cool_down": 0,
"always_edible": false,
"heal": 1,
"harm": 0
}

View File

@@ -1,22 +0,0 @@
{
"effects": [
{
"effect": "minecraft:fire_resistance",
"time": 2400,
"level": 0,
"type": "give",
"chance": 1
},
{
"effect": "minecraft:instant_damage",
"time": 100,
"level": 0,
"type": "give",
"chance": 1
}
],
"cool_down": 0,
"always_edible": true,
"heal": 6,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:slow_falling",
"time": 200,
"level": 2,
"type": "give",
"chance": 1
}
],
"cool_down": 0,
"always_edible": false,
"heal": 3,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:glowing",
"time": 600,
"level": 0,
"type": "give",
"chance": 1.0
}
],
"cool_down": 0,
"always_edible": true,
"heal": 7,
"harm": 0
}

View File

@@ -1,7 +0,0 @@
{
"effects": [],
"cool_down": 0,
"always_edible": true,
"heal": 2,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:strength",
"time": 600,
"level": 0,
"type": "give",
"chance": 1.0
}
],
"cool_down": 0,
"always_edible": true,
"heal": 10,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:water_breathing",
"time": 300,
"level": 0,
"type": "give",
"chance": 1
}
],
"cool_down": 0,
"always_edible": true,
"heal": 2,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:regeneration",
"time": 200,
"level": 0,
"type": "give",
"chance": 1
}
],
"cool_down": 0,
"always_edible": false,
"heal": 0,
"harm": 0
}

View File

@@ -1,7 +0,0 @@
{
"effects": [],
"cool_down": 0,
"always_edible": true,
"heal": 3,
"harm": 0
}

View File

@@ -1,7 +0,0 @@
{
"effects": [],
"cool_down": 0,
"always_edible": true,
"heal": 6,
"harm": 0
}

View File

@@ -1,7 +0,0 @@
{
"effects": [],
"cool_down": 0,
"always_edible": true,
"heal": 6,
"harm": 0
}

View File

@@ -1,7 +0,0 @@
{
"effects": [],
"cool_down": 0,
"always_edible": true,
"heal": 6,
"harm": 0
}

View File

@@ -1,7 +0,0 @@
{
"effects": [],
"cool_down": 0,
"always_edible": false,
"heal": 4,
"harm": 0
}

View File

@@ -1,7 +0,0 @@
{
"effects": [],
"cool_down": 0,
"always_edible": true,
"heal": 5,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:health_boost",
"time": 200,
"level": 0,
"type": "give",
"chance": 1.0
}
],
"cool_down": 0,
"always_edible": true,
"heal": 4,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:strength",
"time": 200,
"level": 0,
"type": "give",
"chance": 1.0
}
],
"cool_down": 0,
"always_edible": true,
"heal": 3,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:haste",
"time": 600,
"level": 0,
"type": "give",
"chance": 1
}
],
"cool_down": 0,
"always_edible": true,
"heal": 7,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "feathers:endurance",
"time": 600,
"level": 0,
"type": "give",
"chance": 1.0
}
],
"cool_down": 0,
"always_edible": true,
"heal": 7,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:poison",
"time": 20,
"level": 0,
"type": "remove",
"chance": 0.0
}
],
"cool_down": 0,
"always_edible": false,
"heal": 2,
"harm": 0
}

View File

@@ -1,8 +0,0 @@
{
"effects": [
],
"cool_down": 0,
"always_edible": false,
"heal": 5,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:nausea",
"time": 200,
"level": 0,
"type": "give",
"chance": 0.3
}
],
"cool_down": 0,
"always_edible": true,
"heal": 3,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:resistance",
"time": 100,
"level": 0,
"type": "give",
"chance": 0.7
}
],
"cool_down": 0,
"always_edible": true,
"heal": 1,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:resistance",
"time": 300,
"level": 0,
"type": "give",
"chance": 1.0
}
],
"cool_down": 0,
"always_edible": true,
"heal": 8,
"harm": 0
}

View File

@@ -1,8 +0,0 @@
{
"effects": [
],
"cool_down": 0,
"always_edible": false,
"heal": 5,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:night_vision",
"time": 100,
"level": 0,
"type": "give",
"chance": 0.7
}
],
"cool_down": 0,
"always_edible": true,
"heal": 1,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:nausea",
"time": 200,
"level": 0,
"type": "give",
"chance": 0.3
}
],
"cool_down": 0,
"always_edible": true,
"heal": 3,
"harm": 0
}

View File

@@ -1,7 +0,0 @@
{
"effects": [],
"cool_down": 0,
"always_edible": false,
"heal": 3,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:health_boost",
"time": 400,
"level": 0,
"type": "give",
"chance": 1.0
}
],
"cool_down": 0,
"always_edible": false,
"heal": 6,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:slow_falling",
"time": 40,
"level": 0,
"type": "give",
"chance": 0.8
}
],
"cool_down": 0,
"always_edible": true,
"heal": 4,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:water_breathing",
"time": 100,
"level": 0,
"type": "give",
"chance": 0.6
}
],
"cool_down": 0,
"always_edible": true,
"heal": 6,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:mining_fatigue",
"time": 200,
"level": 0,
"type": "remove",
"chance": 0.0
}
],
"cool_down": 0,
"always_edible": true,
"heal": 5,
"harm": 0
}

View File

@@ -1,8 +0,0 @@
{
"effects": [
],
"cool_down": 0,
"always_edible": false,
"heal": 6,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:jump_boost",
"time": 3200,
"level": 0,
"type": "give",
"chance": 1.0
}
],
"cool_down": 0,
"always_edible": true,
"heal": 4,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:dolphins_grace",
"time": 600,
"level": 0,
"type": "give",
"chance": 0.5
}
],
"cool_down": 0,
"always_edible": true,
"heal": 5,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:speed",
"time": 200,
"level": 0,
"type": "give",
"chance": 1
}
],
"cool_down": 0,
"always_edible": true,
"heal": 2,
"harm": 0
}

View File

@@ -1,8 +0,0 @@
{
"effects": [
],
"cool_down": 0,
"always_edible": true,
"heal": 1,
"harm": 0
}

View File

@@ -1,8 +0,0 @@
{
"effects": [
],
"cool_down": 25,
"always_edible": false,
"heal": 2,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:glowing",
"time": 4800,
"level": 0,
"type": "give",
"chance": 1.0
}
],
"cool_down": 0,
"always_edible": true,
"heal": 2,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:night_vision",
"time": 2400,
"level": 0,
"type": "give",
"chance": 1
}
],
"cool_down": 0,
"always_edible": true,
"heal": 4,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:absorption",
"time": 200,
"level": 0,
"type": "give",
"chance": 1.0
}
],
"cool_down": 0,
"always_edible": true,
"heal": 2,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:fire_resistance",
"time": 100,
"level": 0,
"type": "give",
"chance": 0.9
}
],
"cool_down": 0,
"always_edible": true,
"heal": 2,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:weakness",
"time": 20,
"level": 0,
"type": "remove",
"chance": 0.0
}
],
"cool_down": 0,
"always_edible": true,
"heal": 16,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:nausea",
"time": 200,
"level": 0,
"type": "give",
"chance": 0.3
}
],
"cool_down": 0,
"always_edible": true,
"heal": 3,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:nausea",
"time": 200,
"level": 0,
"type": "give",
"chance": 0.3
}
],
"cool_down": 0,
"always_edible": true,
"heal": 3,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:luck",
"time": 60,
"level": 0,
"type": "give",
"chance": 1.0
}
],
"cool_down": 0,
"always_edible": true,
"heal": 6,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:nausea",
"time": 200,
"level": 0,
"type": "give",
"chance": 0.3
}
],
"cool_down": 0,
"always_edible": true,
"heal": 2,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:haste",
"time": 600,
"level": 0,
"type": "give",
"chance": 1.0
}
],
"cool_down": 0,
"always_edible": true,
"heal": 16,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:nausea",
"time": 200,
"level": 0,
"type": "give",
"chance": 0.3
}
],
"cool_down": 0,
"always_edible": true,
"heal": 3,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:poison",
"time": 10,
"level": 0,
"type": "remove",
"chance": 0.0
}
],
"cool_down": 0,
"always_edible": true,
"heal": 8,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:nausea",
"time": 200,
"level": 0,
"type": "give",
"chance": 0.3
}
],
"cool_down": 0,
"always_edible": true,
"heal": 1,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:hunger",
"time": 20,
"level": 0,
"type": "remove",
"chance": 0.0
}
],
"cool_down": 0,
"always_edible": false,
"heal": 2,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:dolphin_grace",
"time": 200,
"level": 0,
"type": "give",
"chance": 1.0
}
],
"cool_down": 0,
"always_edible": true,
"heal": 4,
"harm": 0
}

View File

@@ -1,15 +0,0 @@
{
"effects": [
{
"effect": "minecraft:health_boost",
"time": 300,
"level": 1,
"type": "give",
"chance": 1.0
}
],
"cool_down": 0,
"always_edible": true,
"heal": 7,
"harm": 0
}

View File

@@ -1,7 +0,0 @@
{
"effects": [],
"cool_down": 20,
"always_edible": true,
"heal": 4,
"harm": 0
}

View File

@@ -1,7 +0,0 @@
{
"effects": [],
"cool_down": 0,
"always_edible": true,
"heal": 2,
"harm": 0
}

View File

@@ -1,7 +0,0 @@
{
"effects": [],
"cool_down": 0,
"always_edible": true,
"heal": 2,
"harm": 0
}

View File

@@ -1,7 +0,0 @@
{
"effects": [],
"cool_down": 0,
"always_edible": true,
"heal": 1,
"harm": 0
}

View File

@@ -1,7 +0,0 @@
{
"effects": [],
"cool_down": 25,
"always_edible": true,
"heal": 1,
"harm": 0
}

View File

@@ -5,5 +5,7 @@
"entity.minecraft.villager.sawmill.carpenter": "Carpenter",
"entity.minecraft.villager.carpenter": "Carpenter",
"subtitles.sawmill.entity.villager.work_carpenter": "Carpenter works",
"subtitles.sawmill.ui.sawmill.take_result": "Cutter used"
"subtitles.sawmill.ui.sawmill.take_result": "Cutter used",
"tooltip.kubejs.effect.applied": "When Applied:"
}

View File

@@ -0,0 +1,12 @@
{
"providers": [
{
"type": "bitmap",
"file": "pwb:font/healing.png",
"ascent": 7,
"chars": [
"0123456789abcdef"
]
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 B

View File

@@ -1607,7 +1607,7 @@
B = [0.0, 0.0, 1.22]
[client.improved_tooltips]
"Attribute Tooltips" = true
"Attribute Tooltips" = false
"Food Tooltips" = false
"Shulker Tooltips" = true
"Map Tooltips" = true
@@ -1618,7 +1618,7 @@
"Map Require Shift" = false
#The value of each shank of food.
#Tweak this when using mods like Hardcore Hunger which change that value.
"Food Divisor" = 2
"Food Divisor" = 4
"Show Saturation" = false
"Food Compression Threshold" = 4
"Fuel Time Divisor" = 200