Jump to content

[Unsolved] [1.8] Making new types of explosives and crops


XxZHALO13Xx

Recommended Posts

Hey guys, How would I create different types of explosives and growable crops, such as corn. I would like the explosives first cause, well its a explosive haha. Here is a example how I create Blocks

 

Core: public static CustomBlock copperOre;

 

ClientProxy: Core.copperOre.RegisterRenderer("copper_ore");

 

Common Proxy:

Core.copperOre = new CustomBlock(Material.rock, "copper_ore", 3.0F, 5.0F, CustomBlock.HarvestToolEnum.PICKAXE, CustomBlock.HarvestLevelEnum.STONE, CreativeTabs.tabBlock, 1, 6, 15, 10, 32, 120, true, false, false);

 

Customblock class:

http://pastebin.com/ACPUraVd

 

then the json files and textures which are the same. So, any help would be amazing! Thanks so much, happy modding

Link to comment
Share on other sites

See how minecraft does it, or just google it. There are plenty of tutorials for crops.

 

 

Explosives is pretty easy. When your block gets a redstone signal, remove the block a place an entity. After a certain amount of ticks, create an explosion where the entity is.

Link to comment
Share on other sites

See how minecraft does it, or just google it. There are plenty of tutorials for crops.

 

 

Explosives is pretty easy. When your block gets a redstone signal, remove the block a place an entity. After a certain amount of ticks, create an explosion where the entity is.

 

I tried that, and i havent found a tutorial for crops after searching for a long time. And i dont know how to create a explosion or anything

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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