-
[1.7.2] Change camera viewpoint?
I'd like to know how to change the view of the camera. I've done some digging around in the MC code, and I found orientCamera in EntityRenderer, which deals with 1st/3rd person view etc. However, I'm not sure exactly how all the camera stuff works, and I don't know how to implement it into a mod. There was a thread on something similar in the past, but the final solution was very unclear and I couldn't figure out how to implement it. Another good resource might me iChun's Sync mod, with the animation when you switch shells, but I can't find where he actually changes the view of the player then. The link is https://github.com/iChun/Sync if you're interested. Also, if anyone knows of any 1.6 tutorials on this, those might not be totally obsolete and a good starting point, as usual. Thanks for any help!
-
[1.7.2] What ever happened to the ICraftingHandler?
Just to jump in here, would this be the right place to stop the bucket being given back in my crafting recipe? If so, how?
-
world.setblockat stuff
This worked for me: world.setBlock(origX, origY, origZ, Blocks.air, 0, 3)
-
world.setblockat stuff
nope, tried that and world.setBlockAt(x,y,z,Blocks.air) both of them make the dispenser drop items. I'll see if I can look into the /setblock command with the replace option...
-
world.setblockat stuff
Is there a way to set a block to air (or another block) without that block "noticing"? To clarify, I want to set a dispenser to air, but I don't want its inventory to drop.
-
Creating an EntityFallingBlock in the world with TileEntity data?
Yup, NBT data was the way to go.
-
Creating an EntityFallingBlock in the world with TileEntity data?
I was wanting to make an entity summon a falling block in the world, which I think I understand how one would do, but I can't figure out how to add a custom tile entity to said falling block. Would the only way be to use readFromNBT and writeToNBT?
-
Resources folder location?
Ok, so I'll assume that the right way to have multiple mods is to use 2 different packages. If that's the case, is there a way to disable/enable mods when I run the client so I can test 1 mod at a time?
-
Resources folder location?
See tutorial linked above. Maybe it doesn't work… I'll go back to trying to get the Pahimar setup to work. ._.
-
Resources folder location?
It still isn't working. Here's a picture of my file tree with relevant stuff opened. An example of a reference to one of said resources: new BlockLickable().setBlockName("blockLickable").setCreativeTab(CreativeTabs.tabBlock).setBlockTextureName(MODID + ":lickable"); MODID is darkfangsmod
-
Resources folder location?
I've been trying to switch to Wuppy's advanced modding setup (http://www.wuppy29.com/minecraft/modding-tutorials/wuppys-minecraft-forge-modding-tutorials-for-1-7-set-up-part-2b-advanced-forge-setup/ and http://www.wuppy29.com/minecraft/modding-tutorials/wuppys-minecraft-forge-modding-tutorials-for-1-7-creating-your-own-mod-advanced-setup/), but I can't figure out where to put my resources folder in a place where it will be recognized. Does anyone know the right way to do it with this setup?
-
[1.7.2] Pahimar Setup
Ok, can someone point me to instructions to set up run configurations? Also, when you run the cilent/server, how does Eclipse know what mod to run? Is that just defined by the run configuration?
-
[1.7.2] Pahimar Setup
This didn't work for me; for some reason the client and server run configurations aren't showing up.
-
[SOLVED]Adding vanilla mob drops being spazzy….
Here's the fix: use a LivingDropsEvent, LivingDeathEvent is called both by the client and the server. The client item is a ghost and cannot be picked up. the end
-
Noob question, hopefully an easy one.
1 & 2. More details on setUnlocalizedName not being available? (give code that calls it, give error message) Make sure you're calling it on something that extends block or is a block... 3. the constructor no longer uses an i.d., do it like this: public sampleConstructor(Material m) { super(Material m); }
IPS spam blocked by CleanTalk.