Started by
woodcraft
on
Topic category: Help with Minecraft modding (Java Edition)
Let's say i want to give the player regeneration in a biome that has the temperature of 1.5 and down but not biomes with the temperature of 0.1, how would i do this?
Yeah you can just use the block "Get biome temperature at x y z" from the world data section. knowing the temperature, you can give an item to the player when it spawns, and make it impossible to drop using procedures, then every tick the entity has the item in the inventory you can use the temperature that you alredy know to do whatver you want. you can even use the item to inform the player about the temperature, doing some sorta conversion to Farenheits or Celcius degrees
Its pretty simple -
You can do a lot of things with world data section blocks. you can use the "can location x y z see the sky" and check if its daytime to make a solar apocalipse, doing damage to the player whenever both of these are true