Chunk Manager

Published by Goldorion on
Supported MCreator versions
2022.3
2023.1
2023.2
2023.3
2023.4
2024.1
Tags / plugin type
Procedures
Variables
Chunk Manager
Downloads:
1084
Upvotes: 50
About the plugin

Chunk Manager is a plugin adding a new variable type and new procedure blocks related to chunks. With this plugin, you can get values of a chunk and set their properties!

Features

  • A new Chunk variable (Local + Global session)
  • Get chunk at x y z
  • Get the start x/z of chunk
  • Get the end x/z of chunk
  • Get the region x/z of chunk
  • Get the region relative x/z of chunk
  • Get the inhabited time of chunk
  • Is chunk modified

Important Information

  • This plugin supports Forge 1.19.4 and 1.20.1, NeoForge 1.20.4 and Fabric 1.20.1

Licensed under the MIT License

  • Appropriate credit must be provided to the creators and maintainers of this software.
  • Under no circumstances can you state that modified works are endorsed by the original creators.

 

Changelog

See full changelog here

1.4

* Updated to support MCreator 2024.1 (only)
* Added support for NeoForge 1.20.4
* Removed support for Forge 1.18.2 and 1.19.2
License
MIT License

Plugin downloads
Chunk manager 1.4 (MCreator 2024.1) - chunk-manager.zipUploaded on: 04/19/2024 - 14:27   File size: 18.93 KB
Chunk Manager 1.3 (MCreator 2023.4 -) - chunk-manager.zipUploaded on: 03/07/2024 - 22:22   File size: 20.96 KB

Comments

I understand cutting support for 1.18.2 but 1.19.2 is still pretty used, definitely more than 1.19.4 so sad to see it go.

I have little problem, when im trying to make chunk loaded, i everytime receiving this error..
error: cannot find symbol
world.getChunk(new BlockPos(x, y, z)).setLoaded((true));
^
How to fix this? (im wanna make projectiles load chunks for long range weapons)

Hi, the function from the plugin souns good, but is there a function to test if the Chunk is fresh generated (like a global trigger) and then Set an variable for the Chunk to an value?

Submitted by Faruk Arda on Mon, 11/14/2022 - 00:58 Permalink

I want to make space mod and I have a dimension called space; but the sky looks bad even though I set the time to be night all the time in the space dimension. Since there is still a moon on the sky. The resion I am telling you this is because you made some of the best MCreator plugins. So culd you please make a MCreator plugin that lets you change the sky (like on a biome or a dimension). Also my mod is on MCreator 2022.2; so I would be happy if you made the plugin for MCreator 2022.2 too.

First, thank you for making this. Second, does this plugin have a way to make a chunk previously generated regenerate to the state as if just loaded for the first time? If it does not is there some other plugin or method someone could point me toward, because I have an idea for a mod that relies on the proposed mechanic and the mechanics in this plugin?

Wouldn't it be easier to make a command executed @a[distance=..128] due to the spawn and despawn properties of (mob)entities in Minecraft to detect something like that? And if you have some other render distance or default chunk loading you could just use that as a variable inserted into the text of the command.

Please help, no matter what i do java doesnt compile properly. theres definitly a stupid mistake on my side tho

loading chunks does not work becuase IChunk does not not have the methord .setloaded(boolean)