block pick requirements (solved)
3 posters
MC Modding :: Modding :: Singleplayer Modding :: Requests
Page 1 of 1
block pick requirements (solved)
hi, i think you should add how to make it so that only certain tools can mine certain blocks successfully.
e.g.
mod_ore: can only be mined by iron pickaxe+
mod_wood: can only be gathered by iron axe+
(not nesecarily these items and blocks but yeah, i have never known how to do that)
e.g.
mod_ore: can only be mined by iron pickaxe+
mod_wood: can only be gathered by iron axe+
(not nesecarily these items and blocks but yeah, i have never known how to do that)
Last edited by Ranga179 on Sat Nov 26, 2011 7:47 am; edited 1 time in total
Ranga179- Member
- Posts : 9
Join date : 2011-10-19
Age : 28
Re: block pick requirements (solved)
Set the block material to iron for ores. For wood you would need to use a custom material.
Static_boy123- Helper
- Posts : 32
Join date : 2011-10-19
Age : 25
Location : Eclipse Indigo
Re: block pick requirements (solved)
i tried that with my ore, yet wood still mines it and gets the block.
my code is
my code is
- Code:
BoogOre = (new Block(152, 0, Material.iron)).setHardness(3.0F).setResistance(10F).setLightValue(1.0F).setStepSound(Block.soundStoneFootstep).setBlockName("boogore");
Ranga179- Member
- Posts : 9
Join date : 2011-10-19
Age : 28
Re: block pick requirements (solved)
I will be making a bunch of tutorials including a material.
Static_boy123- Helper
- Posts : 32
Join date : 2011-10-19
Age : 25
Location : Eclipse Indigo
Similar topics
» [Answered/Solved] Making custom mobs fly
» [unsolved]furnace like block 1.8.1/1.0.0/1.1
» Making a Furnace-like Block
» [1.8.1] On/Off Light Block
» [1.8.1] Advanced Block
» [unsolved]furnace like block 1.8.1/1.0.0/1.1
» Making a Furnace-like Block
» [1.8.1] On/Off Light Block
» [1.8.1] Advanced Block
MC Modding :: Modding :: Singleplayer Modding :: Requests
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum