Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
My Support Drones mod handles doors this way:
- Drone pathfinder finds a wall and detects it to be a door (via hasCapability("door"))
- Drone, while following the path, checks if the door is closed (via hasCapability("closedDoor")
- If it finds a closed door in its path, it will open it (via calling onInteraction with object {source={mcontroller.facingDirection()}}
The drones are monsters.
I haven't looked at your code, but it might be unable to perceive the possibility of a monster opening a door.
Or it needs an entity id in the table passed to onInteraction. (The data provided by the drone for that call is incomplete)
This is so if your traveling at a good speed (hover bikes or techs), you shouldn't crash into doors.
You can custom spawn your doors though: see the pinned threads?
But should I ever come to it, be sure that these requests are on the bucket list.
(I did notice the "Basic customization" pinned discussion, but I'm using this in a modpack that downloads from the workshop, so editing the mod just for myself would defeat the purpose)