Class AbstractCancellableClientPhasedEvent
- java.lang.Object
-
- net.minecraft.modding.api.event.client.AbstractClientEvent
-
- net.minecraft.modding.api.event.client.AbstractClientPhasedEvent
-
- net.minecraft.modding.api.event.client.AbstractCancellableClientPhasedEvent
-
- All Implemented Interfaces:
CancellableEvent
,ClientEvent
,PhasedEvent
- Direct Known Subclasses:
ClientFrameEvent
,ClientTickEvent
public class AbstractCancellableClientPhasedEvent extends AbstractClientPhasedEvent implements CancellableEvent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.minecraft.modding.api.event.PhasedEvent
PhasedEvent.EventPhase
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractCancellableClientPhasedEvent(Minecraft minecraft, PhasedEvent.EventPhase phase)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isCancelled()
void
setCancelled(boolean cancelled)
-
Methods inherited from class net.minecraft.modding.api.event.client.AbstractClientPhasedEvent
getPhase
-
Methods inherited from class net.minecraft.modding.api.event.client.AbstractClientEvent
getMinecraft, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.minecraft.modding.api.event.CancellableEvent
cancel
-
-
-
-
Constructor Detail
-
AbstractCancellableClientPhasedEvent
protected AbstractCancellableClientPhasedEvent(Minecraft minecraft, PhasedEvent.EventPhase phase)
-
-
Method Detail
-
isCancelled
public boolean isCancelled()
- Specified by:
isCancelled
in interfaceCancellableEvent
-
setCancelled
public void setCancelled(boolean cancelled)
- Specified by:
setCancelled
in interfaceCancellableEvent
-
-