Posted March 30, 201411 yr Hey Guys! I want to create a Block which drops itself with several NBTTags, based on the TileEntity, but only if the Player is NOT in creative Mode. For this I need a method which is fired before the TileEntity gets destroyed, but has got a player object in its parameters. Does anyone know, which method to use? http://i.imgur.com/wNvtGZw.png[/img] MODS and MODDING TUTORIALS
March 31, 201411 yr And for the player not being in creative mode, you can use this: if(!player.capabilities.isCreativeMode) { DO STUFF } Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
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.