Double Doors: Difference between revisions

From Official Gamemode 4 Wiki
Jump to navigation Jump to search
mNo edit summary
m (added gif)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{ModuleInfobox
{{ModuleInfobox
  | creator = {{UserLink|Bloo}}
  | creator = Bloo
  | type = Stand Alone
  | type = Stand Alone
  | versions = 1.20+
  | versions = 1.20+
Line 8: Line 8:


==Features==
==Features==
[[File:Double Doors In Action.gif|alt=|frame|right|A player opens double doors, walks through them, and they close behind.]]
If a player interacts with a door to open or close it, connected doors (i.e. doors which form a double door) and trapdoors above the door are opened alongside the door that was interacted with.
If a player interacts with a door to open or close it, connected doors (i.e. doors which form a double door) and trapdoors above the door are opened alongside the door that was interacted with.
Trapdoors above a door must face the same way as the door and must be opened bottom-half trapdoors, top-half trapdoors are '''not''' opened automatically. Up to two trapdoors may be stacked above a door.
Trapdoors above a door must face the same way as the door and must be opened bottom-half trapdoors, top-half trapdoors are '''not''' opened automatically. Up to two trapdoors may be stacked above a door.
Line 29: Line 30:
  | Released Double Doors
  | Released Double Doors
|}
|}
{{Notes}}

Latest revision as of 04:43, 13 March 2024

Double Doors

Module TypeStand Alone
Created byBloo
Compatible MC Versions1.20+

This module adds a quality of life improvement which enables players to open double doors with just a single click. Additionally, trapdoors above doors are opened alongside the door.

Features

A player opens double doors, walks through them, and they close behind.

If a player interacts with a door to open or close it, connected doors (i.e. doors which form a double door) and trapdoors above the door are opened alongside the door that was interacted with. Trapdoors above a door must face the same way as the door and must be opened bottom-half trapdoors, top-half trapdoors are not opened automatically. Up to two trapdoors may be stacked above a door. Only doors or trapdoors of the same wood type count as a double door.

Technical Details

The maximum trapdoor stack height is configurable server-wide via the scoreboard fake player $trap_door_limit in $gm4_double_doors_data. The default value is 2.

Learn More and Download

Download

History

Version Date Change
1.20 12 Aug 2023 Released Double Doors