Jump to content

cowlegs

Members
  • Posts

    15
  • Joined

  • Last visited

Everything posted by cowlegs

  1. Quick question; I have a block that I'd like to change the texture of upon right clicking it, though I can't find any sources that could give me a hand here.. Anyone know of any or willing to lend me a helping hand?
  2. I actually managed to find the solution after doing some digging and experimentation with this - thanks to your help, so thanks!
  3. You'd be right, I AM using the PlayerLoggedInEvent (Sorry if I didn't provide enough info, since I'm pretty new to this I sometimes get confused on what I should and shouldn't list out..). I also realized I should probably add the crash log, and edited it in. Though you wouldn't have noticed if you hadn't refreshed the page, so my bad Either way, what would you suggest I do to fix this?
  4. Back again talking about capabilities I created a value attached to the player called 'Nentype' which is equal to 0 initially, the plan is to make it so that when the player loads into the game an event in run which changes 'Nentype' to a random number between 1 and 5 if it's currently set to 0, which will then save upon death/leaving the game, meaning it can't be changed and is set in place. For some reason, whenever I run the client it loads up fine, but then upon initialization of my world it crashes at the last second and closes down! My EventHandler; I've rooted the cause down to being this section, though I'm not sure why it's causing issues... I thought that maybe it's because it's some kind of looping issue causing the crash, but who knows. Crash Log:
  5. Oh, I didn't think of that. I managed to fix it by putting it within a method, thanks a bunch
  6. So I took a look over at the capabilities section on the forge forum (Thanks for that by the way) but I seem to have run into an error... my; CapabilityManager.INSTANCE.register(INen.class, new NenStorage(), Nen.class); line in my CommonProxy seems to have an error, though it's not entirely clear on how I can go about fixing it. The error messages that come up are as follows; https://gyazo.com/b4cfae27d3795d1c439c2127dd5d762c
  7. Basically, I'm at a stage in my mod where I'd like to take a look at player data that persists upon leaving/dying and is loaded when the player joins or respawns. Only issue being that I can't find any up-to-date tutorials anywhere that help me in this particular area.. I'm hoping to implement a string data value called 'nentype' that has a randomized value from a list of strings that gets set upon joining the game for the first time, and then gets saved for future use. Could anyone give me a run down on how I might be able to go about this, or link me a tutorial that's up to date with forge 1.12.2? Thanks.
  8. Oh wow, I didn't know that. Though, even though the explosion itself might not do the trick would it still be classed as a confirmed kill on Stan's part?
  9. My apologies, I've found a solution. Thanks anyways!
  10. Alright, so basically for some reason when I create my new block it seems to create some kind of xray-effect on any block touching it, meaning that I can now see through the floor as if I had xray vision... JSON: Image example: Please help!
  11. Oh really? Why's that? Personal opinon is probably Meruem from Hunter x Hunter
  12. I'm looking for stand-alone models like a head block, I suppose a fence was a bad example for what I'm looking to do since I'm not wanting them to connect together or anything I'll take another look at the JSON files for varied block models and see if I can make any sense of it. I was hoping for something more instruction based rather than a video tutorial since I feel that it helps me learn quicker, thanks though.
  13. Hi, I've been looking for a little while and can't find this specific tutorial anywhere (I'm using eclipse O2 for minecraft forge 1.12.2)! Can somebody point me in the direction of any of they know of? Would be much appreciated! (If you're unsure of what I mean by 'block models' since I'm not entirely sure that's the proper terminology, an example would be things like a wooden fence-post block.)
  14. So, I was taking a shower and a thought hit me.. Who is the strongest villain Stan Smith from american dad could beat with 15 minutes of preparation time at the CIA? (Sorry if this shouldn't be posted here, I'm new so just let me know and I'll be on my way )
  15. Hey, I'm using forge 1.8 (I'm more familiar in this version, and I'm trying to refresh my knowledge before moving onto newer ones I know little about in comparison) and for some reason everytime I run my keybind post-initialization the game crashes and shuts down... Please help! //======================================================== static EntityPlayer player = Minecraft.getMinecraft().thePlayer; static boolean used; static EntityLivingBase entitylivingbase = player; public static class KeyInputHandler { @SubscribeEvent public void onKeyInput(InputEvent.KeyInputEvent Event) { if(activateShikai.isPressed()){ System.out.println("MODEUP!"); } if(Flashstep.isPressed()){ System.out.println("FLASHSTEPPED!"); if(used == false) { used = true; double x = player.getLookVec().xCoord; double y = player.getLookVec().yCoord; double z = player.getLookVec().zCoord; player.setPosition(x, y, z); } } } } //========================================================
×
×
  • Create New...

Important Information

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