Jump to content

theOriginalByte

Forge Modder
  • Posts

    181
  • Joined

  • Last visited

Everything posted by theOriginalByte

  1. Hey everyone! I have a quick question. How do I prevent the block I've made from just showing up randomly in the result portion of the crafting grid? Here is a picture: The link to the repository is here: https://github.com/Cyb3rWarri0r8/CommuMod/tree/release/V.-1.5/src/main/java/io/cyb3rwarri0r8/commumod All help is greatly appreciated as i've tried to figure this out and have drawn nothing but blanks as to what i've done wrong.
  2. That fixed it thanks!
  3. Hey everyone! I've been having problems trying to get my IDE working with forge recently. I'm using Intellij Idea 14 at the latest version and it won't load the textures. I have the resources directory marked as the resources root but no matter what I do it ignores the fact that I have a resources directory. Here is a picture of what it looks like: Here is the crash log: http://pastebin.com/19z1wAtH
  4. Sorry I forgot about that: ModBlocks: http://bit.ly/1uSSusV BlockPeanut(Crop): http://bit.ly/10NiCYw ModBlockCrops: http://bit.ly/10NiM1T ModItemSeeds: http://bit.ly/10NiQ1S ItemPeanut: http://bit.ly/10NiTdQ ModItems: http://bit.ly/10NiWqg
  5. I am trying to make a custom crop and I followed jabelar's tutorial on how to do it. When I try and plant the seeds though I get an error on the 'onItemUse' method of the seeds. Here is the crash report:
  6. Nevermind... i had to delete and re-build my repo fully to get it to work.. sorry for the spam.
  7. Alrighty guys, So I've been working on this mod and have built a release of it once. I updated my IDE and now the textures won't load. Here is the crash log: Here is my directory structures: Any help is appreciated.
  8. nevermind... if i had just read the error log... thanks for the help everyone! you guys are the best!
  9. yah... i have that... i pushed my latest changes to my github and you can look at everything here: http://bit.ly/1E1ETjO
  10. I did that but i still get the ugly pink and black tiles.... what size is your texture? 16x16 or a different size?
  11. I figured it out... thanks guys! I have another question that i don't want to open another thread for.... how do i apply a texture to my liquid... here is the code for it: @Override public void registerBlockIcons(IIconRegister register) { this.flowingIcon = register.registerIcon(Reference.MODID + ":" + getUnlocalizedName().substring(5) + "_flow"); this.stillIcon = register.registerIcon(Reference.MODID + ":" + getUnlocalizedName().substring(5) + "_still"); } @Override public IIcon getIcon(int side, int meta) { return (side == 0 || side == 1)? stillIcon : flowingIcon; } I'm using a recolored vanilla texture... should it be a different size or am i not registering/using the icon code right?
  12. I think your way is the way to go.... but how would i do that...
  13. I did this: public void onEntityCollidedWithBlock(Entity entity) { entity.motionX = entity.motionX*2; entity.motionY = entity.motionY*2; entity.motionZ = entity.motionZ*2; } but it doesn't change anything... the ide says the method is never used
  14. I don't understand how to use that...
  15. I have another question... how do i adjust the speed my custom fluid pushes players? I know using the 'setViscosity()' method doesn't do anything...
  16. this may also adjust the speed it pushes the player setting the viscosity doesn't change how quickly it pushes the player... it makes it spread across blocks faster
  17. I have another question... how do i adjust the speed it pushes players through the water...?
  18. OHHH!!! DUH! Thanks... can't believe I forgot to do that...
  19. Hey everyone, I've been working on making a fluid and followed the tutorial here: http://www.minecraftforge.net/wiki/Create_a_Fluid The problem is that when I try and run the game I get this error: I know it has something to do with loading the fluid block. Here are the links to the files: ModBlocks: https://github.com/Cyb3rWarri0r8/CommuMod/blob/release/V.-1.4.0/src/main/java/io/cyb3rwarri0r8/commumod/blocks/ModBlocks.java PureWaterBlock: https://github.com/Cyb3rWarri0r8/CommuMod/blob/release/V.-1.4.0/src/main/java/io/cyb3rwarri0r8/commumod/blocks/BlockPureWater.java ModFluids: https://github.com/Cyb3rWarri0r8/CommuMod/blob/release/V.-1.4.0/src/main/java/io/cyb3rwarri0r8/commumod/fluids/ModFluids.java FluidPureWater: https://github.com/Cyb3rWarri0r8/CommuMod/blob/release/V.-1.4.0/src/main/java/io/cyb3rwarri0r8/commumod/fluids/FluidPureWater.java Main Class: https://github.com/Cyb3rWarri0r8/CommuMod/blob/release/V.-1.4.0/src/main/java/io/cyb3rwarri0r8/commumod/main.java ModBucketHandler: https://github.com/Cyb3rWarri0r8/CommuMod/blob/release/V.-1.4.0/src/main/java/io/cyb3rwarri0r8/commumod/help/ModBucketHandler.java I think those are all the files referenced.
  20. That's what I was wanting to know! Thanks!
  21. So I did that, but i'm not sure the best way to kill the entity... I know I can do this.worldObj.removeEntities() but it doesn't drop the items... I assume there is another way that I don't know about because I'm a novice.
  22. Ok... how do I make a reference to the player to get the position... i'm trying to explode a TNT but I don't think requiring an entity to be passed is good
  23. Hi, I am not sure how to find a all the entities in a radius and kill them. I was thinking a for loop but i'm not sure if that is the right direction to go.
×
×
  • Create New...

Important Information

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