LightBlockZ makes using the new light blocks introduced in 1.17 easier than ever.
This resource is no longer maintained.
➤ Features & Information
Create a crafting recipe for light blocks (configurable)
Light Block editing tool for survival gamemode
LEFT-CLICK: Break light blocks and get the item
RIGHT-CLICK: Inspect nearby light blocks which highlights nearby light blocks with the light block particle (otherwise invisible in survival mode). Configurable cooldown between runs.
SHIFT-LEFT-CLICK: Edit light block's light value within a menu instead of increasing it one by one by right clicking
Editing and breaking is protected by your favourite protection plugin
Light Block editing for creative gamemode
SHIFT-LEFT-CLICK: Edit light block's value within a menu instead of increasing it one by one by right clicking
Change light value of held light item stack by right clicking air
➤ Commands
/lighttool : Gives you the light editing tool
/lightinspect : Shows a particle effect at every light block in a 3x3 chunk radius
/lightreload : Reloads configuration
➤ Permissions
lightblockz.craft : Ability to craft light blocks if crafting is enabled
lightblockz.inspect.tool : Ability to use the inspect tool
lightblockz.inspect.command: Ability to use the inspect command
lightblockz.change.interact : Ability to change light blocks in inventory and in world by interacting (right click air with stack or shift-left-click a block in the world)
lightblockz.change.creative: Ability to change light blocks in the world by interacting (shift-left-click with a tool or another light block)
lightblockz.tool : Ability to give yourself the the light block tool
lightblockz.reload : Ability to reload the plugin configuration
➤ Configuration
Code (YAML):
settings:
tool:
breakSound: "minecraft:block.glass.break" inspect: # Set the cool down for the inspect tool (and command) in seconds cooldown:
enabled: true
time: 30
# How many times the particles are spawned in. The particle shows for approx. 5 seconds iterations: 4
# Should the milliseconds taken be shown in the message? showTimeTaken: true
# Should the particles be shown for a single player or everyone in the world? perPlayer: true
# How many chunks are looked at when inspecting? # This is radius of chunks around the player. # 0 = just the player's chunk, 1 = the player's chunk and the 8 chunks around it, etc. # WARNING: It is recommended to not set this to a value greater than 2. Since it can take a while to calculate. offset: 1
# How many blocks up and down related to the player are looked through when inspecting? # It doesn't make sense to show all light blocks in the chunk since the player won't be able to see them. # For example, a value of '30' will go up and down 30 blocks from the player. verticalOffset: 30
# The light block recipe where each character in the shape corresponds to a material. # For air use a blank space. The recipe is a shaped recipe and each line corresponds to a line # in the crafting grid. Recipe can be 1-3 lines and 1-3 ingredients (including air) per line. # To change the recipe in the server, you must restart your server !!! recipe:
enabled: true
shape: -
"PGP" -
"GIG" -
"PGP" ingredients:
P: "GLASS_PANE" G: "GLOWSTONE" I: "IRON_NUGGET" amount: 4
# Configure the plugin messages, the message should always include all the %s as # it's used to paste in information such as time. The messages won't work without them !!! messages:
general-no-permission: "§cNo permission!" general-no-build-permission: "§cNo permission to build here!" general-no-craft-permission: "§cNo crafting permission!" general-reload: "§eReloaded config!" gui-close-button: "§c§lClose" gui-light-level-menu-name: "Set Light Level" gui-light-level-button-name: "§6§lLight Level %s" gui-light-level-button-description: "§7Sets the light level\n§7to a power of %s/15\n§0 \n§eClick to apply!" inspect-highlight: "§eHighlighting %s light blocks around you§7%s" inspect-noblocks: "§cNo light blocks found nearby!" inspect-cooldown-wait: "§cYou must wait %s seconds before using this again..." inspect-tool-name: "§c§lLight Block Tool" inspect-tool-lore: "§7Lets you edit the light\n§7blocks with ease\n§0 \n§e§lL-CLICK §7to destroy\n§e§lR-CLICK §7to inspect\n§e§lSHIFT-L-CLICK §7to edit"
Inspect tool is well optimized and has a cooldown so it cannot be spammed. Light editing menu. Lets you edit both the stack in your hand and a block in the world. Adds a crafting recipe for the light block. Can be toggled of and configured to anything you want it to be!