Interface IDatatype

All Known Subinterfaces:
IDatatypeFor<T>, IDatatypePost<T,O>
All Known Implementing Classes:
BlockById, EntityClassById, ForAxis, ForBlockOptionalMeta, ForDirection, ForWaypoints, ItemById, NearbyPlayer, RelativeBlockPos, RelativeCoordinate, RelativeFile, RelativeGoal, RelativeGoalBlock, RelativeGoalXZ, RelativeGoalYLevel

public interface IDatatype
An IDatatype is similar to an IArgParser in the sense that it is capable of consuming an argument to transform it into a usable form as the code desires.

A fundamental difference is that an IDatatype is capable of consuming multiple arguments. For example, RelativeBlockPos is an IDatatypePost which requires at least 3 RelativeCoordinate arguments to be specified.

Another difference is that an IDatatype can be tab-completed, providing comprehensive auto completion that can substitute based on existing input or provide possibilities for the next piece of input.

See Also: