-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
None
-
CraftBukkit version 3312-Spigot-7840c2a-5a39a23
-
just test plugin
-
Yes
I just noticed biomes from Bukkit (ex: Block#getBiome) do not match what Minecraft is saying is there.
ex:
Test Code:
private void startMessages() { Bukkit.getScheduler().runTaskTimer(this, new Runnable() { @Override public void run() { Bukkit.getOnlinePlayers().forEach(player -> sendBiome(player)); } }, 1, 1); } private void sendBiome(Player player) { Biome biome = player.getLocation().getBlock().getBiome(); player.spigot().sendMessage(ChatMessageType.ACTION_BAR, TextComponent.fromLegacyText("Biome: " + biome)); }
This test code just sends the block at player's biome, which as you can see in the pics does not match what is showing in Minecraft's debug screen (as well as you can tell it doesnt match by where the player is standing)
How to:
Run test plugin, and watch the action bar and vanilla debug screen.