Class EuclideanGameEventDispatcher
java.lang.Object
net.minecraft.world.level.gameevent.EuclideanGameEventDispatcher
- All Implemented Interfaces:
GameEventDispatcher
-
Field Summary
Fields inherited from interface net.minecraft.world.level.gameevent.GameEventDispatcher
NOOP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isEmpty()
void
private boolean
postToListener
(Level p_157756_, GameEvent p_157757_, Entity p_157758_, BlockPos p_157759_, GameEventListener p_157760_) void
register
(GameEventListener p_157766_) void
unregister
(GameEventListener p_157768_)
-
Field Details
-
listeners
-
level
-
-
Constructor Details
-
EuclideanGameEventDispatcher
-
-
Method Details
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceGameEventDispatcher
-
register
- Specified by:
register
in interfaceGameEventDispatcher
-
unregister
- Specified by:
unregister
in interfaceGameEventDispatcher
-
post
- Specified by:
post
in interfaceGameEventDispatcher
-
postToListener
private boolean postToListener(Level p_157756_, GameEvent p_157757_, @Nullable Entity p_157758_, BlockPos p_157759_, GameEventListener p_157760_)
-