Class ArrowAuxSignDemand


public class ArrowAuxSignDemand extends AuxSignDemand
  • Constructor Details

    • ArrowAuxSignDemand

      public ArrowAuxSignDemand()
  • Method Details

    • getIcon

      @Environment(CLIENT) public net.minecraft.world.item.ItemStack getIcon()
      Specified by:
      getIcon in class SignDemand
      Returns:
      an icon to be shown in the settings menu
    • initSettingsGUI

      @Environment(CLIENT) public void initSettingsGUI(com.simibubi.create.foundation.gui.ModularGuiLineBuilder builder)
      Description copied from class: SignDemand
      Set up the settings menu for your demand
      Overrides:
      initSettingsGUI in class SignDemand
      Parameters:
      builder - Add elements using the builder
    • setDefaultSettings

      public void setDefaultSettings(net.minecraft.nbt.CompoundTag tag)
      Description copied from class: SignDemand
      Set up the default settings for your demand
      Overrides:
      setDefaultSettings in class SignDemand
      Parameters:
      tag - Write the defaults to tag
    • validateSettings

      public void validateSettings(net.minecraft.nbt.CompoundTag received, net.minecraft.nbt.CompoundTag disk)
      Description copied from class: SignDemand
      Validate settings sent over the network
      Overrides:
      validateSettings in class SignDemand
      Parameters:
      received - For reading settings from network
      disk - For writing validated settings
    • getSignFace

      @Environment(CLIENT) public dev.engine_room.flywheel.lib.model.baked.PartialModel getSignFace(TramSignBlock.SignType signType)
      Overrides:
      getSignFace in class SignDemand
    • render

      @Environment(CLIENT) public void render(TramSignBlock.SignType signType, net.minecraft.nbt.CompoundTag tag, com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffer, int light, int overlay)
      Description copied from class: SignDemand

      Use this to render text or symbols on the sign

      Tip: You can use SignDemand.renderTextInCenter if you just need something simple

      Overrides:
      render in class SignDemand
      tag - The settings for your demand