java.lang.Object
net.minecraftforge.eventbus.api.Event
me.desht.pneumaticcraft.api.client.pneumatic_helmet.BlockTrackEvent

public class BlockTrackEvent extends net.minecraftforge.eventbus.api.Event
Fired when a helmet Block Tracker is about to track a block. Can be canceled to prevent tracking. Posted on MinecraftForge.EVENT_BUS
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event

    net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final net.minecraft.core.BlockPos
     
    final net.minecraft.world.level.block.entity.BlockEntity
     
    final net.minecraft.world.level.Level
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    BlockTrackEvent(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.entity.BlockEntity te)
     
  • Method Summary

    Methods inherited from class net.minecraftforge.eventbus.api.Event

    getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup

    Methods inherited from class java.lang.Object

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

    • world

      public final net.minecraft.world.level.Level world
    • pos

      public final net.minecraft.core.BlockPos pos
    • te

      public final net.minecraft.world.level.block.entity.BlockEntity te
  • Constructor Details

    • BlockTrackEvent

      public BlockTrackEvent(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.entity.BlockEntity te)