Posted February 4, 20169 yr goo days i have i goo ridlle here if you whatch the vainilla villagers in the villages when the sun set's they run to their homes open the doors enter and close the doors i make a door from 3x3 i have alredy other post making question to add features to this door, and know i whish to make this 3x3 door be openable by the villagers and actually have some ideas but the best would use the vainilla behaveour the door is extending BlockDoor if i make a little house and put the 3x3 door the villager seems to run to the house but not sure if they are detecting mi door, may they detect the inside of the house becose they then to wander around the house, if i open the door they run inside. I know in vainilla villages there is house whithout doors and testificates run inside soo it could be they are not detecting mi door but the house i set some System.outs in the door3x3 code but anithing seems to respond when the villagers walks agains the door i wass thinking in make a tile entity whit some code to detect villagers and open the door for then , then close again, but seems unncesary complicated and probably there is some code alredy done inside the vainilla clases ##### has some one know how i could get the villager to interact whith mi custome door, or maiby a best idea than the one from the tileEntity
February 4, 20169 yr Villages and villagers appear to treat any block that extends BlockDoor and uses Material.wood as a valid door. The EntityAIOpenDoor AI task used by villagers to open doors uses BlockDoor#toggleDoor to open and close doors. If you want your door to be used by villagers, make sure it uses Material.wood and is opened/closed by BlockDoor#toggleDoor . Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
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.