Jump to content

XsergeiX

Members
  • Posts

    14
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

XsergeiX's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Asked everyone who could know that but no result - nobody knows. Does anyone from here know how could be that problem solved?
  2. I need some way to cut off everything, that is outside of mask. Here's code i have wrote: https://pastebin.com/e2ugQ0Xa And here's the screenshot what i have got: Ligther area is actually mask, it shouldn't be visible and also everything else should be rendered only inside that lighter area. I also have tried other ways to crop my table(scissor, depthmask with framebuffer), but no success. p.s. Stencil is turned on
  3. Okay, i got answer for first question, thanks =) Still looking for someone who knows, how to deal with alpha...
  4. Currently, I try to add some sort of area highlight for my mod. While i were doing this, I noticed, that if I draw poly or anything else rather than line, i have to draw it from both sides. For example, if i draw horizontal quad, i have to draw it twice, one for view from top, second one for view from bottom. First question: is there a way to draw both sides without duplicating 4 vertex with a bit different order(like on pic above)? https://pasteboard.co/GIzevKV.png Second question: why is happening on pic above? https://pasteboard.co/GIzfiWJ.png Is there any normal way to control that? in some cases i would prefer if the alpha wouldn't stack, in another case the opposite - so it would stack. Any kind of suggestions are welcome.
  5. i have such hierarchy: MyMod: .gradle .settings bin build eclipse gradle src so in which folder the jars are used to be?
  6. where is "/libs" folder located? btw i put the jars everywhere: build, eclipse, gradle - still no results. Also i dont see mod compilation crashlog in fml-client-latest.log
  7. I have such code in my build.gradle: dependencies { compile files('industrialcraft-2-2.2.765-experimental-api.jar', 'Uncomplication-1.7.10-0.1.2.1.b71-deobf.jar', 'Aroma1997Core-1.7.10-1.0.2.16.jar') } something went wrong and i still get these "symbol" errors in console. I'm not really sure, what i did wrongly, but maybe i put these jars in wrong place? What's the path they should be at? Also, is there a way to save whole crash log somewhere? i can't see whole error log in console
  8. i'm creating block, that must loop-play a sound while it's working. I looked into minecraft sources and found class that i need to do that(i hope it's correct) - PositionedSound. But i don't know how to use it and make it work. I created this: package WildCakes.items.machine; import WildCakes.Constants; import net.minecraft.client.Minecraft; import net.minecraft.client.audio.ITickableSound; import net.minecraft.client.audio.PositionedSound; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.ResourceLocation; import net.minecraft.world.World; public class MatterFabWorkSound extends PositionedSound implements ITickableSound { public MatterFabWorkSound(TileEntity parent) { super(new ResourceLocation("minecraft", "mob.zombie.death")); this.repeat = true; this.volume = 1F; this.field_147663_c = 1F; xPosF = parent.xCoord; yPosF = parent.yCoord; zPosF = parent.zCoord; } @Override public boolean isDonePlaying() { return false; } @Override public boolean canRepeat() { return super.canRepeat(); } @Override public void update() { } } and put it into block's createNewTileEntity() @Override public TileEntity createNewTileEntity(World world, int metadata) { MatterFabTile matterFabTile = new MatterFabTile(); MatterFabWorkSound workSound = new MatterFabWorkSound(matterFabTile); Minecraft.getMinecraft().getSoundHandler().playSound(workSound); return matterFabTile; } i'm quite sure i did something wrongly, but i don't know what exactly is wrong. Please, can someone help me with that? p.s i use zombie dying sound for testing
  9. Still not working: [04:25:15] [Client thread/WARN]: Unable to play unknown soundEvent: wildstuff:matterfab/massFabLoop
  10. So i have such code: public MatterFabWorkSound(TileEntity parent) { super(new ResourceLocation("wildstuff", "matterfab.massFabLoop")); repeat = true; x = parent.xCoord; y = parent.yCoord; z = parent.zCoord; } That's sound for my Block, that will be played when block is working. My sound is located at assets/wildstuff/sounds/matterfab/massFabLoop.ogg, but for some reasons, i get this error: [03:56:09] [Client thread/WARN]: Unable to play unknown soundEvent: wildstuff:matterfab.massFabLoop Did i understand correctly - forge doesn't see my sound file? What i need to do to get it work?
  11. The point is that man who drawed the textures was too lazy to make separate texture files and created just 1 huge sheet of item textures. For example 1 sheet contains 13*7 textures. There's 13 different item and 7 different material. Also i just want to know - is it possible to force minecraft to use my texture sheet?
  12. The point is that man who drawed the textures was too lazy to make separate texture files and created just 1 huge sheet of item textures. For example 1 sheet contains 13*7 textures. There's 13 different item and 7 different material. Also i just want to know - is it possible to force minecraft to use my texture sheet?
  13. I have one huge png, that contains textures of all my items and another one that contains textures of all my blocks, so I want to know how to set item or block texture using a part of that huge png. How to tell to minecraft that it should use for example a 16*16 part starting at 64px from top and 48px from left?
  14. So for now i want to make an item that player must hold above the head, like rocket in galactic craft. How that could be realised?
×
×
  • Create New...

Important Information

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