Jump to content

Recommended Posts

Posted

Hi,

 

How could I get blocks broken by explosion to remove their drops ?

 

BlockEvent.BreakBlock is just for player breaking block and ExplosionEvent give me all block around, not only destroyed block :/

Posted

with this code :

@SubscribeEvent
public void onDetonate(ExplosionEvent.Detonate event) {
	if(!event.world.isRemote) {
		for(ChunkPosition c : event.getAffectedBlocks()) {
			Block block = event.world.getBlock(c.chunkPosX, c.chunkPosY, c.chunkPosZ);
			System.out.println("["+c.chunkPosX+", "+c.chunkPosY+", "+c.chunkPosZ+"] "+block.getLocalizedName());
		}
	}
}

 

And this config :

150713123240164409.png

 

 

 

I get :

...onDetonate:15]: [184, 16, -1181] tile.air.name
...onDetonate:15]: [184, 16, -1182] tile.air.name
...onDetonate:15]: [191, 23, -1184] tile.air.name
...onDetonate:15]: [191, 23, -1185] tile.air.name
...onDetonate:15]: [191, 23, -1182] tile.air.name
...onDetonate:15]: [191, 23, -1183] tile.air.name
...onDetonate:15]: [191, 23, -1180] tile.air.name
...onDetonate:15]: [191, 23, -1181] tile.air.name
...onDetonate:15]: [192, 19, -1186] tile.air.name
...onDetonate:15]: [192, 19, -1187] tile.air.name
...onDetonate:15]: [187, 19, -1181] tile.air.name
...onDetonate:15]: [187, 19, -1183] tile.air.name
...onDetonate:15]: [187, 19, -1182] tile.air.name
...onDetonate:15]: [192, 19, -1181] tile.air.name
...onDetonate:15]: [187, 19, -1184] tile.air.name
...onDetonate:15]: [193, 22, -1187] tile.air.name
...onDetonate:15]: [192, 19, -1180] tile.air.name
...onDetonate:15]: [187, 19, -1185] tile.air.name
...onDetonate:15]: [193, 22, -1186] tile.air.name
...onDetonate:15]: [192, 19, -1179] tile.air.name
...onDetonate:15]: [187, 19, -1186] tile.air.name
...onDetonate:15]: [193, 22, -1185] tile.air.name
...onDetonate:15]: [187, 19, -1187] tile.air.name
...onDetonate:15]: [192, 19, -1185] tile.air.name
...onDetonate:15]: [193, 22, -1184] tile.air.name
...onDetonate:15]: [192, 19, -1184] tile.air.name
...onDetonate:15]: [193, 22, -1183] tile.air.name
...onDetonate:15]: [192, 19, -1183] tile.air.name
...onDetonate:15]: [193, 22, -1182] tile.air.name
...onDetonate:15]: [193, 22, -1181] tile.air.name
...onDetonate:15]: [185, 17, -1183] tile.air.name
...onDetonate:15]: [185, 17, -1182] tile.air.name
...onDetonate:15]: [185, 17, -1186] tile.air.name
...onDetonate:15]: [190, 23, -1180] tile.air.name
...onDetonate:15]: [190, 23, -1181] tile.air.name
...onDetonate:15]: [190, 23, -1182] tile.air.name
...onDetonate:15]: [190, 23, -1183] tile.air.name
...onDetonate:15]: [190, 23, -1184] tile.air.name
...onDetonate:15]: [190, 23, -1185] tile.air.name
...onDetonate:15]: [190, 23, -1186] tile.air.name
...onDetonate:15]: [190, 23, -1187] tile.air.name
...onDetonate:15]: [187, 18, -1186] tile.air.name
...onDetonate:15]: [187, 18, -1185] tile.air.name
...onDetonate:15]: [185, 16, -1182] tile.air.name
...onDetonate:15]: [185, 23, -1181] tile.air.name
...onDetonate:15]: [185, 23, -1183] tile.air.name
...onDetonate:15]: [185, 23, -1185] tile.air.name
...onDetonate:15]: [194, 22, -1183] tile.air.name
...onDetonate:15]: [189, 18, -1183] tile.air.name
...onDetonate:15]: [189, 18, -1184] tile.air.name
...onDetonate:15]: [189, 18, -1182] Grass Block
...onDetonate:15]: [193, 21, -1186] tile.air.name
...onDetonate:15]: [193, 21, -1187] tile.air.name
...onDetonate:15]: [186, 18, -1186] tile.air.name
...onDetonate:15]: [193, 20, -1187] tile.air.name
...onDetonate:15]: [191, 21, -1179] tile.air.name
...onDetonate:15]: [191, 21, -1180] tile.air.name
...onDetonate:15]: [191, 21, -1181] tile.air.name
...onDetonate:15]: [193, 20, -1182] tile.air.name
...onDetonate:15]: [193, 20, -1179] tile.air.name
...onDetonate:15]: [193, 21, -1183] tile.air.name
...onDetonate:15]: [191, 22, -1183] tile.air.name
...onDetonate:15]: [193, 21, -1182] tile.air.name
...onDetonate:15]: [191, 22, -1184] tile.air.name
...onDetonate:15]: [193, 21, -1185] tile.air.name
...onDetonate:15]: [191, 22, -1181] tile.air.name
...onDetonate:15]: [193, 21, -1184] tile.air.name
...onDetonate:15]: [191, 22, -1182] tile.air.name
...onDetonate:15]: [193, 21, -1179] tile.air.name
...onDetonate:15]: [191, 22, -1179] tile.air.name
...onDetonate:15]: [191, 22, -1180] tile.air.name
...onDetonate:15]: [193, 21, -1181] tile.air.name
...onDetonate:15]: [188, 20, -1180] tile.air.name
...onDetonate:15]: [193, 21, -1180] tile.air.name
...onDetonate:15]: [188, 20, -1179] tile.air.name
...onDetonate:15]: [188, 20, -1182] tile.air.name
...onDetonate:15]: [191, 21, -1183] tile.air.name
...onDetonate:15]: [188, 20, -1181] tile.air.name
...onDetonate:15]: [191, 21, -1182] tile.air.name
...onDetonate:15]: [188, 21, -1188] tile.air.name
...onDetonate:15]: [188, 20, -1184] tile.air.name
...onDetonate:15]: [191, 21, -1185] tile.air.name
...onDetonate:15]: [188, 20, -1183] tile.air.name
...onDetonate:15]: [188, 21, -1189] tile.air.name
...onDetonate:15]: [191, 21, -1184] tile.air.name
...onDetonate:15]: [188, 21, -1186] tile.air.name
...onDetonate:15]: [188, 20, -1186] tile.air.name
...onDetonate:15]: [191, 21, -1187] tile.air.name
...onDetonate:15]: [191, 22, -1187] tile.air.name
...onDetonate:15]: [188, 21, -1187] tile.air.name
...onDetonate:15]: [188, 20, -1185] tile.air.name
...onDetonate:15]: [191, 21, -1186] tile.air.name
...onDetonate:15]: [191, 22, -1185] tile.air.name
...onDetonate:15]: [188, 21, -1184] tile.air.name
...onDetonate:15]: [188, 20, -1188] tile.air.name
...onDetonate:15]: [188, 20, -1187] tile.air.name
...onDetonate:15]: [188, 21, -1185] tile.air.name
...onDetonate:15]: [191, 21, -1188] tile.air.name
...onDetonate:15]: [191, 22, -1186] tile.air.name
...onDetonate:15]: [188, 21, -1181] tile.air.name
...onDetonate:15]: [188, 21, -1180] tile.air.name
...onDetonate:15]: [188, 21, -1183] tile.air.name
...onDetonate:15]: [188, 21, -1182] tile.air.name
...onDetonate:15]: [188, 21, -1179] tile.air.name
...onDetonate:15]: [188, 24, -1180] tile.air.name
...onDetonate:15]: [188, 21, -1178] tile.air.name
...onDetonate:15]: [190, 16, -1187] tile.air.name
...onDetonate:15]: [188, 22, -1178] tile.air.name
...onDetonate:15]: [188, 22, -1180] tile.air.name
...onDetonate:15]: [188, 22, -1179] tile.air.name
...onDetonate:15]: [188, 22, -1182] tile.air.name
...onDetonate:15]: [188, 22, -1181] tile.air.name
...onDetonate:15]: [188, 22, -1184] tile.air.name
...onDetonate:15]: [188, 22, -1183] tile.air.name
...onDetonate:15]: [188, 22, -1186] tile.air.name
...onDetonate:15]: [188, 22, -1185] tile.air.name
...onDetonate:15]: [188, 22, -1187] tile.air.name
...onDetonate:15]: [192, 20, -1187] tile.air.name
...onDetonate:15]: [192, 20, -1188] tile.air.name
...onDetonate:15]: [192, 20, -1185] tile.air.name
...onDetonate:15]: [192, 20, -1186] tile.air.name
...onDetonate:15]: [192, 20, -1183] tile.air.name
...onDetonate:15]: [192, 20, -1184] tile.air.name
...onDetonate:15]: [192, 20, -1181] tile.air.name
...onDetonate:15]: [192, 20, -1182] tile.air.name
...onDetonate:15]: [186, 23, -1183] tile.air.name
...onDetonate:15]: [186, 23, -1185] tile.air.name
...onDetonate:15]: [186, 23, -1184] tile.air.name
...onDetonate:15]: [186, 23, -1181] tile.air.name
...onDetonate:15]: [186, 23, -1180] tile.air.name
...onDetonate:15]: [188, 19, -1187] tile.air.name
...onDetonate:15]: [188, 19, -1186] tile.air.name
...onDetonate:15]: [188, 19, -1179] tile.air.name
...onDetonate:15]: [188, 19, -1181] tile.air.name
...onDetonate:15]: [188, 19, -1180] tile.air.name
...onDetonate:15]: [188, 19, -1183] tile.air.name
...onDetonate:15]: [188, 19, -1182] tile.air.name
...onDetonate:15]: [188, 19, -1185] tile.air.name
...onDetonate:15]: [188, 19, -1184] tile.air.name
...onDetonate:15]: [187, 21, -1184] tile.air.name
...onDetonate:15]: [191, 19, -1180] tile.air.name
...onDetonate:15]: [187, 21, -1185] tile.air.name
...onDetonate:15]: [191, 19, -1181] tile.air.name
...onDetonate:15]: [191, 19, -1182] tile.air.name
...onDetonate:15]: [187, 21, -1182] tile.air.name
...onDetonate:15]: [191, 19, -1183] tile.air.name
...onDetonate:15]: [187, 21, -1183] tile.air.name
...onDetonate:15]: [187, 21, -1188] tile.air.name
...onDetonate:15]: [187, 21, -1186] tile.air.name
...onDetonate:15]: [187, 21, -1187] tile.air.name
...onDetonate:15]: [189, 16, -1178] tile.air.name
...onDetonate:15]: [191, 19, -1184] tile.air.name
...onDetonate:15]: [187, 21, -1180] tile.air.name
...onDetonate:15]: [187, 21, -1181] tile.air.name
...onDetonate:15]: [191, 19, -1185] tile.air.name
...onDetonate:15]: [191, 19, -1186] tile.air.name
...onDetonate:15]: [187, 21, -1179] tile.air.name
...onDetonate:15]: [191, 19, -1187] tile.air.name
...onDetonate:15]: [185, 18, -1187] tile.air.name
...onDetonate:15]: [193, 19, -1186] tile.air.name
...onDetonate:15]: [189, 16, -1188] tile.air.name
...onDetonate:15]: [192, 20, -1180] tile.air.name
...onDetonate:15]: [189, 16, -1189] tile.air.name
...onDetonate:15]: [192, 20, -1179] tile.air.name
...onDetonate:15]: [190, 22, -1186] tile.air.name
...onDetonate:15]: [190, 18, -1182] Glass
...onDetonate:15]: [190, 22, -1185] tile.air.name
...onDetonate:15]: [190, 22, -1184] tile.air.name
...onDetonate:15]: [190, 22, -1183] tile.air.name
...onDetonate:15]: [190, 18, -1184] Ladder
...onDetonate:15]: [190, 18, -1183] Chest
...onDetonate:15]: [190, 22, -1187] tile.air.name
...onDetonate:15]: [189, 17, -1181] tile.air.name
...onDetonate:15]: [189, 17, -1180] tile.air.name
...onDetonate:15]: [189, 17, -1179] tile.air.name
...onDetonate:15]: [184, 21, -1182] tile.air.name
...onDetonate:15]: [184, 21, -1183] tile.air.name
...onDetonate:15]: [186, 19, -1186] tile.air.name
...onDetonate:15]: [186, 19, -1187] tile.air.name
...onDetonate:15]: [186, 19, -1182] tile.air.name
...onDetonate:15]: [186, 19, -1183] tile.air.name
...onDetonate:15]: [186, 19, -1184] tile.air.name
...onDetonate:15]: [186, 19, -1185] tile.air.name
...onDetonate:15]: [190, 22, -1179] tile.air.name
...onDetonate:15]: [190, 22, -1181] tile.air.name
...onDetonate:15]: [190, 22, -1182] tile.air.name
...onDetonate:15]: [189, 17, -1186] tile.air.name
...onDetonate:15]: [190, 19, -1181] tile.air.name
...onDetonate:15]: [189, 17, -1187] tile.air.name
...onDetonate:15]: [190, 19, -1180] tile.air.name
...onDetonate:15]: [189, 17, -1185] tile.air.name
...onDetonate:15]: [190, 19, -1184] tile.air.name
...onDetonate:15]: [190, 19, -1185] tile.air.name
...onDetonate:15]: [190, 19, -1182] tile.air.name
...onDetonate:15]: [190, 19, -1183] tile.air.name
...onDetonate:15]: [190, 19, -1186] tile.air.name
...onDetonate:15]: [190, 19, -1187] tile.air.name
...onDetonate:15]: [192, 22, -1187] tile.air.name
...onDetonate:15]: [186, 23, -1187] tile.air.name
...onDetonate:15]: [192, 22, -1188] tile.air.name
...onDetonate:15]: [187, 16, -1188] tile.air.name
...onDetonate:15]: [187, 16, -1189] tile.air.name
...onDetonate:15]: [192, 22, -1182] tile.air.name
...onDetonate:15]: [192, 22, -1181] tile.air.name
...onDetonate:15]: [192, 22, -1180] tile.air.name
...onDetonate:15]: [192, 22, -1179] tile.air.name
...onDetonate:15]: [187, 16, -1178] tile.air.name
...onDetonate:15]: [192, 22, -1186] tile.air.name
...onDetonate:15]: [190, 21, -1179] tile.air.name
...onDetonate:15]: [192, 22, -1185] tile.air.name
...onDetonate:15]: [192, 22, -1184] tile.air.name
...onDetonate:15]: [192, 22, -1183] tile.air.name
...onDetonate:15]: [190, 21, -1183] tile.air.name
...onDetonate:15]: [190, 21, -1182] tile.air.name
...onDetonate:15]: [190, 21, -1181] tile.air.name
...onDetonate:15]: [190, 21, -1180] tile.air.name
...onDetonate:15]: [190, 21, -1187] tile.air.name
...onDetonate:15]: [190, 21, -1186] tile.air.name
...onDetonate:15]: [190, 21, -1185] tile.air.name
...onDetonate:15]: [190, 21, -1184] tile.air.name
...onDetonate:15]: [191, 20, -1181] tile.air.name
...onDetonate:15]: [191, 20, -1182] tile.air.name
...onDetonate:15]: [191, 20, -1179] tile.air.name
...onDetonate:15]: [191, 20, -1180] tile.air.name
...onDetonate:15]: [191, 20, -1185] tile.air.name
...onDetonate:15]: [191, 20, -1186] tile.air.name
...onDetonate:15]: [191, 20, -1183] tile.air.name
...onDetonate:15]: [191, 24, -1183] tile.air.name
...onDetonate:15]: [191, 20, -1184] tile.air.name
...onDetonate:15]: [191, 24, -1184] tile.air.name
...onDetonate:15]: [192, 21, -1188] tile.air.name
...onDetonate:15]: [192, 21, -1185] tile.air.name
...onDetonate:15]: [192, 21, -1184] tile.air.name
...onDetonate:15]: [192, 21, -1187] tile.air.name
...onDetonate:15]: [192, 21, -1186] tile.air.name
...onDetonate:15]: [192, 21, -1181] tile.air.name
...onDetonate:15]: [192, 21, -1180] tile.air.name
...onDetonate:15]: [191, 24, -1181] tile.air.name
...onDetonate:15]: [192, 21, -1183] tile.air.name
...onDetonate:15]: [192, 21, -1182] tile.air.name
...onDetonate:15]: [192, 21, -1179] tile.air.name
...onDetonate:15]: [193, 23, -1185] tile.air.name
...onDetonate:15]: [193, 23, -1183] tile.air.name
...onDetonate:15]: [189, 23, -1181] tile.air.name
...onDetonate:15]: [189, 23, -1180] tile.air.name
...onDetonate:15]: [193, 23, -1181] tile.air.name
...onDetonate:15]: [189, 23, -1183] tile.air.name
...onDetonate:15]: [193, 23, -1180] tile.air.name
...onDetonate:15]: [189, 23, -1182] tile.air.name
...onDetonate:15]: [189, 23, -1179] tile.air.name
...onDetonate:15]: [187, 17, -1182] tile.air.name
...onDetonate:15]: [189, 23, -1188] tile.air.name
...onDetonate:15]: [187, 17, -1183] tile.air.name
...onDetonate:15]: [191, 16, -1178] tile.air.name
...onDetonate:15]: [187, 17, -1184] tile.air.name
...onDetonate:15]: [187, 17, -1185] tile.air.name
...onDetonate:15]: [189, 23, -1184] tile.air.name
...onDetonate:15]: [189, 23, -1185] tile.air.name
...onDetonate:15]: [189, 23, -1186] tile.air.name
...onDetonate:15]: [189, 19, -1180] tile.air.name
...onDetonate:15]: [189, 19, -1181] tile.air.name
...onDetonate:15]: [189, 19, -1182] tile.air.name
...onDetonate:15]: [189, 19, -1183] tile.air.name
...onDetonate:15]: [187, 17, -1186] tile.air.name
...onDetonate:15]: [189, 19, -1184] tile.air.name
...onDetonate:15]: [189, 19, -1185] tile.air.name
...onDetonate:15]: [187, 17, -1187] tile.air.name
...onDetonate:15]: [189, 19, -1186] tile.air.name
...onDetonate:15]: [189, 19, -1187] tile.air.name
...onDetonate:15]: [189, 21, -1180] tile.air.name
...onDetonate:15]: [190, 24, -1184] tile.air.name
...onDetonate:15]: [189, 21, -1181] tile.air.name
...onDetonate:15]: [190, 24, -1183] tile.air.name
...onDetonate:15]: [185, 22, -1186] tile.air.name
...onDetonate:15]: [189, 21, -1178] tile.air.name
...onDetonate:15]: [190, 24, -1182] tile.air.name
...onDetonate:15]: [185, 22, -1185] tile.air.name
...onDetonate:15]: [189, 21, -1179] tile.air.name
...onDetonate:15]: [190, 24, -1181] tile.air.name
...onDetonate:15]: [185, 22, -1184] tile.air.name
...onDetonate:15]: [189, 21, -1184] tile.air.name
...onDetonate:15]: [185, 22, -1183] tile.air.name
...onDetonate:15]: [189, 21, -1185] tile.air.name
...onDetonate:15]: [185, 22, -1182] tile.air.name
...onDetonate:15]: [189, 21, -1182] tile.air.name
...onDetonate:15]: [185, 22, -1181] tile.air.name
...onDetonate:15]: [189, 21, -1183] tile.air.name
...onDetonate:15]: [190, 24, -1185] tile.air.name
...onDetonate:15]: [189, 21, -1188] tile.air.name
...onDetonate:15]: [189, 21, -1186] tile.air.name
...onDetonate:15]: [189, 21, -1187] tile.air.name
...onDetonate:15]: [191, 20, -1188] tile.air.name
...onDetonate:15]: [191, 20, -1187] tile.air.name
...onDetonate:15]: [192, 23, -1180] tile.air.name
...onDetonate:15]: [192, 23, -1181] tile.air.name
...onDetonate:15]: [192, 23, -1179] tile.air.name
...onDetonate:15]: [190, 17, -1185] tile.air.name
...onDetonate:15]: [190, 17, -1186] tile.air.name
...onDetonate:15]: [192, 17, -1179] tile.air.name
...onDetonate:15]: [190, 17, -1187] tile.air.name
...onDetonate:15]: [184, 20, -1182] tile.air.name
...onDetonate:15]: [184, 20, -1181] tile.air.name
...onDetonate:15]: [184, 20, -1184] tile.air.name
...onDetonate:15]: [184, 20, -1183] tile.air.name
...onDetonate:15]: [190, 17, -1179] tile.air.name
...onDetonate:15]: [186, 20, -1186] tile.air.name
...onDetonate:15]: [184, 20, -1186] tile.air.name
...onDetonate:15]: [190, 17, -1180] tile.air.name
...onDetonate:15]: [186, 20, -1185] tile.air.name
...onDetonate:15]: [190, 17, -1181] tile.air.name
...onDetonate:15]: [186, 20, -1188] tile.air.name
...onDetonate:15]: [186, 20, -1187] tile.air.name
...onDetonate:15]: [187, 22, -1184] tile.air.name
...onDetonate:15]: [186, 20, -1183] tile.air.name
...onDetonate:15]: [187, 22, -1183] tile.air.name
...onDetonate:15]: [186, 20, -1184] tile.air.name
...onDetonate:15]: [187, 22, -1182] tile.air.name
...onDetonate:15]: [186, 20, -1181] tile.air.name
...onDetonate:15]: [187, 22, -1181] tile.air.name
...onDetonate:15]: [186, 20, -1182] tile.air.name
...onDetonate:15]: [187, 22, -1180] tile.air.name
...onDetonate:15]: [186, 20, -1179] tile.air.name
...onDetonate:15]: [187, 22, -1179] tile.air.name
...onDetonate:15]: [186, 20, -1180] tile.air.name
...onDetonate:15]: [187, 22, -1178] tile.air.name
...onDetonate:15]: [192, 17, -1187] tile.air.name
...onDetonate:15]: [192, 17, -1186] tile.air.name
...onDetonate:15]: [192, 17, -1185] tile.air.name
...onDetonate:15]: [192, 17, -1181] tile.air.name
...onDetonate:15]: [192, 17, -1180] tile.air.name
...onDetonate:15]: [192, 23, -1187] tile.air.name
...onDetonate:15]: [192, 23, -1186] tile.air.name
...onDetonate:15]: [192, 23, -1183] tile.air.name
...onDetonate:15]: [192, 23, -1182] tile.air.name
...onDetonate:15]: [192, 23, -1185] tile.air.name
...onDetonate:15]: [192, 23, -1184] tile.air.name
...onDetonate:15]: [187, 22, -1187] tile.air.name
...onDetonate:15]: [187, 22, -1185] tile.air.name
...onDetonate:15]: [187, 22, -1186] tile.air.name
...onDetonate:15]: [191, 17, -1187] tile.air.name
...onDetonate:15]: [191, 17, -1186] tile.air.name
...onDetonate:15]: [186, 22, -1180] tile.air.name
...onDetonate:15]: [186, 22, -1182] tile.air.name
...onDetonate:15]: [186, 22, -1181] tile.air.name
...onDetonate:15]: [186, 22, -1184] tile.air.name
...onDetonate:15]: [183, 20, -1183] tile.air.name
...onDetonate:15]: [186, 22, -1183] tile.air.name
...onDetonate:15]: [186, 22, -1186] tile.air.name
...onDetonate:15]: [186, 22, -1185] tile.air.name
...onDetonate:15]: [186, 22, -1187] tile.air.name
...onDetonate:15]: [191, 17, -1179] tile.air.name
...onDetonate:15]: [191, 17, -1180] tile.air.name
...onDetonate:15]: [191, 17, -1181] tile.air.name
...onDetonate:15]: [191, 17, -1182] tile.air.name
...onDetonate:15]: [191, 17, -1183] tile.air.name
...onDetonate:15]: [191, 17, -1184] tile.air.name
...onDetonate:15]: [191, 17, -1185] tile.air.name
...onDetonate:15]: [188, 23, -1181] tile.air.name
...onDetonate:15]: [188, 23, -1180] tile.air.name
...onDetonate:15]: [188, 23, -1187] tile.air.name
...onDetonate:15]: [188, 23, -1186] tile.air.name
...onDetonate:15]: [188, 23, -1188] tile.air.name
...onDetonate:15]: [188, 23, -1183] tile.air.name
...onDetonate:15]: [188, 23, -1185] tile.air.name
...onDetonate:15]: [189, 24, -1181] tile.air.name
...onDetonate:15]: [189, 20, -1188] tile.air.name
...onDetonate:15]: [189, 24, -1180] tile.air.name
...onDetonate:15]: [189, 20, -1187] tile.air.name
...onDetonate:15]: [189, 20, -1186] tile.air.name
...onDetonate:15]: [189, 20, -1185] tile.air.name
...onDetonate:15]: [189, 24, -1185] tile.air.name
...onDetonate:15]: [189, 20, -1184] tile.air.name
...onDetonate:15]: [189, 24, -1184] tile.air.name
...onDetonate:15]: [189, 20, -1183] tile.air.name
...onDetonate:15]: [189, 24, -1183] tile.air.name
...onDetonate:15]: [189, 20, -1181] tile.air.name
...onDetonate:15]: [189, 20, -1182] tile.air.name
...onDetonate:15]: [189, 20, -1179] tile.air.name
...onDetonate:15]: [189, 20, -1180] tile.air.name
...onDetonate:15]: [189, 20, -1178] tile.air.name
...onDetonate:15]: [185, 20, -1182] tile.air.name
...onDetonate:15]: [185, 20, -1181] tile.air.name
...onDetonate:15]: [185, 20, -1184] tile.air.name
...onDetonate:15]: [185, 20, -1183] tile.air.name
...onDetonate:15]: [185, 20, -1186] tile.air.name
...onDetonate:15]: [185, 20, -1185] tile.air.name
...onDetonate:15]: [185, 20, -1188] tile.air.name
...onDetonate:15]: [185, 20, -1187] tile.air.name
...onDetonate:15]: [189, 22, -1187] tile.air.name
...onDetonate:15]: [189, 22, -1188] tile.air.name
...onDetonate:15]: [189, 22, -1185] tile.air.name
...onDetonate:15]: [193, 17, -1187] tile.air.name
...onDetonate:15]: [189, 22, -1186] tile.air.name
...onDetonate:15]: [189, 22, -1183] tile.air.name
...onDetonate:15]: [189, 22, -1184] tile.air.name
...onDetonate:15]: [188, 18, -1184] Torch
...onDetonate:15]: [189, 22, -1181] tile.air.name
...onDetonate:15]: [188, 18, -1183] Leaves
...onDetonate:15]: [189, 22, -1182] tile.air.name
...onDetonate:15]: [187, 24, -1183] tile.air.name
...onDetonate:15]: [189, 22, -1179] tile.air.name
...onDetonate:15]: [189, 22, -1180] tile.air.name
...onDetonate:15]: [189, 22, -1178] tile.air.name
...onDetonate:15]: [188, 17, -1181] tile.air.name
...onDetonate:15]: [188, 17, -1180] tile.air.name
...onDetonate:15]: [188, 17, -1185] tile.air.name
...onDetonate:15]: [188, 17, -1187] tile.air.name
...onDetonate:15]: [188, 17, -1186] tile.air.name
...onDetonate:15]: [185, 19, -1186] tile.air.name
...onDetonate:15]: [185, 19, -1184] tile.air.name
...onDetonate:15]: [185, 19, -1185] tile.air.name
...onDetonate:15]: [185, 19, -1182] tile.air.name
...onDetonate:15]: [185, 19, -1183] tile.air.name
...onDetonate:15]: [188, 17, -1179] tile.air.name
...onDetonate:15]: [184, 22, -1182] tile.air.name
...onDetonate:15]: [186, 21, -1181] tile.air.name
...onDetonate:15]: [186, 21, -1180] tile.air.name
...onDetonate:15]: [186, 21, -1183] tile.air.name
...onDetonate:15]: [190, 25, -1182] tile.air.name
...onDetonate:15]: [186, 21, -1182] tile.air.name
...onDetonate:15]: [190, 20, -1189] tile.air.name
...onDetonate:15]: [186, 21, -1185] tile.air.name
...onDetonate:15]: [190, 20, -1188] tile.air.name
...onDetonate:15]: [186, 21, -1184] tile.air.name
...onDetonate:15]: [190, 20, -1187] tile.air.name
...onDetonate:15]: [188, 16, -1188] tile.air.name
...onDetonate:15]: [186, 21, -1187] tile.air.name
...onDetonate:15]: [190, 20, -1186] tile.air.name
...onDetonate:15]: [186, 21, -1186] tile.air.name
...onDetonate:15]: [188, 16, -1187] tile.air.name
...onDetonate:15]: [190, 20, -1185] tile.air.name
...onDetonate:15]: [190, 20, -1184] tile.air.name
...onDetonate:15]: [186, 21, -1188] tile.air.name
...onDetonate:15]: [190, 20, -1183] tile.air.name
...onDetonate:15]: [190, 20, -1182] tile.air.name
...onDetonate:15]: [190, 20, -1181] tile.air.name
...onDetonate:15]: [188, 16, -1178] tile.air.name
...onDetonate:15]: [190, 20, -1180] tile.air.name
...onDetonate:15]: [190, 20, -1179] tile.air.name
...onDetonate:15]: [185, 22, -1180] tile.air.name
...onDetonate:15]: [186, 21, -1178] tile.air.name
...onDetonate:15]: [186, 21, -1179] tile.air.name
...onDetonate:15]: [187, 23, -1181] tile.air.name
...onDetonate:15]: [187, 23, -1180] tile.air.name
...onDetonate:15]: [187, 23, -1183] tile.air.name
...onDetonate:15]: [187, 23, -1186] tile.air.name
...onDetonate:15]: [186, 17, -1185] tile.air.name
...onDetonate:15]: [186, 17, -1184] tile.air.name
...onDetonate:15]: [186, 17, -1187] tile.air.name
...onDetonate:15]: [186, 17, -1186] tile.air.name
...onDetonate:15]: [192, 24, -1185] tile.air.name
...onDetonate:15]: [192, 24, -1183] tile.air.name
...onDetonate:15]: [192, 24, -1182] tile.air.name
...onDetonate:15]: [186, 24, -1183] tile.air.name
...onDetonate:15]: [186, 17, -1182] tile.air.name
...onDetonate:15]: [186, 17, -1183] tile.air.name
...onDetonate:15]: [185, 21, -1187] tile.air.name
...onDetonate:15]: [185, 21, -1186] tile.air.name
...onDetonate:15]: [185, 21, -1181] tile.air.name
...onDetonate:15]: [185, 21, -1179] tile.air.name
...onDetonate:15]: [185, 21, -1184] tile.air.name
...onDetonate:15]: [185, 21, -1185] tile.air.name
...onDetonate:15]: [185, 21, -1182] tile.air.name
...onDetonate:15]: [185, 21, -1183] tile.air.name
...onDetonate:15]: [187, 20, -1185] tile.air.name
...onDetonate:15]: [187, 20, -1186] tile.air.name
...onDetonate:15]: [187, 20, -1183] tile.air.name
...onDetonate:15]: [187, 20, -1184] tile.air.name
...onDetonate:15]: [187, 20, -1181] tile.air.name
...onDetonate:15]: [187, 20, -1182] tile.air.name
...onDetonate:15]: [187, 20, -1179] tile.air.name
...onDetonate:15]: [187, 20, -1180] tile.air.name
...onDetonate:15]: [187, 20, -1187] tile.air.name
...onDetonate:15]: [187, 20, -1188] tile.air.name

 

Bedrock and water don't appear, I can skip air with isAir() function. So that's good thanks :)

But how can I remove dropped items ?

Posted

Just an idea ( I guess someone will correct me in 5 seconds)

You got all affected blocks. So destroy the blocks yourself, without dropping items, then the explosion comes, sees there are no blocks so there wont be any item spawns.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.