User Tools

Site Tools


tutorial:dimensions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
tutorial:dimensions [2022/01/01 14:44] – update minecraft wiki link xtexchoosertutorial:dimensions [2022/01/01 14:46] – fix typo xtexchooser
Line 4: Line 4:
 The information below applies to Minecraft 1.15 and earlier, while in Minecraft 1.16, dimensions can be defined in data packs. More information about custom dimensions in 1.16 can be found in the [[https://minecraft.fandom.com/wiki/Custom_dimension|official wiki]]. The information below applies to Minecraft 1.15 and earlier, while in Minecraft 1.16, dimensions can be defined in data packs. More information about custom dimensions in 1.16 can be found in the [[https://minecraft.fandom.com/wiki/Custom_dimension|official wiki]].
  
-However, you must still create a portal using fabric, [[tutorial:custom_portals|more infomation about custom portals here.]]+However, you must still create a portal using fabric, [[tutorial:custom_portals|more information about custom portals here.]]
  
 An example that also shows some of the fabric-api specific code can be found in the [[https://github.com/FabricMC/fabric/tree/1.16/fabric-dimensions-v1/src/testmod|fabric-dimensions-v1 testmod]]. An example that also shows some of the fabric-api specific code can be found in the [[https://github.com/FabricMC/fabric/tree/1.16/fabric-dimensions-v1/src/testmod|fabric-dimensions-v1 testmod]].
Line 35: Line 35:
 } }
 </code> </code>
-The ''defaultPlacer'' determines the default placement when an entity is teleported into this dimension. Here we have made it so the entity spawns on the top block at 0, 0 when entering the dimension. If you want custom portal logic, this is the place to do it. See the [[https://github.com/FabricMC/fabric/blob/1.15/fabric-dimensions-v1/src/main/java/net/fabricmc/fabric/api/dimension/v1/EntityPlacer.java|EntityPlacer documentation]] for details.+The ''defaultPlacer'' determines the default placement when an entity is teleported into this dimension. Here we have made itso the entity spawns on the top block at 0, 0 when entering the dimension. If you want custom portal logic, this is the place to do it. See the [[https://github.com/FabricMC/fabric/blob/1.15/fabric-dimensions-v1/src/main/java/net/fabricmc/fabric/api/dimension/v1/EntityPlacer.java|EntityPlacer documentation]] for details.
  
 === The Dimension class === === The Dimension class ===
tutorial/dimensions.txt · Last modified: 2023/09/24 18:56 by mattidragon