Double Doors: Difference between revisions

From Official Gamemode 4 Wiki
Jump to navigation Jump to search
(Add note on default trapdoor maximum)
m (added gif)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{ModuleInfobox|name=Double Doors|creator=Bloo|type=Stand Alone|versions=1.20+}}
{{ModuleInfobox
| creator = Bloo
| type = Stand Alone
| versions = 1.20+
}}


This module adds a quality of life improvement which enables players to open double doors with just a single click. Aditionally, trapdoors above doors are opened alongside the door.
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==
==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 9: Line 14:


===Technical Details===
===Technical Details===
The maximum trapdoor stack height is configureable server-wide via the scoreboard fake player <code>$trap_door_limit</code> in <code>$gm4_double_doors_data</code>. The default value is <code>2</code>.
The maximum trapdoor stack height is configurable server-wide via the scoreboard fake player <code>$trap_door_limit</code> in <code>$gm4_double_doors_data</code>. The default value is <code>2</code>.


== Learn More and Download ==
== Learn More and Download ==
Line 16: Line 21:
== History ==
== History ==
{| class="wikitable"
{| class="wikitable"
|+
|+
!Version
! Version
!Date
! Date
!Change
! Change
|-
|-
| rowspan="2" | 1.20
| 1.20
|12 Aug 2023
| 12 Aug 2023
|Released Double Doors
| Released Double Doors
|}
|}
{{Notes}}
[[Category:All Modules]]
[[Category:Stand Alone Modules]]

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