The District of Joban Difference between revisions of "JCM:Light Source Block"

Difference between revisions of "JCM:Light Source Block"

From The District of Joban
Tags: Visual edit Reverted
(Cleanup)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{JCMFuture|version=1.1.6}}{{InfoBox block|id=jsblock:light_block|since=1.0.0|title=Light Source Block|general_category=General Information|other_category=Other Information|author=LX86|light_level=0 - 15|transparent=Yes|type=Block|item_group=JCM Blocks|hardness=1.0|image=JCM light block.png|image_desc=A Light Source Block, with icon displayed when holding the item.}}
{{InfoBox block|id=jsblock:light_block|since=1.0.0|title=Light Source Block|general_category=General Information|other_category=Other Information|author=LX86|light_level=0 - 15|transparent=Yes|type=Block|item_group=JCM Blocks|hardness=1.0|image=JCM light block.png|image_desc=A Light Source Block, with icon displayed when holding the item.}}


A '''Light Source Block''' is a block that does not have a visual appearance nor a collision hitbox, and can emit lights from 0 - 15.
A '''Light Source Block''' is a block that does not have a visual appearance nor a collision hitbox, and can emit lights from 0 - 15.
Line 5: Line 5:
When the player is holding the Light Source Block Item, all Light Blocks around the player will display a Light Icon.
When the player is holding the Light Source Block Item, all Light Blocks around the player will display a Light Icon.


This behavior is the same as the light block introduced in Minecraft 1.17, except survival player can still see the hitbox without holding the item.
This behavior is almost the same as the light block introduced in Minecraft 1.17, with the exception that player can still see the visual hitbox without holding the item.


=== Usage ===
=== Usage ===
Line 49: Line 49:
|-
|-
|v1.1.0
|v1.1.0
|Added Block Entity to Light Block.
|Added Block Entity to Light Source Block.
|-
|-
|v1.1.2
|v1.1.2
|Light Block's Light Level can now be configured.
|Light Soruce Block's Light Level can now be configured.
Light Block now displays an icon.
Light Source Block now displays an particle when holding the item.
|-
|-
|v1.1.4
|v1.1.4
|Removed Block Entity from Light Block.
|Removed Block Entity from Light Source Block.
|-
|-
|v1.1.6
|v1.1.6
|Light Source Block can now be replaced by another block when right clicked on it.
|Light Source Block can now be replaced by another block when right clicked on it.
|}
|}

Latest revision as of 20:18, 12 July 2023

Light Source Block
JCM light block.png
A Light Source Block, with icon displayed when holding the item.
General Information
Block ID jsblock:light_block
Item Group JCM Blocks
Transparent Yes
Light Level 0 - 15
Other Information
Added in v1.0.0
Created by LX86


A Light Source Block is a block that does not have a visual appearance nor a collision hitbox, and can emit lights from 0 - 15.

When the player is holding the Light Source Block Item, all Light Blocks around the player will display a Light Icon.

This behavior is almost the same as the light block introduced in Minecraft 1.17, with the exception that player can still see the visual hitbox without holding the item.

Usage

  • Right Click the Light Block when holding the Light Block will cycle the light level from 0 - 15
  • The blocks placed with the item will always have a light level of 15

Blockstates

LEVEL 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Trivia

  • This block is originally just called Light Block, however during a language cleanup this is renamed to Light Source Block
  • The icon displayed when holding this block is originally going to be rendered by a Block Entity Renderer rather than Minecraft's Particle System. However due to concerns over performance and failing to render the icon properly, this has been changed to a particle system. (The block entity itself however remains until v1.1.4)

History

Version Changes Made
v1.0.0 Added Light Source Block.
v1.1.0 Added Block Entity to Light Source Block.
v1.1.2 Light Soruce Block's Light Level can now be configured.

Light Source Block now displays an particle when holding the item.

v1.1.4 Removed Block Entity from Light Source Block.
v1.1.6 Light Source Block can now be replaced by another block when right clicked on it.