Class BlueprintPlacementHandling

java.lang.Object
com.ldtteam.structurize.storage.BlueprintPlacementHandling

public class BlueprintPlacementHandling extends Object
Class where blueprint placement is handled.
  • Constructor Details

    • BlueprintPlacementHandling

      public BlueprintPlacementHandling()
  • Method Details

    • handlePlacement

      public static void handlePlacement(BuildToolPlacementMessage message)
      Handle placement with the help of a placement message.
      Parameters:
      message - the placement message.
    • handlePlacement

      public static void handlePlacement(BlueprintSyncMessage blueprintSyncMessage, net.minecraft.server.level.ServerPlayer player)
      Handle placement and store the received client blueprint.
      Parameters:
      blueprintSyncMessage - the message with all the data.