Jump to content

Dawars

Members
  • Posts

    33
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • URL
    http://elysium.hundevelopers.hu
  • Location
    Budapest, Hungary
  • Personal Text
    I am Dawars!

Dawars's Achievements

Tree Puncher

Tree Puncher (2/8)

1

Reputation

  1. Ooookay, so I have overriden the following deprecated method and now the lighting is working as expected: @Override public boolean isOpaqueCube(IBlockState state) { return false; } How can I find a potential non-deprecated method for this? (and isFullCube). Also I found the isVisuallyOpaque method, does it do anything?
  2. I'm the co-developer of this mod and we tried it on 3 different versions (1.12, 1.10.2.2016, 1.10.2.recommended) but the items are still dark, we followed the video as close as we could with no luck. Here is the code, it would be nice if someone could try it out/take a look: https://github.com/Dawars/CraftingPillars
  3. You don't have to call the render function on the children since they will be rendered automatically.
  4. Hi, I'd like to have an events which gets call every time a player enchants something. It'd be like the ItemCraftedEvent. I'm planning to turn enchanted silver ingots into Mythril ingot as soon as it gets enchanted. I'm sure it would be useful for other things too... Thanks, Dawars
  5. I also need it but found an other way (craft them to each other)
  6. Time based animation and it won't be used in that huge quantity. What's TESR? And I'll try the code I have in mind after this conversation in 2 hours.
  7. I thougt that I make a blockrenderer because that's where I can disable lighting I think but then I think it won't display the breaking textures. I have like 10 textures in a file and the block changes the current one constatnly and if I make a new renderer I don't know how to change them regularly
  8. Okay, I think I've got it and what about animation? How can I render the breaking texture on the top?
  9. But where because I don't want to the whole block side only some pixels?
  10. Hello, I'm trying to make a block which has parts in it which is not affected by lighting like in Thaumcraft and XyCraft so it looks glowing in the dark but doesn't emmit light. Do you have idea how to do it?
  11. I don't see how it solved the problem Can you help me?
  12. Ok, I solved it. It wasn't that easy though... This helped a lot: http://www.minecraftforge.net/forum/index.php?topic=3038.0
  13. I changed my code a little bit and now it gives this error: Error in class 'LibraryLWJGLOpenAL' 2013-06-08 11:22:28 [iNFO] [sTDOUT] Unable to open file 'flute/track.ogg' in method 'loadSound' 2013-06-08 11:22:28 [iNFO] [sTDOUT] Error in class 'LibraryLWJGLOpenAL' 2013-06-08 11:22:28 [iNFO] [sTDOUT] Source 'sound_2' was not created because an error occurred while loading flute/track.ogg 2013-06-08 11:22:28 [iNFO] [sTDOUT] Error in class 'LibraryLWJGLOpenAL' 2013-06-08 11:22:28 [iNFO] [sTDOUT] Source 'sound_2' not found in method 'play' I relocated the file to jars/bin/item/flute/track.ogg The modified code: Item: world.playSoundEffect((double)x + 0.5D, (double)y + 0.5D, (double)z + 0.5D, "flute.track", 1.0F, world.rand.nextFloat() * 0.1F + 0.9F); SoundHandler: event.manager.soundPoolSounds.addSound("flute/track.ogg", Main.class.getResource("/item/flute/track.ogg")); I hope this message helps
  14. Try this: public int idDropped(int par1, Random random, int par3) { int k = random.nextInt(6); if (k == 0) { return Block.gem.blockID; //the id of the 1st gem } if (k == 1) { return yr.m.bQ; //the id of the 2nd etc. } if (k == 2) { return yr.m.bQ; } if (k == 3) { return yr.m.bQ; } if (k == 4) { return pb.H.bO; } if (k == 5) { return 0; // nothing } return 0; }
×
×
  • Create New...

Important Information

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