Class PlacementModifier
java.lang.Object
de.eldoria.schematicbrush.brush.config.util.Nameable
de.eldoria.schematicbrush.brush.config.modifier.BaseModifier
de.eldoria.schematicbrush.brush.config.modifier.PlacementModifier
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final PlacementModifierFilter modifier keystatic final PlacementModifierFlip modifier keystatic final PlacementModifierIncludeAir modifier keystatic final PlacementModifierOffset modifier keystatic final PlacementModifierPlacement modifier keystatic final PlacementModifierReplaceAll modifier keystatic final PlacementModifierRotation modifier key -
Method Summary
Methods inherited from class de.eldoria.schematicbrush.brush.config.modifier.BaseModifier
description, getLocalizedName, required
-
Field Details
-
PLACEMENT
Placement modifier key -
INCLUDE_AIR
IncludeAir modifier key -
REPLACE_ALL
ReplaceAll modifier key -
OFFSET
Offset modifier key -
FILTER
Filter modifier key -
FLIP
Flip modifier key -
ROTATION
Rotation modifier key
-
-
Method Details
-
of
public static PlacementModifier of(String name, String localizedName, String description, boolean required) Creates a new PlacementModifier.- Parameters:
name- name of the modifierdescription- the description of the modifierrequired- true if this modifier is required to be set. This will enforce a default value for the modifier.- Returns:
- new PlacementModifier
-