1

New Block Help.

waterdish 11/23/12 8:23 pm
121
11/23/2012 9:42 pm
Hey, I've made a mod called redstone tools and if you hit stone with a redstone pickaxe, it lights up, same with hoe. If you till the ground, the tilled ground lights up, also with dirt and shovel. So I made it so that it uses a new block called glowDirt/GlowTill and things like that. The glowing stone works perfectly, but the tilled land and dirt dont break fast with the redstone shovel. I even went to the ItemSpade.java and added my block in. My folder i made it in is called mod_tools. and it was called GlowDirt. So in the blocksEffectiveAgainst array, I added mod_tools.GlowDirt. But now, whenever I hit anything with a shovel, the game crashes. I dont know why this is happening but if someone could please help me with this problem, I'd greatly appreciate it. Thank you.
Posted by
waterdish
Level 36 : Artisan Modder
14

  Have something to say?

JoinSign in

2

RevolutionalRedStone
11/23/2012 9:19 pm
Level 54 : Grandmaster Pirate
Maybe try walking your name-space with a pairs loop ?

And you should try walking the blockseffective table as well to get the exact format.

It sounds like an awesome MOD BTW ! as a future idea; i would love an item / tool which displays the strength of current ( 15- block distance from source ) when pointed at or used on a tile of Redstone dust.

Good luck with this one : )
1
waterdish
11/23/2012 9:42 pm
Level 36 : Artisan Modder
What do you mean by walking the blockseffective table?
1

Welcome