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.

robinch

Members
  • Joined

  • Last visited

  1. Ok Thanks. Now everything works fine I just forgot that one little ! infront of my world.isRemote
  2. I read this also in other thread, but as I said: I'm new with proxies and stuff. I'm sorry, I know this is basic knowledge, but could anyone pls describe how I call stuff server-only.
  3. public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { if(world.isRemote){ player.openGui(AllTimesPhysics.instance, AllTimesPhysics.steamEngineGuiId, world, x, y, z); } return true; }
  4. Hello! I'm working on a technic mod and I want to have a steam engine, that produces power. Therefor I have a Gui + Container. Everything works fine, but I can't move the items in the container. They always jump back again. Also the getServerGuiElement in my GuiHandler is never called. I don't know much about proxys so the error might be proxy-related The GuiHandler The TileEntity The Container I also have a gui, the block itself which opens the gui with: player.openGui(AllTimesPhysics.instance, AllTimesPhysics.steamEngineGuiId, world, x, y, z); In my mainclass i have: public static final int steamEngineGuiId = 10; GameRegistry.registerBlock(steamEngine, "SteamEngine"); GameRegistry.registerTileEntity(SteamEngineTileEntity.class, "SteamEngine"); steamEngine = new SteamEngine(Material.rock); NetworkRegistry.INSTANCE.registerGuiHandler(this, new GuiHandler()); If there is anything else needed, i'll post it!

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.