Package tschipp.linear.events
Class CommonEvents
java.lang.Object
tschipp.linear.events.CommonEvents
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidonAttachCaps(net.minecraftforge.event.AttachCapabilitiesEvent<net.minecraft.world.entity.Entity> event) static voidonClone(net.minecraftforge.event.entity.player.PlayerEvent.Clone event) Capabilities aren't copied automatically.static voidonRegisterCommands(net.minecraftforge.event.RegisterCommandsEvent event) static voidonRightClickBlock(net.minecraftforge.event.entity.player.PlayerInteractEvent.RightClickBlock event) A click that starts or ends a line does nothing else.static voidonRightClickItem(net.minecraftforge.event.entity.player.PlayerInteractEvent.RightClickItem event) static voidonServerTick(net.minecraftforge.event.TickEvent.ServerTickEvent event)
-
Constructor Details
-
CommonEvents
public CommonEvents()
-
-
Method Details
-
onAttachCaps
public static void onAttachCaps(net.minecraftforge.event.AttachCapabilitiesEvent<net.minecraft.world.entity.Entity> event) -
onClone
public static void onClone(net.minecraftforge.event.entity.player.PlayerEvent.Clone event) Capabilities aren't copied automatically. -
onRightClickBlock
public static void onRightClickBlock(net.minecraftforge.event.entity.player.PlayerInteractEvent.RightClickBlock event) A click that starts or ends a line does nothing else. -
onRightClickItem
public static void onRightClickItem(net.minecraftforge.event.entity.player.PlayerInteractEvent.RightClickItem event) -
onRegisterCommands
public static void onRegisterCommands(net.minecraftforge.event.RegisterCommandsEvent event) -
onServerTick
public static void onServerTick(net.minecraftforge.event.TickEvent.ServerTickEvent event)
-