Jump to content

TileEntityCreateEvent


jredfox

Recommended Posts

this event is for modifying a tile entity and or deleting it once it hits the world say for replacing purposes or for rendering glitches would happen otherwise. Example: removing tile entities before they can  get into the world for replacing purposes 

Edited by jredfox
Link to comment
Share on other sites

17 hours ago, diesieben07 said:

Why are you using the block place event for setting the tile entity data? That's not the right way to do it. Open a thread in Modder Support if you have issues.

No this isn't my issue this is forge's issue. I need it to do everything in one tick and blockplace fires way too late to sync the render and has errors.

 

I also can't delete tile entities if there is no creation event for when they spawn into the world I am not saying on constructed I am saying when they spawn into the world. Making this event would allow for a clean replace tile entity and also do stuff for like my mods since they need it's data replaced on the same tick on both client and server and block place event only does server. Also again it would allow me to replace tile entities and other people to do stuff

Edited by jredfox
Link to comment
Share on other sites

17 hours ago, diesieben07 said:

Why are you using the block place event for setting the tile entity data? That's not the right way to do it. Open a thread in Modder Support if you have issues.

because, it's not my block. Also I need to know what tile entity it's going to be and the block contains the tags to override it and change a spawner this is the only and proper way of doing it for something that's not my block. 

Link to comment
Share on other sites

On 2/1/2018 at 3:15 AM, diesieben07 said:

None of what you said has qualified as needing this event.

Please explain an actual use-case scenario as it would be perceived by an end-user, do not explain how you want to go about coding it.

there is no way to replace tile entities since the block always returns a new instanceof that class that you just removed instead of being a string value to get it's tile entity and if this event were to exist I could cancel the event if it's this tile entity and use my own.

Edited by jredfox
  • Confused 1
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.

×
×
  • Create New...

Important Information

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