Jump to content

memcallen

Members
  • Posts

    343
  • Joined

  • Last visited

Everything posted by memcallen

  1. Thanks
  2. quick tip, if you want to have an ItemStack that isn't null but doesn't contain anything, use "new ItemStack(Item.getItemByID(0),0)". All this does is create an itemstack with the id of 0 and quantity of 0. I use this instead of null but I couldn't tell you if it works properly with GUIs.
  3. Honestly I couldn't tell you how bad a core mod is but I've heard that they're horrible. If you really wanted to do this you could make a mod with the classes that you need, and then create a type of add-on. I don't know if add-ons are different than any other mod except that it imports another mod's classes.
  4. I just want to rotate the jet engine, not the stand that it is on, although it is one model. I think multimote's method will work the best. Also why are you doing modulo 3600 to the time and then dividing by 100F?
  5. I'm rendering it properly with the TESR but I want to make it so that you can have it rotate any direction on the x y and z kind of like a player head, I'm gonna make it power a turbine and the rotation determines the power output. It's a bit over complex but I think it would be a cool idea for a power system.
  6. First, it is a model. Second does this rotate it like the axles in the rotary craft mod?
  7. I checked that out but it wasn't what I wanted. I want it to rotate around almost like an axle, for the turbine blades. I haven't added the blades yet but I want to make the axle spin first.
  8. I have a techne model but I was wondering how I could rotate it thats the picture of the model so far, I want to add a miniature jet engine onto the top of the pole-like thing but I want to be able to set the direction of it. I haven't found any tutorials or posts about this topic so far.
  9. ever since I did gradlew build there has been this red exclamation point beside my minecraft folder. I know this is bad because I can't edit my mod anymore...please help me...
  10. hmm odd I'm looking through the log and it appears it doesn't like one of my model classes even though the class works perfectely fine. and side note is it possible to copy paste from the command prompt
  11. "Build failed with an exception, Execution failed for task ':JavaCompile'" or something along those lines. I don't want to run gradlew again just in case it messes something up.
  12. I tried building my mod but I got an error on "java compiler" and I can't seem to fix this problem. any help?
  13. how could I get all the players in a server, lan or actual server? I want to create a message like "player failed at...". is there any easy way to do this?
  14. I want to set a nbt variable (or whatever they're called) as a TileEntity, is this possible? or would I have to store the x/y/z coords of the block.
  15. I think the best way to solve that is to have a default texture, so when meta==0 you return the correct texture in your inventory.
  16. unfortunately, crafting doesn't work like that the best way to do that is just to create a shaped recipe with 8 arrows and the potion. when you craft something in minecraft, it just subtracts one item from every slot in the crafting table gui. if you really wanted to do that you would probably need to create a custom crafting manager, although I have no idea how to create one.
  17. "new ItemStack(youritem,amount,metadata)" unless the potion's metadata is 16387 (I highly doubt it) it should be around the 60-70 range. If you don't know the metadata of the potion you could go on the minecraft wiki or use f3+h to find the item id/metadata ingame.
  18. ok awesome, thanks
  19. I know how to export the mod but I have no idea which files to export any help?
  20. I know about the tessellator I've used it a couple times but I have no idea how to implement it into this situation.
  21. I think you could just get the nbt of one bow and transfer it to the other, since enchants are stored in nbt. that is if you're not using nbt for anything...
  22. I've made a TileEntity, multiblock tank but I have no idea how to make it render, it currently stores 2000 units (can be adjusted) and it stores it using nbt it the main tank block. I have a separate block to handle the rendering and the variable get transferred correctly. What would be the easiest way to make the handler block render the level?
  23. public class SteamBlock extends Block{ public SteamBlock(){ super(Material.ground);//just for testing this.setTextureName("gammacraft:Steam"); } @Override public int getRenderBlockPass(){ return 1; } } I'm not at home so I can't be sure that this is correct or post a link to my texture but I think this is all the code that is needed. also TheGreyGhost there is no link for me...
  24. it doesn't work...
  25. I have the same problem as you, my entity isn't rendering and I have no idea why it exists because I put a check in onUpdate() but it's not rendering and has no hitbox. I think it might have something to do with that but I couldn't be sure.
×
×
  • Create New...

Important Information

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