Class PlacementModifier


public class PlacementModifier extends BaseModifier
Represents a placement modifier which is applied to a SchematicBrush.

A placement modifier must be added via BrushSettingsRegistry.registerPlacementModifier(PlacementModifier, ModifierProvider).

A Placement modifier is a key represented by a string

  • Field Details

  • Method Details

    • of

      public static PlacementModifier of(String name, String localizedName, String description, boolean required)
      Creates a new PlacementModifier.
      Parameters:
      name - name of the modifier
      description - the description of the modifier
      required - true if this modifier is required to be set. This will enforce a default value for the modifier.
      Returns:
      new PlacementModifier