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.

Failender

Forge Modder
  • Joined

  • Last visited

Everything posted by Failender

  1. and diesieben told you what the problem is. I thought u wre coming up with a new problem
  2. 1. learn java 2. show crash log
  3. Could you google that? http://stackoverflow.com/questions/2599440/how-can-i-access-a-private-constructor-of-a-class
  4. damn u mojang. so u just want ur custom CraftingManager, which is basically the same, right? Why not create ur own instance using reflection, instead of just copy pasting the whole code
  5. read about the keyword extends please. after that go and smash ur head soft against a wall
  6. u should consider reading a tutorial about the proxies and why u need to use them. the simple reason to use proxies is to NOT use event.getSide()
  7. are u calling the clientproxy codeß
  8. show thje whole thing where u send the package. i guess its inside ur event handler. have u registered the event handler? show that
  9. for(Block b : BlocksUwannaCheck) { if (b instanceof MyMachineBlock) doEpicStuff(); }
  10. seriously the tutorial is straight forward. fix it urself
  11. check all blocks around or block with instanceof MyPowerBlock
  12. how are u opening the gui
  13. important changes should always happen on server side. the client side is ONLY for displaying informations and sending inputs
  14. http://www.minecraftforge.net/forum/index.php/topic,20135.0.html
  15. One way would always be reflection. But I dont feel like there is need for this in this situation. When do you need the distance from the container
  16. GuiOpenEvent is fired Client-Only. Which means If you want to open a different Container u need to send a packet and let the server open the gui (because the server will inform the client)
  17. A custom gui is done with a class extending GuiScreen , you only need to open that up on client side (I guess you want to be using a KeyBinding for that) so every time the KeyBinding gets hit open the gui using @SubscribeEvent public void onKeyPressed(KeyInputEvent event) { if(ClientProxy.binding.isKeyDown()) { Minecraft.getMinecraft.displayGuiScreen(new MyScreen()) } } You should look for a basic tutorial on how to set up ur proxies ( you will need it). There are tons of them out there so I wont teach u how to do that. Same goes for Keybindings. Look for a tutorial, if you have any problems come back and ask. (Of course the Clientproxy.binding is from type KeyBinding) For the playermodels.. I have no idea. Sorry
  18. delete the examplemod from ur project u wont need it.
  19. seriously u should start to learn to look at vanilla and learn from it. look how vanilla renders the player inventory maybe and then add 4 slots?
  20. im not 100% sure, but taking a look at ChatComponentTranslation should lead u to ur goal
  21. dont do that. work with a master slave system, choosing one main block and let all other reference to the master
  22. why are you adding 1 to y? if u want the block UNDER the player?
  23. never use sideonly if u have no idea what u are doing. if(event.world.isRemote) doStuff();

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.