跳到主要内容

Minecraft Beta - 1.17.20.22 (Xbox One/Windows 10/Android)

GameTest Framework (Experimental) 

  • Renamed BlockTypes class to MinecraftBlockTypes 
  • Renamed Effects class to MinecraftEffectTypes 
  • Renamed Items class to MinecraftItemTypes 
  • Events 
  • Added read-only property currentTick to tick event - Returns the current server tick 
  • Renamed event createEntity to entityCreate 
  • Renamed event addEffect to effectAdd 
  • Renamed event activatePiston to pistonActivate 
  • Renamed event beforeActivatePiston to beforePistonActivate 
  • Renamed event explodeBlock to blockExplode 
  • Renamed event changeWeather to weatherChange 

Commands 

  • Target selectors ry and rym now support wrapping around north  

Items 

  • Killing a custom mob with an unknown loot table entry type will no longer cause a crash, and will now throw a content error (MCPE-129006)  

Mobs 

  • Rabbit with initialEvent specified now scales properly to adult rabbit size (MCPE-76643)  

Spawning 

  • Similar to the spawns_on_block_filter, the spawns_above_block_filter specifies a list of blocks and a distance. The mob can then spawn only if the nearest block within the specified distance below the desired spawnpoint is in that list (water and air not included). "minecraft:spawns_above_block_filter": { "blocks": "minecraft:stone", "distance": 10 }