Jump to content

Is there a block update event?


Potato

Recommended Posts

I've looked and looked and looked but I can't find an answer in the code, so I'm turning here. What I want to do is make it so that blocks are affected by gravity(Similarly to sand). The issue is, I want to use pre existing blocks like grass and dirt and whatnot, and I don't want to edit or override any base class files to do it. Is there anything I can do, or am I just going to have to edit some base class files?

Link to comment
Share on other sites

IScheduledTickHandler + EntityFallingSand? Set the block to air and create a new EntityFallingSand with the block's texture?

Protip: try and find answers yourself before asking on the forum.

It's pretty likely that there is an answer.

 

Was I helpful? Give me a thank you!

 

 

width=635 height=903http://bit.ly/HZ03zy[/img]

 

 

Tired of waiting for mods to port to bukkit?

use BukkitForge! (now with a working version of WorldEdit!)

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.