Class HighlightKubeEvent

java.lang.Object
dev.latvian.mods.kubejs.client.ClientPlayerKubeEvent
dev.latvian.mods.kubejs.client.highlight.HighlightKubeEvent
All Implemented Interfaces:
ClientKubeEvent, KubeEntityEvent, KubeLivingEntityEvent, KubeEvent, KubeLevelEvent, KubePlayerEvent

@Info("Invoked when block and entity highlight is rendered.\n") public class HighlightKubeEvent extends ClientPlayerKubeEvent
  • Constructor Details

    • HighlightKubeEvent

      public HighlightKubeEvent(net.minecraft.client.Minecraft mc, HighlightRenderer renderer)
  • Method Details

    • getClient

      public net.minecraft.client.Minecraft getClient()
    • addBlock

      public void addBlock(net.minecraft.core.BlockPos pos, KubeColor color)
    • addBlocks

      public void addBlocks(net.minecraft.core.BlockPos from, net.minecraft.core.BlockPos to, KubeColor color)
    • addTargetBlock

      public void addTargetBlock(KubeColor color)
    • addEntity

      public void addEntity(net.minecraft.world.entity.Entity entity, KubeColor color)
    • addEntities

      public void addEntities(net.minecraft.commands.arguments.selector.EntitySelector selector, KubeColor color)
    • addEntitiesByType

      public void addEntitiesByType(net.minecraft.world.entity.EntityType<?> type, KubeColor color)
    • addTargetEntity

      public void addTargetEntity(KubeColor color)
    • addTarget

      public void addTarget(KubeColor color)
    • getTargetBlock

      public LevelBlock getTargetBlock()
    • getTargetEntity

      public net.minecraft.world.entity.Entity getTargetEntity()