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.

#ÖCT

Members
  • Joined

  • Last visited

  1. Hey, I wanna to change the Display Name of a one Player. For example every Time if the Player221 join a Server he will get the Display Name [Admin]Baum. Here is my Code, it won't work @SubscribeEvent public void renderName(PlayerEvent.NameFormat event) { String name = event.entityPlayer.getGameProfile().getName(); String baum = "[Admin]Baum"; String abcd = "Player221"; if(name.equals(baum) || name.equals(abcd)) { event.displayname = "[Admin]Baum"; } } The Event is registered with the EVENT_BUS on the Client Side. MinecraftForge.EVENT_BUS.register(new Admin());
  2. How can i set the Resource pack to default, for example with a command? Minecraft.getMinecraft().gameSettings.resourcePacks With this or something other? Thank you for help!
  3. Hey, I wanna to remove more than one item, out of the crafting grid. All works fine, only when the input is smaler than 2 x remove stack, it doesn`t work... Here is my code:
  4. Ok, I changed it.
  5. and with this link?
  6. I think you need C:\Program Files\Java\jre1.8.0_171\bin\javaw.exe
  7. use this path
  8. Did you have replaces java, with your java-path?
  9. sorry, I missunderstood you: here is my registery: GameRegistry.registerTileEntity(quest_tileentity.class, "luckyblockoect:quest"); It`s after the Block registery in the preInit. Ok, the block class is fixed:
  10. @Override public TileEntity createNewTileEntity(World worldIn, int meta) { return new quest_tileentity(); }
  11. Hey, I`ve got a problem: I created a tileentity, all works fine but if somebody die on the server, he can`t respawn. Here, my TileEntity class: And here my Server Log: Thank you very much!
  12. Hello, I wanna to check the Slot Content (Serverside), i think the onUpdate() Methode will be work? But how does the onUpdate() Method is called in 1.12, or is there a better way to solve my problem? Thank you for help
  13. Hey, How can I disable Player moving and jumping? Thank you for help!

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.