[SPIGOT-4216] ChunkData.setRegion() does not seem to do anything Created: 02/Aug/18 Updated: 03/Aug/18 Resolved: 02/Aug/18 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | lemon | Assignee: | Unassigned |
Resolution: | Invalid | Votes: | 0 |
Labels: | 1.13, bug, world |
Attachments: |
![]() |
Version: | git-Spigot-69774b3-80c43fc (MC: 1.13) |
Guidelines Read: | Yes |
Description |
https://pastebin.com/Vn9JSr1S (ChunkData.setRegion() located at line 147) if result.setRegion is replaced with for (int X = 0; X < 16; X++) { for (int Z = 0; Z < 16; Z++) { result.setBlock(X, y, Z, materials[y]); } } it generates the flat world properly. plugin attached generates an empty void world while it should be generating a normal flat world. ChunkData.setRegion() worked properly in 1.12. |
Comments |
Comment by md_5 [ 03/Aug/18 ] |
That aspect of the method hasn’t changed since 1.12.2 Yes, you will not get the materials you entered without api-version 1.13 (though there was a bug here that was fixed today also) |
Comment by lemon [ 03/Aug/18 ] |
oh then the method has changed from 1.12, sorry |
Comment by md_5 [ 02/Aug/18 ] |
Read the docs
yMax needs to be y+1 I did see a material conversion bug that needs to be fixed however |