java.lang.Object
net.rodofire.easierworldcreator.shape.block.placer.WGShapeHandler

public class WGShapeHandler extends Object
For multi-chunk features, we create a file that refers every piece of shapes related to a chunkPos. It allows defining at which moment of the chunk generation should the piece be placed.
  • Constructor Details

    • WGShapeHandler

      public WGShapeHandler()
  • Method Details

    • encodeInformations

      public static void encodeInformations(Set<net.minecraft.util.math.ChunkPos> posSet, WGShapeData placer, net.minecraft.util.math.ChunkPos posOffset)
    • encodeInformation

      public static void encodeInformation(net.minecraft.util.math.ChunkPos pos, WGShapeData placer)
      store the information about when should the piece should be placed.
    • decodeInformation

      public static WGShapePlacerManager decodeInformation(net.minecraft.util.math.ChunkPos pos)
      Décode les informations d'un chunk pour savoir quels morceaux doivent être placés.