-
Method Summary
Start listening in the world.
Start listening in the world.
default void
Stop listening in the world.
-
Method Details
-
startListening
default Listener startListening(net.minecraft.world.entity.Entity owner,
@Nullable
@Nullable UUID id)
Start listening in the world.
- Parameters:
owner - the Entity that will listen
id - the UUID of the listener
- Returns:
- The listener created.
-
startListening
Start listening in the world.
- Parameters:
location - the location to listen to
id - the UUID of the listener
- Returns:
- The listener created.
-
-
stopListening
default void stopListening(UUID reference,
boolean isClient)
Stop listening in the world.
This will remove the listener from both global and specific router maps.
- Parameters:
reference - the UUID of the router that will stop speaking