Data Packs Game Mechanic

Cold-blooded (player trait)

  • Functions
  • Predicates
  • 1,449 views • 1 today
  • 51 downloads • 0 today
  • 11
  • 9
  • 5
faIIow
Level 34 : Artisan Pixel Painter
43
This datapack is fairly simple but I figured I'd put it here anyway and update it later if I add something to it.
The idea is that if you want to play a character that's a lizard or a bug or something that gets slow in the cold, you can use this!

Tagged players get speed if:
-they're in hot biomes (Nether)
-they're in warm biomes in high light levels (deserts, badlands, savannah)

and slowness if:
-they're in frozen biomes (ice/snow, the End)
-they're in cold biomes in low light levels (mountains, tundra, taiga, etc)


To add this trait to a player, use:/tag [username] add coldblooded
I might change the predicates later or make it so the speed/slowness takes effect after a certain amount of time; if I do that, I'll update the pack!
I do intend to update it for the new snowy biomes once 1.17 comes out, too.

This is my first datapack so lemme know if you have any suggestions or advice-
Also thanks to HoboMaggot for answering my questions/helping me figure out what I'm doing!
Credithttps://misode.github.io/predicate/
CompatibilityMinecraft 1.15
toMinecraft 1.16
Tags

  Have something to say?

MoonlightMuse
07/10/2021 1:59 pm
Level 1 : New Explorer
This is great! Just what I was looking for! Thank you!
2
faIIow
02/28/2022 1:18 pm
Level 34 : Artisan Pixel Painter
I'm glad! =D np!
1
NoodleRat
03/12/2021 3:17 pm
Level 31 : Artisan Grump Procrastinator
how about add it so fire gives speed?



also, torches campfires, etc
2
faIIow
03/12/2021 3:24 pm
Level 34 : Artisan Pixel Painter
Like being on fire, or--whaddya mean?
Currently, light levels affect speed, so if you're near a torch/campfire/other fire if it's bright enough then that'll give you a boost.
2
NoodleRat
03/15/2021 10:49 am
Level 31 : Artisan Grump Procrastinator
so would a torch in The End stop you from freezing? also, yeah being on fire, cause then fire resistance potions could be used to go really fast
1

Welcome