Interface Mutator<T>
- Type Parameters:
T- value type of mutator
- All Superinterfaces:
ComponentProvider,ConfigurationSerializable,Copyable,Shiftable<T>,ValueProvider<T>
public interface Mutator<T>
extends Shiftable<T>, ConfigurationSerializable, ComponentProvider, Copyable
Interface to implement a mutator to mutate a
PasteMutation-
Method Summary
Modifier and TypeMethodDescriptioncopy()Returns a copy of the implementing object.voidinvoke(PasteMutation mutation) Invoke the mutator on a paste mutation.Methods inherited from interface de.eldoria.schematicbrush.brush.config.util.ComponentProvider
descriptor, localizedDescriptor, localizedName, nameMethods inherited from interface org.bukkit.configuration.serialization.ConfigurationSerializable
serializeMethods inherited from interface de.eldoria.schematicbrush.brush.config.util.Shiftable
shift, shiftableMethods inherited from interface de.eldoria.schematicbrush.brush.config.util.ValueProvider
refresh, value, value, valueProvider
-
Method Details
-
invoke
Invoke the mutator on a paste mutation. The mutation will be applied on the brush.- Parameters:
mutation- mutation
-
copy
Description copied from interface:CopyableReturns a copy of the implementing object.The copy should be by value and should not contain any mutable references to other objects.
-