Recent content by NickCloudAT

  • After careful consideration and due to limited usage, we’ve made the decision to discontinue the PaperMC forums. Moving forward, we recommend using Hangar for plugin uploads, and for all other community discussions and support, please join us on Discord.
  1. N

    Solved Get structure a player is in

    Well, found a way: String structureString = Objects.requireNonNull(RegistryAccess.registryAccess().getRegistry(RegistryKey.STRUCTURE).getKey(generatedStructure.getStructure())).asMinimalString();
  2. N

    Solved Get structure a player is in

    Hey, I'm currently making a plugin in where I need to check in which structure a player is in.. Currently I have smth like this: for(final Player p : Bukkit.getOnlinePlayers()){ final ArrayList<String> foundStructures = new ArrayList<>()...