package com.hypixel.hytale.component.data.change; import com.hypixel.hytale.component.Component; import com.hypixel.hytale.component.ComponentType; import javax.annotation.Nonnull; public class ComponentChange> implements DataChange { private final ChangeType type; private final ComponentType componentType; public ComponentChange(ChangeType type, ComponentType componentType) { this.type = type; this.componentType = componentType; } public ChangeType getType() { return this.type; } public ComponentType getComponentType() { return this.componentType; } @Nonnull @Override public String toString() { return "ComponentChange{type=" + this.type + ", componentType=" + this.componentType + "}"; } }