Jump to content

sjoopies

Members
  • Posts

    32
  • Joined

  • Last visited

Everything posted by sjoopies

  1. I thought you meant onItemInteractWithEntity, thanks for your help.
  2. This is my code that only works for client side: https://gist.github.com/anonymous/81e2a90998f318f1c47d
  3. 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?
  4. I fixed it... I had two build.gradles open and i put the "repositories" thing in the wrong file.
  5. https://gist.github.com/anonymous/a385e5af17e545edfbd3
  6. 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
  7. 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:
  8. 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?
  9. Does it update every tick? Because I want the tileEntity to control the rotation.
  10. 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:
  11. 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.
  12. 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
  13. 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
  14. replace: @Override public boolean handleRenderType(ItemStack item, ItemRenderType type) { return true; } with: @Override public boolean handleRenderType(ItemStack item, ItemRenderType type) { return type != ItemRenderType.INVENTORY; }
  15. I am trying this with my mod right now to see how you can do it
  16. put this --> health_potion = new ModelRenderer(this, 0, 0); above this --> health_potion.mirror = true; Its in the model class
  17. can you now show me your ClientProxy, ModelCrystal, and RenderHealthCrystal
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.