Changes between Version 3 and Version 4 of DevelopingWorldPainter


Ignore:
Timestamp:
04/04/18 12:44:03 (7 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DevelopingWorldPainter

    v3 v4  
    99= Coordinate systems =
    1010
    11 As you may or may not know, Minecraft employs a strange coordinate system where the `y` coordinate is vertical, contrary to all custom. WorldPainter itself uses a more normal coordinate system where `y` is north-south and `z` is vertical. `x` is west-east in both systems.
     11As you may or may not know, Minecraft employs a strange coordinate system where the `y` coordinate is vertical, contrary to all custom. !WorldPainter itself uses a more normal coordinate system where `y` is north-south and `z` is vertical. `x` is west-east in both systems.
    1212
    13 Unfortunately this can make it unclear sometimes which coordinate system is in use by certain methods. In general, the classes in `net.minecraft` and `org.pepsoft.minecraft` use Minecraft's coordinate system where `y` is the vertical while all other classes use WorldPainter's more normal coordinate system where `z` is the vertical. You'll only have to deal with it in low level code which directly manipulates Minecraft maps, chunks and blocks but it's something to keep in mind. Changing between the two is of course a simple matter of switching `y` and `z`.
     13Unfortunately this can make it unclear sometimes which coordinate system is in use by certain methods. In general, the classes in `net.minecraft` and `org.pepsoft.minecraft` use Minecraft's coordinate system where `y` is the vertical while all other classes use !WorldPainter's more normal coordinate system where `z` is the vertical. You'll only have to deal with it in low level code which directly manipulates Minecraft maps, chunks and blocks but it's something to keep in mind. Changing between the two is of course a simple matter of switching `y` and `z`.
    1414
    1515= Not everything is used =