Follow @PaintCreates for more creative datapackery!
Work as a team or alone in this race against hunger. You spawn with a set amount of energy and full health, but nothing in the world gives you food and you don't regenerate health. How are you going to conserve your energy and health and your one life on the way to defeating the Ender Dragon? Find out for yourself! Here's how the game works:
1. Everything in the world that gives you food has been edited so as to not give you food. Apples don't drop from trees, pork doesn't drop from pigs, villages don't generate with farms. All of these items are unobtainable:
Removed these items:
minecraft:apple
minecraft:baked_potato
minecraft:beef
minecraft:beetroot
minecraft:beetroot_seeds
minecraft:beetroot_soup
minecraft:bread
minecraft:brown_mushroom
minecraft:brown_mushroom_block
minecraft:cake
minecraft:carrot
minecraft:chicken
minecraft:chorus_fruit
minecraft:cod
minecraft:composter
minecraft:cooked_beef
minecraft:cooked_chicken
minecraft:cooked_cod
minecraft:cooked_mutton
minecraft:cooked_porkchop
minecraft:cooked_rabbit
minecraft:cooked_salmon
minecraft:cookie
minecraft:dried_kelp
minecraft:enchanted_golden_apple
minecraft:glistering_melon_slice
minecraft:golden_apple
minecraft:golden_carrot
minecraft:hay_block
minecraft:honey_bottle
minecraft:melon
minecraft:melon_seeds
minecraft:melon_slice
minecraft:mushroom_stew
minecraft:mutton
minecraft:poisonous_potato
minecraft:porkchop
minecraft:potato
minecraft:pufferfish
minecraft:pumpkin_pie
minecraft:rabbit
minecraft:rabbit_stew
minecraft:rotten_flesh
minecraft:red_mushroom
minecraft:red_mushroom_block
minecraft:salmon
minecraft:smoker
minecraft:spider_eye
minecraft:suspicious_stew
minecraft:sweet_berries
minecraft:tropical_fish
minecraft:wheat
minecraft:wheat_seeds
* Edited these loot tables to remove forbidden items (Food in chests is replaced with "empty" with equal weight,
so you don't get more of the non-food loot than you would have):
minecraft:blocks/attached_melon_stem
minecraft:blocks/beetroots
minecraft:blocks/brown_mushroom
minecraft:blocks/brown_mushroom_block
minecraft:blocks/carrots
minecraft:blocks/chorus_flower
minecraft:blocks/chorus_plant
minecraft:blocks/composter
minecraft:blocks/dark_oak_leaves
minecraft:blocks/fern
minecraft:blocks/grass
minecraft:blocks/hay_bale
minecraft:blocks/kelp
minecraft:blocks/kelp_plant
minecraft:blocks/large_fern
minecraft:blocks/melon
minecraft:blocks/melon_stem
minecraft:blocks/mushroom_stem
minecraft:blocks/oak_leaves
minecraft:blocks/potatoes
minecraft:blocks/potted_brown_mushroom
minecraft:blocks/potted_red_mushroom
minecraft:blocks/red_mushroom
minecraft:blocks/red_mushroom_block
minecraft:blocks/smoker
minecraft:blocks/sweet_berry_bush
minecraft:blocks/tall_grass
minecraft:blocks/wheat
minecraft:chests/village/village_armorer
minecraft:chests/village/village_butcher
minecraft:chests/village/village_cartographer
minecraft:chests/village/village_desert_house
minecraft:chests/village/village_fisher
minecraft:chests/village/village_mason
minecraft:chests/village/village_plains_house
minecraft:chests/village/village_savanna_house
minecraft:chests/village/village_shepherd
minecraft:chests/village/village_snowy_house
minecraft:chests/village/village_taiga_house
minecraft:chests/village/village_tannery
minecraft:chests/village/village_temple
minecraft:chests/village/village_toolsmith
minecraft:chests/village/village_weaponsmith
minecraft:chests/abandoned_mineshaft
minecraft:chests/bastion_hoglin_stable
minecraft:chests/buried_treasure
minecraft:chests/end_city_treasure
minecraft:chests/igloo_chest
minecraft:chests/jungle_temple
minecraft:chests/pillager_outpost
minecraft:chests/ruined_portal
minecraft:chests/shipwreck_supply
minecraft:chests/simple_dungeon
minecraft:chests/spawn_bonus_chest
minecraft:chests/stronghold_corridor
minecraft:chests/stronghold_crossing
minecraft:chests/underwater_ruin_big
minecraft:chests/underwater_ruin_small
minecraft:chests/woodland_mansion
minecraft:entities/cave_spider
minecraft:entities/chicken
minecraft:entities/cod
minecraft:entities/cow
minecraft:entities/drowned
minecraft:entities/elder_guardian
minecraft:entities/guardian
minecraft:entities/hoglin
minecraft:entities/husk
minecraft:entities/pig
minecraft:entities/polar_bear
minecraft:entities/pufferfish
minecraft:entities/rabbit
minecraft:entities/salmon
minecraft:entities/sheep
minecraft:entities/tropical_fish
minecraft:entities/witch
minecraft:entities/zoglin
minecraft:entities/zombie
minecraft:entities/zombie_villager
minecraft:entities/zombified_piglin
minecraft:gameplay/fishing/junk
minecraft:gameplay/fishing/fish
minecraft:gameplay/hero_of_the_village/butcher_gift
minecraft:gameplay/hero_of_the_village/farmer_gift
minecraft:gameplay/hero_of_the_village/farmerman_gift
minecraft:gameplay/cat_morning_gift
* Removed food-based recipes:
minecraft:baked_potato
minecraft:baked_potato_from_campfire_cooking
minecraft:baked_potato_from_smoking
minecraft:carrot_on_a_stick
minecraft:cooked_beef_from_campfire_cooking
minecraft:cooked_chicken_from_campfire_cooking
minecraft:cooked_cod_from_campfire_cooking
minecraft:cooked_mutton_from_campfire_cooking
minecraft:cooked_porkchop_from_campfire_cooking
minecraft:cooked_rabbit_from_campfire_cooking
minecraft:cooked_salmon_from_campfire_cooking
minecraft:dried_kelp_from_campfire_cooking
minecraft:baked_potato_from_smoking
minecraft:bowl
minecraft:bread
minecraft:cake
minecraft:composter (could be used to make farmer villagers)
minecraft:cooked_beef_from_smoking
minecraft:cooked_chicken_from_smoking
minecraft:cooked_cod_from_smoking
minecraft:cooked_mutton_from_smoking
minecraft:cooked_porkchop_from_smoking
minecraft:cooked_rabbit_from_smoking
minecraft:cooked_salmon
minecraft:cooked_beef
minecraft:cooked_chicken
minecraft:cooked_cod
minecraft:cooked_mutton
minecraft:cooked_porkchop
minecraft:cooked_rabbit
minecraft:cooked_salmon_from_smoking
minecraft:cookie
minecraft:dried_kelp
minecraft:dried_kelp_block
minecraft:dried_kelp_from_campfire_cooking
minecraft:dried_kelp_from_smelting
minecraft:dried_kelp_from_smoking
minecraft:glistering_melon
minecraft:golden_apple
minecraft:golden_carrot
minecraft:honey_block
minecraft:honey_bottle
minecraft:melon
minecraft:melon_seeds
minecraft:mushroom_stew
minecraft:popped_chorus_fruit
minecraft:pumpkin_pie
minecraft:purpur_block
minecraft:purpur_pillar
minecraft:purpur_slab
minecraft:purpur_stairs
minecraft:purpur_slab_from_purpur_block_stonecutting
minecraft:purpur_stairs_from_purpur_block_stonecutting
minecraft:purpur_pillar_from_purpur_block_stonecutting
minecraft:rabbit_stew
minecraft:smoker (could be used to make butcher villagers)
minecraft:sugar_from_honey_bottle
2. The only way to regenerate health is with regeneration potions. You can make as many of them as you like, as long as you don't have the Forbid Potions gamerule on. Speaking of Gamerules, these are the rules you can edit before the game begins:
1. When new players join the server, do they spectate or do they play too?
2. Eternal Day
3. Eternal clear weather
4. All zombies are replaced with husks.
5. Blaze spawn naturally in the basalt delta. This could be to your advantage, since finding a nether fortress could be difficult.
6. Forbid potions. All potions, splash potions and lingering potions are forbidden.
7. Constant night vision.
8. Edit the start energy. When you spawn in a new world, you always spawn with 100% energy. You can edit this to be as low as 40% or as high as 160%.
9. Difficulty. Easy, normal, or hard. Starving to death still happens whatever difficulty you pick.
3. The only way you'll be successful is knowing what costs energy and what doesn't. Here's a rundown on how Minecraft does hunger:
There's a handy table at https://minecraft.gamepedia.com/Hunger#Exhaustion_level_increase, but it's not as in-depth as this:
* These actions cost energy (Units are in exhaustion cost, 1 Energy= 0.001 exhaustion):
* Breaking a block (0.005 per block)
* Any block, regardless of if it's a flower or obsidian
* Using the wrong tool so that nothing drops (eg. Using a gold pickaxe to break diamond ore) will NOT cost hunger.
* Swimming in water
* Swimming, both non-animated swimming and animated swimming (0.01 per meter)
* Touching the bottom of a body of water and pressing jump, regardless of if that moves you (0.05 per instance)
* Jumping
* Non-sprint jump (0.05 per jump)
* Sprint jump (0.2 per jump)
* Sprinting (0.1 per meter)
* Melee attacking (0.1 per successful attack, regardless of how charged it is)
* Taking damage that is normally protected by armor, including cactus damage (0.1 per instance of damage received)
* Getting hit by a husk (3.1, that's Hunger I over 30 seconds at 0.1 per second + an instance of damage)
* Climbing (Ladders, scaffolding (WITH shifting), swamp/jungle vines, weeping vines, and twisting vines all share the same rules. Scaffolding (WITHOUT shifting) has its own rule.)
* Starting to climb up a ladder/vine/etc from a solid block without shifting (0.05 per instance)
* Getting off a ladder/vine/etc from the top, regardless of if you shift (0.05 per instance)
* Getting off a ladder/vine/etc mid-way climbing up a ladder/vine/etc, while touching a non-ladder/vine vertical face. (0.05 per instance)
* Climbing up scaffolding without shifting (0.05 per block climbed up)
* Climbing is so costly and random because of a coding quirk where all these instances are technically "jumps". This means all these instances will cost quadruple if you're sprinting while you do them.
* These actions do NOT cost energy:
* Placing blocks.
* Normal walking.
* Crawling.
* Swimming in lava:
* Does NOT consume energy, however, if you "sprint", it will cost energy even though you are not going any faster.
* Standing on the bottom on a lava pool and jumping still counts as a jump.
* Using any projectile weapon.
* Rowing a boat, surprisingly.
* Riding a horse, pig or strider.
* Crafting and GUI interactions.
* Lighting TNT.
* Climbing a ladder/vine/etc (as long as you don't do any of the random actions listed above)
* Climbing down scaffolding.
4. You can always see your energy on the actionbar, so you always know exactly how far away you are from starvation!
Instructions on how to get datapack:
1. Download the latest version. Do not unzip it.
2. Before you create a new world, click on Data Packs and add Paint's Race Against Hunger. Place it in the right column so it activates immediately.
3. Create your new world. Don't change the gamerules. That's it!