Class EmptyData
java.lang.Object
com.blamejared.crafttweaker.api.data.EmptyData
- All Implemented Interfaces:
IData,Comparable<IData>,Iterable<IData>
Represents a marker object for data.
Note that this is not supposed to be used in scripts, and as such it cannot be obtained in any way.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.blamejared.crafttweaker.api.data.IData
IData.Type -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(DataVisitor<T> visitor) copy()net.minecraft.nbt.TagGets the internal Tag stored in this IData.getType()Gets the type of this IData.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.blamejared.crafttweaker.api.data.IData
add, and, asBool, asByte, asByteArray, asDouble, asFloat, asInt, asIntArray, asList, asLong, asLongArray, asMap, asShort, asString, cat, compareTo, contains, containsList, div, equalTo, getAsString, getAt, getAt, getId, getKeys, isEmpty, isListable, isMappable, iterator, length, map, merge, mod, mul, neg, not, or, put, remove, remove, setAt, shl, shr, sub, xorMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
INSTANCE
-
-
Method Details
-
getInternal
public net.minecraft.nbt.Tag getInternal()Description copied from interface:IDataGets the internal Tag stored in this IData.- Specified by:
getInternalin interfaceIData- Returns:
- the vanilla Tag that this IData represents.
-
copy
-
copyInternal
- Specified by:
copyInternalin interfaceIData
-
accept
-
getType
Description copied from interface:IDataGets the type of this IData. -
toString
-