Jump to content

[1.6.4] Replacing a block in code


Viral Villager

Recommended Posts

Hey people.

 

So I'm trying to make a block to be the top layer of blocks in a dimension I made. I want to make it so when it it pops into existence, it gets placed by a random pre-decided set of blocks. I have the code in place so it decides what block to place, but I'm having major trouble with the actual replacement action. I need to submit my mod soon, so quick help is very appreciated. Please help me out here. Thanks! :)

 

Viral

 

(PS Here is my current block class: http://pastebin.com/8vGsH9mM )

Link to comment
Share on other sites

  • Guest locked this topic
Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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