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.

Ada2

Members
  • Joined

  • Last visited

  1. I use my proxies for that. CommonProxy: public boolean isSinglePlayer() { return false; } ClientProxy: @Override public boolean isSinglePlayer() { return Minecraft.getMinecraft().isSingleplayer(); } Works very well so far.
  2. Look at world.getWordInfo() append a '.' and look what you can find in there.
  3. I had to search a longer time for a stabel way to get the world, this is what I found (wrapped in a method in my commonproxy): /** * Gets the current world. * @param dim int the dimension of the world * * @return World the current world */ public World getWorld(int dim) { return DimensionManager.getWorld(dim); }
  4. On server side execute "world.markBlockForUpdate(x, y, z);" with x,y,z being the respective coordinates of your tile entity. Override of getDescriptionpacket is needed for this to work, also override onPacketData in your tile entity handling the packet that comes from the server.
  5. Take a look at IPlayerTracker in FML/common. Should have what you need.
  6. In one of my blocks I have @Override public void onBlockPlacedBy(World par1World, int par2, int par3, int par4, EntityLiving par5EntityLiving) { par1World.setBlock(par2, par3 + 1, par4, 3004); par1World.setBlock(par2, par3 + 2, par4, 3005); } to place two other blocks directly above this block.
  7. Ada2 replied to Kore's topic in Modder Support
    Remove the static modifier.

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.