照明按钮 (Light Button)

基本信息

属性 值
注册名 projectred.illumination.lightbutton
注册名(powered) projectred.illumination.flightbutton
子类型 16 种颜色(meta 0-15)

功能

ProjectRed Illumination 模块的彩色按钮 Multipart,分为手动按钮与红石激活按钮。提供 lightValue 5 的发光。

变体

手动按钮(pr_lightbutton)

  • 类:LightButtonPart
  • 颜色:16 种染料
  • 触发:玩家点击
  • lightValue 5 当 pressed != inverted

红石按钮(pr_flightbutton)

  • 类:FLightButtonPart
  • 颜色:16 种染料
  • 触发:相邻红石供能(getBlockPowerInput)
  • lightValue 5 当 powered != inverted

使用方式

使用方式 触发条件 效果
玩家点击 手动按钮 激活 20 tick 脉冲
潜行 + 螺丝刀 持有 切换反相模式
邻接红石 自动按钮 跟随红石状态

通用特性

  • 实现 ILight 接口:isOn()、getColor()
  • 颜色与灯(Lamp)共用 Colors(i) 调色板

配方

  • 普通按钮:stone_button + 2× Illumar[i](shapeless)
  • 红石按钮:stone_button + redstone_torch(shapeless)

相关条目

  • 灯 (Lamp)
  • [照明灯物品](item/illumination-light