Private constructorReadonly dimensionReturns the dimension that the block is within.
Readonly locationCoordinates of the specified block.
This property can throw when used.
Readonly permutationAdditional block configuration data that describes the block.
This property can throw when used.
Readonly xX coordinate of the block.
Readonly yY coordinate of the block.
Readonly zZ coordinate of the block.
Identifier of the component. If a namespace is not specified, minecraft: is assumed.
Returns the component object if it is present on the particular block.
Gets additional configuration properties (a component) for specific capabilities of particular blocks - for example, an inventory component of a chest block.
This function can throw errors.
Permutation that contains a set of property states for the Block.
Sets the block in the dimension to the state of the permutation.
This function can't be called in read-only mode.
This function can throw errors.
Represents a block in a dimension. A block represents a unique X, Y, and Z within a dimension and get/sets the state of the block at that location. This type was significantly updated in version 1.17.10.21.