Class BlockSelectionSupportUtil

java.lang.Object
com.hypixel.hytale.builtin.blockphysics.BlockSelectionSupportUtil

public final class BlockSelectionSupportUtil extends Object
Computes and bakes block support values into a BlockSelection so support-propagation blocks behave correctly when the prefab is pasted.
  • Method Details

    • applySupportValues

      public static void applySupportValues(@Nonnull BlockSelection selection)
      Recomputes support values for all blocks in the selection that participate in block physics. Blocks outside the selection are treated as solid ground below and air elsewhere.