BlockType Class
The type (or template) of a block. Does not contain permutation data (state) other than the type of block it represents. This type was introduced as of version 1.17.10.21.
Properties
canBeWaterlogged
read-only canBeWaterlogged: boolean;
Represents whether this type of block can be waterlogged.
Type: boolean
Caution
This property is still in pre-release. Its signature may change or it may be removed in future releases.
id
read-only id: string;
Block type name - for example, minecraft:acacia_stairs
.
Type: string
Caution
This property is still in pre-release. Its signature may change or it may be removed in future releases.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for