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.

sjoopies

Members
  • Joined

  • Last visited

Everything posted by sjoopies

  1. I thought you meant onItemInteractWithEntity, thanks for your help.
  2. My entities are not instances of EntityLivingBase.
  3. This is my code that only works for client side: https://gist.github.com/anonymous/81e2a90998f318f1c47d
  4. Does it matter, because it's kind of complicated?
  5. I want to use Minecraft.getMinecraft().objectMouseOver to get the entity I'm looking at, but it does not work for server side. Is there any server side way I can do this?
  6. I fixed it... I had two build.gradles open and i put the "repositories" thing in the wrong file.
  7. https://gist.github.com/anonymous/a385e5af17e545edfbd3
  8. If you mean in the build.gradle then yes
  9. I added the dependency for the JEI and I got this error when trying to setupDecompWorkspace I also downloaded the mod and put it in the mods folder of my workspace and in the lib folder too
  10. When ever I run my mod my block always looks like a cube instead of its model Also this is printed out in the console: OBJLoader.Parser: command 's' (model: '[My model location]') is not currently supported, skipping this is my code for rendering:
  11. I tried the getExtendedState and it did not work the way I wanted it to. Can anyone else give me a solution to my problem?
  12. Does it update every tick? Because I want the tileEntity to control the rotation.
  13. I rendered my block with no errors except my "block" is a cube. I used this method because It allows me to rotate the block using OpenGL This is my rendering Code:
  14. I have a block and it is using an OBJ file and everything works except I want to rotate it depending on the time. I tried different things but I could not get it to work.
  15. I tried using the arguments "--username=" and "--password=" in my dev environment, but I get the error Unrecognized option: --username=(my user name is here) Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. I'm using Forge-1.8.9-11.15.0.1702
  16. I tried Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(Item.getItemFromBlock(CPMBlocks.adv_furnace), 0, new ModelResourceLocation("stone", "inventory")); but it only renders the texture in inventory. Is there any thing I have to call to render texture the block in world
  17. no problem
  18. replace: @Override public boolean handleRenderType(ItemStack item, ItemRenderType type) { return true; } with: @Override public boolean handleRenderType(ItemStack item, ItemRenderType type) { return type != ItemRenderType.INVENTORY; }
  19. I am trying this with my mod right now to see how you can do it
  20. What do you mean
  21. put this --> health_potion = new ModelRenderer(this, 0, 0); above this --> health_potion.mirror = true; Its in the model class
  22. can you now show me your ClientProxy, ModelCrystal, and RenderHealthCrystal

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.