Limits the number of entities to return, opting for the
closest N entities as specified by this property. The
location value must also be specified on the query options
object.
可选实验性excludeFamilies
excludeFamilies?:string[]
备注
Excludes entities that match one or more of the specified
families.
Excludes entities if have a specific gamemode that matches
the specified gamemode.
可选实验性excludeNames
excludeNames?:string[]
备注
Excludes entities that have a name that match one of the
specified values.
可选实验性excludeTags
excludeTags?:string[]
备注
Excludes entities with a tag that matches one of the
specified values.
可选实验性excludeTypes
excludeTypes?:string[]
备注
Excludes entities if they are one of the specified types.
可选实验性families
families?:string[]
备注
If specified, includes entities that match all of the
specified families.
可选实验性farthest
farthest?:number
备注
Limits the number of entities to return, opting for the
farthest N entities as specified by this property. The
location value must also be specified on the query options
object.
Contains options for selecting entities within an area.
示例: blockConditional.ts
示例: findEntitiesHavingPropertyEqualsTo.ts
示例: playSoundChained.ts
示例: setScoreboardChained.ts
示例: summonMobChained.ts
示例: bounceSkeletons.ts
示例: tagsQuery.ts
示例: testThatEntityIsFeatherItem.ts