Class DisplaySettingsMessage

java.lang.Object
de.z0rdak.yawp.util.text.messages.multiline.DisplaySettingsMessage
All Implemented Interfaces:
MultiLineMessage<BlockDisplayProperties>

public class DisplaySettingsMessage extends Object implements MultiLineMessage<BlockDisplayProperties>
  • Constructor Details

    • DisplaySettingsMessage

      public DisplaySettingsMessage(IMarkableRegion region)
  • Method Details

    • getLines

      public List<net.minecraft.network.chat.Component> getLines()
      == Display Settings for [region] ==
      Block: [minecraft:cyan_stained_glass] | [set]
      Glow: enabled | [on] [off]
      Light-Level: 15 | [set]
      Specified by:
      getLines in interface MultiLineMessage<BlockDisplayProperties>
    • getContent

      public BlockDisplayProperties getContent()
      Specified by:
      getContent in interface MultiLineMessage<BlockDisplayProperties>
    • buildDisplayBlockInfo

      public static net.minecraft.network.chat.MutableComponent buildDisplayBlockInfo(IMarkableRegion region)
      [Cyan Stained Glass] { Hover: minecraft:cyan_stained_glass }
    • buildSetDisplayBlockLink

      public static net.minecraft.network.chat.MutableComponent buildSetDisplayBlockLink(IMarkableRegion region)
    • buildDisplayGlowInfo

      public static net.minecraft.network.chat.MutableComponent buildDisplayGlowInfo(IMarkableRegion region)
      enabled { Hover: Glow effect for area display is [] }
    • buildDisplayLightLevelInfo

      public static net.minecraft.network.chat.MutableComponent buildDisplayLightLevelInfo(IMarkableRegion region)
    • buildSetDisplayGlowOnLink

      public static net.minecraft.network.chat.MutableComponent buildSetDisplayGlowOnLink(IMarkableRegion region)
    • buildSetDisplayGlowOffLink

      public static net.minecraft.network.chat.MutableComponent buildSetDisplayGlowOffLink(IMarkableRegion region)
    • buildSetDisplayLightLevelLink

      public static net.minecraft.network.chat.MutableComponent buildSetDisplayLightLevelLink(IMarkableRegion region)