This mod adds a gamerule to change the push limit of pistons
Retrieves a set of block locations that this piston is connected with. ReturnsVector3[] Notes: This function can throw errors. Constants componentId static read-only componentId = "minecraft:piston"; Type:string 意見反應 此頁面對您有幫助嗎? YesNo...
import{ world, system, BlockPermutation, BlockPistonState, PistonActivateAfterEvent, DimensionLocation }from"@minecraft/server";import{ MinecraftBlockTypes }from"@minecraft/vanilla-data";functionpistonAfterEvent(log: (message:string, status?:number) =>void, targetLocation: DimensionLocation){// set u...
Minecraft: Bedrock Documentation Homepage Updates and News Casual Creator Learning Journey Concepts Game Logic Assets and Sound Worlds Entities Blocks Tools and Libraries Reference Documentation Commands Script APIs minecraft/common minecraft/server-ui minecraft/server minecraft/server minecraft/server Changelog ...