Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Blackout

Members
  • Posts

    80
  • Joined

  • Last visited

Everything posted by Blackout

  1. I do this operation serverside only. It's not a simple reverse iteration Because wall hanging object, bed, and other custom blocks could be afftected My mod must be compatible with other mods ... Imagine a mods which add a diamond non-opaque block which need support from above, it will be droped and replaced, so duplicate. I can't release my mod with this potential bug
  2. When I do it, that's work but no way lol This is for this mod https://www.youtube.com/watch?v=A3_ibDsezwo, and I can't reverse iterate throught the dependency tree to know which I have to remove first That's why I must remove blocks without taking care about orders. Why it's work for 4 blocks with dependency and more it doesn't ?
  3. I try it, but nothing changes This method is the same but with flags = 3
  4. Hello everyone, In my mod, I remove block from world using world.setBlockState(myBlockPos, Blocks.air.getDefaultState(), 2); when an explosion occurs to prevent any drops. There is a problem when I try to remove block like redstone dusts or torches, sometimes there still are drops. I use '2' as flags so normaly game engine doesn't care about order, right ? In fact, when I have 4 redstone dusts above dirt blocks and I remove this 8 blocks, all is fine, all is removed, I have no drops. But when I have 5 redstone dusts and I remove this 10 blocks (5 redstone dusts + 5 dirts blocks), sometimes 1 or 2 redstone dusts are dropped, sometimes no drops. It is random, I don't know what happens. I really don't think it come from my side And I can't release my mod with this bug Do you have any ideas ?
  5. Hello, I'm trying to remove some blocks without update neightbors. For example, if I remove a farmland block and then the growing stuff using world.setBlockState() or world.setToAir (), farmland is correctly removed but growing stuff is droped so I can't remove it. I don't want any drops and I need to remove blocks from an unsorted list. How can I do that (cleaner way) ?
  6. Hello I want to make game crash with a crash report when my reflection fail. I know class CrashReport but I don't know how to use it. I've done : }catch(ReflectiveOperationException e) { CrashReport crash = new CrashReport(e.getLocalizedMessage(), e); FMLCommonHandler.instance().enhanceCrashReport(crash, crash.makeCategory(ForgeCreeperHeal.MODNAME)); } But nothing happens. I know there are a lot of possibilities that this question have already be posted but search engines always redirect me on support topic where people looking for help because their game have crashed.
  7. Hi, It seems to ExplosionEvent.Detonate doesn't take all affected blocks. I mean when crops or door or sometimes redstone are too near from explosion they don't appears in affected block list from the explosion event. How can I get this missing blocks ? Thanks
  8. Hello, Since 1.8 exploder is not visible anymore and there isn't any getter to get it. How can I get the entity which explode ? Like TNT. Because there is a function getExplosivePlacedBy() which could returns me if this is a creeper or other entity but when it is TNT or TNT-like added by other mods, it returns the Entity who has place it.
  9. Hello, I need to serialize a IBlockState. When I was on 1.7.10, I serialized block by name using GameData.getBlockRegistry().getNameForObject(myBlock) and metadata using its int value. I saw Block have a static function Block.getStateId() but I understood we should not use id anymore. What should I use ? IBlockState doesn't have a writeToNBTTag() function like ??
  10. Hum I can't get Player instance using this way, but I didn't know this annotation. Very interessant functionnality, I could surely be usefull to me on other devs. I finally find an other solution. Client send a paquet with his mod version when he connect to the server. If server receive this paquet, it fix modVersion with extended properties else it's mean client doesn't have the mod installed. Thanks
  11. But if I do that, people who doesn't have mod or lower version couldn't connect to the server. I just want to send packet or chat message but keep my mod server-side as much as possible ^^
  12. I can't get mod version ? Because if the client has a previous version which didn't support my paquet but have the channel registred, server will dectect player can support it, right ?
  13. I know this is not reliable. Its for my mod Forge Creeper Heal. I've done a profiler, see there : Actually I send a packet to player with profiling data, so if client doesn't have mod he can't see profiling data. So I want to send him a chat message if he doesn't have mod clientside installed. So this is just for ergonomic purpose, not security
  14. Hi, How could I know if a client has a mod installed from server side ? Thanks
  15. It works Weird idea indeed Anyways, thank you very much Fortunately there are people like you who know the subtleties of the minecraft's code
  16. @SubscribeEvent public void onWorldTick(TickEvent.WorldTickEvent event) { ... ... world.setBlock(blockData.getChunkPosition().chunkPosX, blockData.getChunkPosition().chunkPosY, blockData.getChunkPosition().chunkPosZ, blockData.getBlock(), blockData.getMetadata(), 7); ... } @SubscribeEvent public void onDetonate(ExplosionEvent.Detonate event) { ... worldHealer.add(new BlockData(world,c), ticks); ... } public class BlockData { private Block block; private int metadata; private NBTTagCompound tileEntityTag; private ChunkPosition chunkPosition; public BlockData(World world, ChunkPosition chunkPosition) { this(world.getBlock(chunkPosition.chunkPosX, chunkPosition.chunkPosY, chunkPosition.chunkPosZ)); this.chunkPosition = chunkPosition; this.metadata = world.getBlockMetadata(chunkPosition.chunkPosX, chunkPosition.chunkPosY, chunkPosition.chunkPosZ); TileEntity te = world.getTileEntity(chunkPosition.chunkPosX, chunkPosition.chunkPosY, chunkPosition.chunkPosZ); if(te != null) { this.tileEntityTag = new NBTTagCompound(); te.writeToNBT(tileEntityTag); } } I have a lot of code, so I can't put all here else it will be unundestandable. I've tried to focus on important parts. I hope it's enought, but I can put more code if you want. I'm sure block metadata is correct before calling world.setBlock(blockData.getChunkPosition().chunkPosX, blockData.getChunkPosition().chunkPosY, blockData.getChunkPosition().chunkPosZ, blockData.getBlock(), blockData.getMetadata(), 7); Because I've done a System.out.println() of blockData.getMetadata() just before and I have correct values.
  17. Hello I want to destroy a chest to replace it later. All about TileEntity is normally fixed, but I'm still stuck with metadata. When I use this configuration : it works, but when I use this one : So without a solid block beetween, I got this : All chest are to the south direction BUT metadata are good. It looks like metadata is ignored How can I solve it ?
  18. Ok I understand thank you for having brought me further information
  19. It works, thanks I thought it was faster by just saving the reference, am I wrong ? If not why can't we use that ?
  20. Hello I want to remove a chest and replace it later. I save its metadata, chunkposition, World and TileEntity. Next I initialize a timer I decrease with world ticks. I do world.setBlock(chunkpositionXYZ, Blocks.air,0, 7) (==> 0 is metadata and 7 to mark for update) then world.removeTileEntity(chunkposXYZ) When timer is under 0, I do world.setBlock(savedChunkPosXYZ, Blocks.chest, savedMetadata, 7) then world.setTileEntity(savedChunkPosXYZ, savedTileEntity) The problem is my chest is always empty I have tried to do removeTileEntity beetween setBlock and setTileEntity when timer < 0, because setBlock a new chest will create a new tileEntity, but it doesn't work neither. How can I do for fixing it ?
  21. I've just done it. It works well thanks but I find this method a bit dirty so if there is an other way to do it ...
  22. 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 : 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 ?
  23. 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
  24. Thank you for your help TheGreyGhost I try to sort face by distance, but I don't sucess Is there a way to do it easy ? In fact, because I use it in a very often called method, I'm scared to write something not enought optimized. I read that OpenGL Z-Buffer is useless with transparency, I read information about GL_ALPHA_TEST but I don't understand how to use it
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.