Class RunnableClickEvent

java.lang.Object
meteordevelopment.meteorclient.utils.misc.text.MeteorClickEvent
meteordevelopment.meteorclient.utils.misc.text.RunnableClickEvent
All Implemented Interfaces:
net.minecraft.text.ClickEvent

public class RunnableClickEvent extends MeteorClickEvent
Allows arbitrary code execution in a click event
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.minecraft.text.ClickEvent

    net.minecraft.text.ClickEvent.Action, net.minecraft.text.ClickEvent.ChangePage, net.minecraft.text.ClickEvent.CopyToClipboard, net.minecraft.text.ClickEvent.Custom, net.minecraft.text.ClickEvent.OpenFile, net.minecraft.text.ClickEvent.OpenUrl, net.minecraft.text.ClickEvent.RunCommand, net.minecraft.text.ClickEvent.ShowDialog, net.minecraft.text.ClickEvent.SuggestCommand
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final Runnable
     

    Fields inherited from class meteordevelopment.meteorclient.utils.misc.text.MeteorClickEvent

    value

    Fields inherited from interface net.minecraft.text.ClickEvent

    CODEC
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class meteordevelopment.meteorclient.utils.misc.text.MeteorClickEvent

    getAction

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • runnable

      public final Runnable runnable
  • Constructor Details

    • RunnableClickEvent

      public RunnableClickEvent(Runnable runnable)