Jump to content

How to Center a Door?

Recommended Posts

Hey Ladys and Gentleman,

iam searching a door that ist Center of a Block, like the Bulletproof Glass.

How can i implement that?

Is it possible with the Blocks xml? Or how?


Thx for the answer


Greetz Lion

Link to comment
Share on other sites

You maybe could just copy whichever door you wanna use in blocks.xml, and use the ModelOffset property to center it in its block space. It might be a bit wonky when trying to interact with the part of the door that would then extend outside its space when opened, but I'd think it wouldn't be too bad. Something like

<property name="ModelOffset" value="0,0,-0.5"/>

might be what you want. Not tested though, so the value needed will likely be different. But that should get you on your way.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...