The District of Joban Difference between revisions of "JCM:Butterfly Light"

Difference between revisions of "JCM:Butterfly Light"

From The District of Joban
(JCM v2 now renders this client-side)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{InfoBox block|id=jsblock:butterfly_light|since=1.0.0|title=Door Closing Indicator (Butterfly Light)|general_category=a|item_group=JCM Blocks|light_level=4|hardness=3.0|image=JCM butterfly light.png|type=Directional Block|transparent=No|other_category=a|author=LX86}}
{{InfoBox block|id=jsblock:butterfly_light|since=1.0.0|title=Door Closing Indicator (Butterfly Light)|general_category=a|item_group=JCM Blocks|light_level=0|hardness=3.0|image=JCM butterfly light.png|type=Directional Block|transparent=No|other_category=a|author=LX86}}


A Door Closing Indicator (Also known as Butterfly Light) is a functional block in Joban Client Mod.
A Door Closing Indicator (Also known as Butterfly Light) is a functional block in Joban Client Mod.
Line 5: Line 5:
This was a device in the MTR East Rail Line activated by a Platform Supervisor, reminding the Train Driver may now close the door and depart.
This was a device in the MTR East Rail Line activated by a Platform Supervisor, reminding the Train Driver may now close the door and depart.


To comply with MTR Mod's automation, this is changed to start flashing 10s before departure.
To comply with MTR Mod's automation, this is changed to start flashing 10s (Configurable) before departure.


=== Blockstates ===
=== Blockstates ===
Line 11: Line 11:
|+
|+
!facing
!facing
!lit
|-
|-
|north
|north
|false
|-
|-
|east
|east
|true
|-
|-
|south
|south
|
|-
|-
|west
|west
|
|}
 
=== Crafting Recipe ===
{{Crafting 3x3|Minecraft Black concrete.png|Minecraft Redstone.png|Minecraft Black concrete.png|Minecraft Black concrete.png|Minecraft Lapis lazuli.png|Minecraft Black concrete.png|res=JCM Item Butterfly light.png|Cres=4}}
 
=== Usage ===
 
# Right click the block with a brush to configure the time when it starts flashing before departure
 
=== Block Entity ===
This block has a block entity, and stores the following data:
 
'''jsblock:butterfly_light'''
{| class="wikitable"
|+
!Name
!Type
!Description
!Default Value
|-
|seconds_to_blink
|Integer
|The dwell time (seconds) left when it starts blinking
|10
|}
|}


Line 33: Line 52:
|-
|-
|v1.0.0
|v1.0.0
|Added Butterfly Light
|Added Butterfly Light.
|-
|-
|v1.0.3
|v1.0.3
|Butterfly Light now works properly without doDaylightCycle on
|Butterfly Light now works properly without doDaylightCycle on.
|-
|-
|v1.1.4
|v1.1.4
|The flashing state has been changed to an animated texture.
|The flashing state has been changed to an animated texture.
|-
|v1.1.6
|The time until it blinks can now be configured.
|-
|v2.0.0
|Removed LIT state and light level to 0, butterfly light are now fully rendered client-side.
|}
|}

Latest revision as of 14:31, 2 March 2024

Door Closing Indicator (Butterfly Light)
JCM butterfly light.png
General Information
Block ID jsblock:butterfly_light
Item Group JCM Blocks
Transparent No
Light Level 0
Other Information
Added in v1.0.0
Created by LX86


A Door Closing Indicator (Also known as Butterfly Light) is a functional block in Joban Client Mod.

This was a device in the MTR East Rail Line activated by a Platform Supervisor, reminding the Train Driver may now close the door and depart.

To comply with MTR Mod's automation, this is changed to start flashing 10s (Configurable) before departure.

Blockstates

facing
north
east
south
west

Crafting Recipe

Minecraft Black concrete.png
Minecraft Redstone.png
Minecraft Black concrete.png
Minecraft Black concrete.png
Minecraft Lapis lazuli.png
Minecraft Black concrete.png
Crafting Table Arrow.png
JCM Item Butterfly light.png4

Usage

  1. Right click the block with a brush to configure the time when it starts flashing before departure

Block Entity

This block has a block entity, and stores the following data:

jsblock:butterfly_light

Name Type Description Default Value
seconds_to_blink Integer The dwell time (seconds) left when it starts blinking 10

History

Version Changes Made
v1.0.0 Added Butterfly Light.
v1.0.3 Butterfly Light now works properly without doDaylightCycle on.
v1.1.4 The flashing state has been changed to an animated texture.
v1.1.6 The time until it blinks can now be configured.
v2.0.0 Removed LIT state and light level to 0, butterfly light are now fully rendered client-side.