deerangle Posted February 5, 2016 Posted February 5, 2016 I have created a method: private void sBlock(int x, int y, int z, Block b){ this.worldObj.setBlock(xCoord + x, xCoord + y, xCoord + z, b, 0, 2); } but when i call it, it does... nothing. Quote
Ernio Posted February 5, 2016 Posted February 5, 2016 Also: (look at your coords) x + x x + y x + z It probably works, just sets block in some useless place. Quote 1.7.10 is no longer supported by forge, you are on your own.
yooksi Posted February 5, 2016 Posted February 5, 2016 Knowing why something doesn't work from two lines of code is more often then not close to impossible. Please provide more information so that we can be of some assistance to you in solving your issue. Quote I still haven't published a mod because I can never get that in-dev version just right to warrant a public release. And yes, after two years of mod development I am still learning to speak Java. Follow me on GitHub: https://github.com/yooksi Contact me on Twitter: https://twitter.com/yooksi Read my Minecraft blog: https://yooksidoesminecraft.blogspot.de/
deerangle Posted February 5, 2016 Author Posted February 5, 2016 Thanks Ernio, sometimes my mistakes are so stupid! Sorry for wasting your time. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.