Interface SchematicSet

All Superinterfaces:
Randomable

public interface SchematicSet extends Randomable
A class holding a set of schematics with weight and Mutator
  • Method Details

    • getMutator

      Mutator<?> getMutator(SchematicModifier type)
      Get the mutator
      Parameters:
      type - type
      Returns:
      mutator
    • updateWeight

      void updateWeight(int weight) throws IllegalStateException, IllegalArgumentException
      Update a not weighted brush.
      Parameters:
      weight - weight to set.
      Throws:
      IllegalStateException - when the weight is not -1 and this method is called.
      IllegalArgumentException - when the weight is less than 1.
    • schematics

      List<Schematic> schematics()
      Schematics
      Returns:
      schematics
    • weight

      int weight()
      Weight of set
      Returns:
      weight
    • mutate

      void mutate(PasteMutation mutation)
      Mutate the paste mutation with all mutators
      Parameters:
      mutation - mutation
    • selector

      Selector selector()
      Get the selector of the set.
      Returns:
      selector
      Since:
      2.0.2
    • toBuilder

      SchematicSetBuilder toBuilder()
      Convert the set into a builder
      Returns:
      new builder instance
    • refreshMutator

      void refreshMutator()
      Refresh the values of all mutators