#Need help! BiomeLoadEvent insteed of ChunkLoadEvent.

1 messages · Page 1 of 1 (latest)

woeful scarab
#

Is ChunkLoadEvent same to search custom biomes?

#

want to add options at a plugin

from:
areas:
Cold:
Has Compass: true
Compass Hint: The pieces feel cold to the touch.
Biomes:
- frozen_river
- frozen_ocean
- BiomeName

to:
areas:
Cold:
Has Compass: true
Compass Hint: The pieces feel cold to the touch.
Biomes:
- minecraft:frozen_river
- minecraft:frozen_ocean
- PluginName:BiomeName

to enable custom options in the custom biomes from other plugins.

#

RealisticSeasons do not?

#

ok.

#

How I can ask the biome names to enable the options

#

no. spigot

#

java

#

mow we want to add an option to search automatically for any custom biome

#

So. I not. I search for an example.

#

There many plugins there do that.
And it is to much, adding all plugins.

#

or searching for edited world datas in data packs.

#

Options are acceptable by Mojang.
But I can not find a caller or other thinks.

#

to check biome names or created biomes.

hexed wharf
#

I have no idea how plugins register custom biomes, but perhaps you could look through the BIOME_REGISTRY in the NMS Registry class?

woeful scarab
#

It is enough to check player in BiomeName or ....

#

I have no idea too

hexed wharf
#

Well the registry just holds a bunch of ResourceKeys, so if all you need is something like minecraft:flower_forest, that will be there.

#

I have no idea if other plugins will actually register their biomes though.

#

Or, if they do, maybe not that way. If there's a Spigot way to do it, I don't know what it is.

woeful scarab
#

Maybe a spigot prof can help

#

I don't understand, why we can edit and recreate, but not call for.
There must a way exist.

woeful scarab
#

@hexed wharf what means the /locate biome
I mean that I can search for all .

#

So I think minecraft has got a tester.

hexed wharf
#

Oh, just found it. Looks like it does read from the Biome Registry.

woeful scarab
#

Perfect. Looking for.