Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

zlappedx3

Members
  • Joined

  • Last visited

Everything posted by zlappedx3

  1. Typically will use NBT on Tileentity. In this case i will use NBT for create system my friend by using Guiscreen and NBT without use TileEntity. I can create it ? or You have how to create better than this.
  2. I need save name player and check it for not player other right click it.
  3. I can't set Metadata in server in block crops is block @Override public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int t, float fx, float fy, float fz) { Random ran = new Random(); TileEntityCrops ted = (TileEntityCrops) world.getTileEntity(x, y, z); int l = world.getBlockMetadata(x, y, z); if(ted.username == player.getCommandSenderName() && l == 7){ world.setBlockMetadataWithNotify(x, y, z, l -7, 2); world.setTileEntity(x, y, z, new TileEntityCrops()); System.out.println(l); this.updateTick(world, x, y, z, ran); return true; }else{ System.out.println(l); return false; } } is tile public static String username; public void processActivate(EntityPlayer player, World world) { username = player.getCommandSenderName(); world.setTileEntity(this.xCoord, this.yCoord, this.zCoord, this); }
  4. you mean networkHandler = NetworkRegistry.INSTANCE.newSimpleChannel("MyChannel"); and use networkHandler.sendAFuckingPacket ?
  5. what at can use with GuiScreen ? for send packets between the client and server.
  6. registerMessage can use with GuiScreen ?
  7. I can't understand at this code network = NetworkRegistry.INSTANCE.newSimpleChannel("MyChannel"); network.registerMessage(MyMessage.Handler.class, MyMessage.class, 0, Side.SERVER); I want use network. ? of guiscreen
  8. The Simple is registerMessage() network = NetworkRegistry.INSTANCE.newSimpleChannel("MyChannel"); network.registerMessage(MyMessage.Handler.class, MyMessage.class, 0, Side.SERVER); I want use void in NetworkRegistry ?
  9. I mean want will make guiscreen give xp by not command. but you tell me. give me send packate. If use Guiscreen for send packate. I will can do it ? If can do it. How to can do ?
  10. In the absence of message I have to do ?
  11. I do code .addExperienceLevel(int); By GuiScreen. @Override protected void actionPerformed(GuiButton button){ switch(button.id){ case 1: EntityPlayer player = Minecraft.getMinecraft().thePlayer; int xp = player.experienceLevel; player.addExperienceLevel(-1000); } If LV 1100 it will remaining 100 but if earn xp 1 it retrun 100 to 1100.
  12. I have already registered. but it can't print. main file. file.
  13. Client it can print but server not print.
  14. To delete onFinishedPotionEffect or not ?
  15. I want hit it. and it curePotionEffects.
  16. I Wally use it. I want How to GuiScreenEvent check the GUI being rendered, cancel it. I unwanted code.
  17. I not want code !!! I want how to do it.
  18. Explain How to ? I want how to.
  19. I want new mainmenu or edit it. but your tell look GuiScreenEvent. GuiScreenEvent it concerned mainmenu ? and GuiScreenEvent how to use for GuiMainMenu
  20. You just tell how to do for me.
  21. I want create new Gui MinMenu. If can't create it should edit it ?
  22. Thank you all very much.
  23. Can I'll lock a block by setBlockUnbreackable? If not. What I should to change?

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.