tutorial:structures
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tutorial:structures [2020/02/22 20:05] – [Registering Features] Update feature configuring to 1.15 earthcomputer | tutorial:structures [2020/06/03 21:43] – ffrann | ||
---|---|---|---|
Line 6: | Line 6: | ||
==== Introduction ==== | ==== Introduction ==== | ||
+ | This page is old, and will need to be rewritten once 1.16 is released, accounting new structure registry changes. | ||
We’re going to look at registering and placing structures in your world. | We’re going to look at registering and placing structures in your world. | ||
- | To view examples of 1.14 vanilla structures in action, IglooGenerator & IglooFeature are a good place to start. | + | To view examples of 1.14 vanilla structures in action, IglooGenerator & IglooFeature are a good place to start. |
You are going to need a Feature and Generator for the most basic structure. The feature handles the process of registering the structure and loading it in when the world is generating-- it answers questions such as ‘should I spawn here?’ and ‘what is my name?’ The generator handles the placement of blocks or loading in a structure file if you choose to do so. | You are going to need a Feature and Generator for the most basic structure. The feature handles the process of registering the structure and loading it in when the world is generating-- it answers questions such as ‘should I spawn here?’ and ‘what is my name?’ The generator handles the placement of blocks or loading in a structure file if you choose to do so. | ||
Line 28: | Line 29: | ||
<code java [enable_line_numbers=" | <code java [enable_line_numbers=" | ||
public static class MyStructureStart extends StructureStart { | public static class MyStructureStart extends StructureStart { | ||
- | public MyStructureStart (StructureFeature<?> | + | public MyStructureStart (StructureFeature<?> |
- | super(structureFeature_1, | + | super(feature, chunkX, chunkZ, box, references, seed); |
} | } | ||
@Override | @Override |
tutorial/structures.txt · Last modified: 2022/11/05 12:06 by jab125