Chunk Detection Procedure I Made

Started by TechTastic on Wed, 06/30/2021 - 12:40

Topic category: Help with modding (Java Edition)

Last seen on 02:01, 27. Aug 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Chunk Detection Procedure I Made
Wed, 06/30/2021 - 12:40

So I am making a Land Claiming mod and needed a way to get, at the very least, the chunk my claiming method was being used in. Sadly, there wasn't an MCreator procedure built for this and search on the forum yielded people with the same problem and no answers. So I started to test with chunks in a Singeplayer world and through this testing learned how to measure chunks from a block inside the chunk itself using modulo division! This is the fruit of that testing!

WARNING: This procedure was made in EAP 2021.2 b26215 for Minecraft Version 1.16.5!

 

Chunk Detection Procedure