public abstract class NodeFeatureChange extends NodeChange
For internal use only. May be renamed or removed in a future release.
| Constructor and Description |
|---|
NodeFeatureChange(NodeFeature feature)
Creates a new change for the given feature.
|
| Modifier and Type | Method and Description |
|---|---|
Class<? extends NodeFeature> |
getFeature()
Gets the feature affected by the change.
|
protected void |
populateJson(elemental.json.JsonObject json,
ConstantPool constantPool)
Overridden by subclasses to populate a JSON object when serializing.
|
getNode, toJsonpublic NodeFeatureChange(NodeFeature feature)
feature - the feature affected by the changepublic Class<? extends NodeFeature> getFeature()
protected void populateJson(elemental.json.JsonObject json,
ConstantPool constantPool)
NodeChangepopulateJson in class NodeChangejson - the json object to populateconstantPool - the constant pool to use for serializing constant pool
referencesCopyright © 2025. All rights reserved.