Class GameEvent.Message
java.lang.Object
net.minecraft.world.level.gameevent.GameEvent.Message
- All Implemented Interfaces:
Comparable<GameEvent.Message>
- Enclosing class:
- GameEvent
-
Field Summary
Modifier and TypeFieldDescriptionprivate final GameEvent.Context
private final double
private final GameEvent
private final GameEventListener
private final Vec3
-
Constructor Summary
ConstructorDescriptionMessage
(GameEvent p_223735_, Vec3 p_223736_, GameEvent.Context p_223737_, GameEventListener p_223738_, Vec3 p_223739_) -
Method Summary
-
Field Details
-
gameEvent
-
source
-
context
-
recipient
-
distanceToRecipient
private final double distanceToRecipient
-
-
Constructor Details
-
Message
public Message(GameEvent p_223735_, Vec3 p_223736_, GameEvent.Context p_223737_, GameEventListener p_223738_, Vec3 p_223739_)
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<GameEvent.Message>
-
gameEvent
-
source
-
context
-
recipient
-