Skip to content

mcaselector-1.8.2

Compare
Choose a tag to compare
@Querz Querz released this 06 Sep 12:07
· 1132 commits to master since this release
e0c599b

This release fixes headless mode requiring JavaFX and chunk import not updating absolute coordinates.

Details

  • Fixed headless mode throwing an Exception when missing a JavaFX installation. Headless mode should not require JavaFX, except when using --mode cache.
  • Importing chunks is now updating saved coordinates of entities, tile entities, structures and tile ticks correctly, see full list below.

Here is a list of all values that will be updated when importing chunks:

  • Level (NBTTagCompound):
    • xPos (NBTTagInt): x-location of the chunk in chunk coordinates
    • zPos (NBTTagInt): z-location of the chunk in chunk coordinates
    • Entities (NBTTagList):
      • Pos (NBTTagList of 3 NBTTagDouble in order x, y, z): location of the entity
      • Leash (NBTTagCompound): location of the fence block when the entity is leashed to a fence
        • X (NBTTagInt): x-location of the leash
        • Z (NBTTagInt): z-location of the leash
      • xTile (NBTTagInt): x-location of a projectile's block coordinate
      • zTile (NBTTagInt): z-location of a projectile's block coordinate
      • SleepingX (NBTTagInt): x-location of an entity's sleeping place
      • SleepingZ (NBTTagInt): z-location of an entity's sleeping place
      • TreasurePosX (NBTTagInt): x-location of a dolphin's treasure
      • TreasurePosZ (NBTTagInt): z-location of a dolphin's treasure
      • AX (NBTTagInt): x-location of a block a phantom will attack next
      • AZ (NBTTagInt): z-location of a block a phantom will attack next
      • APX (NBTTagInt): "approximate" x-location of a shulker (?)
      • APZ (NBTTagInt): "approximate" z-location of a shulker (?)
      • HomePosX (NBTTagInt): x-location of a turtle's home
      • HomePosZ (NBTTagInt): z-location of a turtle's home
      • TravelPosX (NBTTagInt): x-location of a point a turtle travels to
      • TravelPosZ (NBTTagInt): z-location of a point a turtle travels to
      • BoundX (NBTTagInt): x-location of a bounding box a vex moves in
      • BoundZ (NBTTagInt): z-location of a bounding box a vex moves in
      • WanderTarget (NBTTagCompound): the target of a wandering trader
        • X (NBTTagInt): x-location of the target of a wandering trader
        • Z (NBTTagInt): z-location of the target of a wandering trader
      • Owner (NBTTagCompound): the owner of a shulker bullet
        • X (NBTTagInt): x-location of the owner of a shulker bullet
        • Z (NBTTagInt): z-location of the owner of a shulker bullet
      • Target (NBTTagCompound): the target of a shulker bullet
        • X (NBTTagInt): x-location of the target of a shulker bullet
        • Z (NBTTagInt): z-location of the target of a shulker bullet
      • BeamTarget (NBTTagCompound): the beam target of an end crystal
        • X (NBTTagInt): x-location of the beam target of an end crystal
        • Z (NBTTagInt): z-location of the beam target of an end crystal
      • TileX (NBTTagInt): x-location of a block a painting or item frame is attached to
      • TileZ (NBTTagInt): z-location of a block a painting or item frame is attached to
      • Brain (NBTTagCompound):
        • memories (NBTTagCompound): data stored for villagers
          • minecraft:meeting_point (NBTTagCompound):
            • pos (NBTTagList of 3 NBTTagInt in order x, y, z): location of a meeting point of a villager
          • minecraft:home (NBTTagCompound):
            • pos (NBTTagList of 3 NBTTagInt in order x, y, z): location of a home of a villager
          • minecraft:job_site (NBTTagCompound):
            • pos (NBTTagList of 3 NBTTagInt in order x, y, z): location of a job site of a villager
      • PatrolTarget (NBTTagCompound): the target location of an entity that is part of a raid party
        • X (NBTTagInt): x-location the target location of an entity that is part of a raid party
        • Z (NBTTagInt): z-location the target location of an entity that is part of a raid party
      • Passenger (NBTTagCompound): an entity tag of a passenger of this entity, recursive
    • TileEntities (NBTTagList):
      • x (NBTTagInt): x-location of the tile entity
      • z (NBTTagInt): z-location of the tile entity
      • FlowerPos (NBTTagCompound): location of a flower linked to a beehive
        • X (NBTTagInt): x-location of a flower linked to a beehive
        • Z (NBTTagInt): z-location of a flower linked to a beehive
      • ExitPortal (NBTTagCompound): target location of an end gateway
        • X (NBTTagInt): x-location of the target location of an end gateway
        • Z (NBTTagInt): z-location of the target location of an end gateway
      • posX (NBTTagInt): x-location of a structure of a structure block
      • posZ (NBTTagInt): z-location of a structure of a structure block
    • TileTicks (NBTTagList):
      • x (NBTTagInt): x-location of the tile tick
      • z (NBTTagInt): z-location of the tile tick
    • LiquidTicks (NBTTagList):
      • x (NBTTagInt): x-location of the liquid tick
      • z (NBTTagInt): z-location of the liquid tick
    • Structures (NBTTagCompound):
      • References (NBTTagCompound): locations of referenced structures
      • Starts (NBTTagCompound): data of structures and their children
        • ChunkX (NBTTagInt): x-location of the chunk of this structure
        • ChunkZ (NBTTagInt): z-location of the chunk of this structure
        • BB (NBTTagIntArray): bounding box of this structure
        • Processed (NBTTagList): list of coordinates of related processed structures
          • (NBTTagCompound):
            • X (NBTTagInt): x-location of a related processed structure
            • Z (NBTTagInt): z-location of a related processed structure
        • Children (NBTTagList): list of child structures and their locations
          • (NBTTagCompound):
            • TPX (NBTTagInt): x-location origin of an ocean ruin / ship wreck
            • TPZ (NBTTagInt): z-location origin of an ocean ruin / ship wreck
            • PosX (NBTTagInt): x-location of a village part
            • PosZ (NBTTagInt): z-location of a village part
            • BB (NBTTagIntArray): bounding box of a structure piece
            • Entrances (NBTTagList): list of bounding boxes of entrances to this structure, used for mine shafts
            • junctions (NBTTagList): list of junctions, used for villages
              • (NBTTagCompound):
                • source_x (NBTTagInt): x-location of the junction
                • source_z (NBTTagInt): z-location of the junction

Note

Importing chunks does not change the contents of command blocks.


"Requirements":

  • Either:
    • JRE 8+, you can get it from HERE
    • A Minecraft Java Edition installation
  • A computer
  • A brain

If you have Java from Oracle installed on your system:

Most likely, .jar files are associated with java on your computer, it should therefore launch by simply double clicking the file (or however your OS is configured to open files using your mouse or keyboard). If not, you can try java -jar mcaselector-1.8.2.jar from your console. If this doesn't work, you might want to look into how to modify the PATH variable on your system to tell your system that java is an executable program.

If you have Minecraft Java Edition installed on your system:

Minecraft Java Edition comes with a JRE that you can use to start the MCA Selector, so there is no need to install another version of java on your system. On Windows, that java version is usually located in C:\Program Files (x86)\Minecraft\runtime\jre-x64\bin\ and once inside this folder you can simply run java.exe -jar <path-to-mcaselector-1.8.2.jar>. On Mac OS you should find it in Applications/Minecraft.app/Contents/runtime/jre-x64/1.8.0_74/bin where you can execute ./java -jar <path-to-mcaselector-1.8.2.jar>.

If you are using OpenJDK:

If you are using a distribution of OpenJDK, you have to make sure that it comes with JavaFX, as it is needed to run the MCA Selector. Some distributions like AdoptOpenJDK (shipped with most Linux distributions) do not ship with JavaFX by default. On Debian distributions, an open version of JavaFX is contained in the openjfx package. This or some other installation of JavaFX is required to run the .jar.

If none of these instructions work, apply "A brain" that you providently held ready after having read the "Requirements" section carefully.