added delay info in hover of action list
This commit is contained in:
		
							parent
							
								
									1e0739e73f
								
							
						
					
					
						commit
						15e342564c
					
				
					 5 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -45,7 +45,7 @@ public class ConsoleCommandAction extends InteractionActionImpl {
 | 
			
		|||
                .append(Component.text(" | ", NamedTextColor.GRAY))
 | 
			
		||||
                .append(Component.text("Console Command: ", NamedTextColor.GREEN)
 | 
			
		||||
                        .hoverEvent(HoverEvent.hoverEvent(HoverEvent.Action.SHOW_TEXT,
 | 
			
		||||
                                Component.text("Click Type: " + getInteractionType().name() + " Cooldown: " + getCooldown()/1000, NamedTextColor.GREEN))))
 | 
			
		||||
                                Component.text("Click Type: " + getInteractionType().name() + " Cooldown: " + getCooldown()/1000 + " Delay: " + getDelay(), NamedTextColor.GRAY))))
 | 
			
		||||
                .append(Component.text(command, NamedTextColor.WHITE)));
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -48,7 +48,7 @@ public class MessageAction extends InteractionActionImpl {
 | 
			
		|||
                .append(Component.text(" | ", NamedTextColor.GRAY))
 | 
			
		||||
                .append(Component.text("Message: ", NamedTextColor.GREEN)
 | 
			
		||||
                        .hoverEvent(HoverEvent.hoverEvent(HoverEvent.Action.SHOW_TEXT,
 | 
			
		||||
                                Component.text("Click Type: " + getInteractionType().name() + " Cooldown: " + getCooldown()/1000, NamedTextColor.GREEN))))
 | 
			
		||||
                                Component.text("Click Type: " + getInteractionType().name() + " Cooldown: " + getCooldown()/1000 + " Delay: " + getDelay(), NamedTextColor.GRAY))))
 | 
			
		||||
                .append(Component.text(message, NamedTextColor.WHITE)));
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -43,7 +43,7 @@ public class PlayerChatAction extends InteractionActionImpl {
 | 
			
		|||
                        .append(Component.text(" | ", NamedTextColor.GRAY))
 | 
			
		||||
                        .append(Component.text("Player Chat: ", NamedTextColor.GREEN)
 | 
			
		||||
                                .hoverEvent(HoverEvent.hoverEvent(HoverEvent.Action.SHOW_TEXT,
 | 
			
		||||
                                        Component.text("Click Type: " + getInteractionType().name() + " Cooldown: " + getCooldown()/1000, NamedTextColor.GREEN))))
 | 
			
		||||
                                        Component.text("Click Type: " + getInteractionType().name() + " Cooldown: " + getCooldown()/1000 + " Delay: " + getDelay(), NamedTextColor.GRAY))))
 | 
			
		||||
                        .append(Component.text(message, NamedTextColor.WHITE)));
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -44,7 +44,7 @@ public class PlayerCommandAction extends InteractionActionImpl {
 | 
			
		|||
                .append(Component.text(" | ", NamedTextColor.GRAY))
 | 
			
		||||
                .append(Component.text("Player Command: ", NamedTextColor.GREEN)
 | 
			
		||||
                        .hoverEvent(HoverEvent.hoverEvent(HoverEvent.Action.SHOW_TEXT,
 | 
			
		||||
                                Component.text("Click Type: " + getInteractionType().name() + " Cooldown: " + getCooldown()/1000, NamedTextColor.GREEN))))
 | 
			
		||||
                                Component.text("Click Type: " + getInteractionType().name() + " Cooldown: " + getCooldown()/1000 + " Delay: " + getDelay(), NamedTextColor.GRAY))))
 | 
			
		||||
                .append(Component.text(command, NamedTextColor.WHITE)));
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -42,7 +42,7 @@ public class SwitchServerAction extends InteractionActionImpl {
 | 
			
		|||
                .append(Component.text(" | ", NamedTextColor.GRAY))
 | 
			
		||||
                .append(Component.text("Switch Server: ", NamedTextColor.GREEN)
 | 
			
		||||
                        .hoverEvent(HoverEvent.hoverEvent(HoverEvent.Action.SHOW_TEXT,
 | 
			
		||||
                                Component.text("Click Type: " + getInteractionType().name() + " Cooldown: " + getCooldown()/1000, NamedTextColor.GREEN))))
 | 
			
		||||
                                Component.text("Click Type: " + getInteractionType().name() + " Cooldown: " + getCooldown()/1000 + " Delay: " + getDelay(), NamedTextColor.GRAY))))
 | 
			
		||||
                .append(Component.text(server, NamedTextColor.WHITE)));
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue