Package net.minecraft.server.waypoints
Class ServerWaypointManager
java.lang.Object
net.minecraft.server.waypoints.ServerWaypointManager
- All Implemented Interfaces:
WaypointManager<WaypointTransmitter>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final com.google.common.collect.Table
<ServerPlayer, WaypointTransmitter, WaypointTransmitter.Connection> private final Set
<ServerPlayer> private final Set
<WaypointTransmitter> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPlayer
(ServerPlayer pPlayer) void
private void
createConnection
(ServerPlayer pPlayer, WaypointTransmitter pWaypoint) private static boolean
isLocatorBarEnabledFor
(ServerPlayer pPlayer) void
remakeConnections
(WaypointTransmitter pWaypoint) void
removePlayer
(ServerPlayer pPlayer) void
trackWaypoint
(WaypointTransmitter pWaypoint) void
untrackWaypoint
(WaypointTransmitter pWaypoint) private void
updateConnection
(ServerPlayer pPlayer, WaypointTransmitter pWaypoint, WaypointTransmitter.Connection pConnection) void
updatePlayer
(ServerPlayer pPlayer) void
updateWaypoint
(WaypointTransmitter pWaypoint)
-
Field Details
-
waypoints
-
players
-
connections
private final com.google.common.collect.Table<ServerPlayer,WaypointTransmitter, connectionsWaypointTransmitter.Connection>
-
-
Constructor Details
-
ServerWaypointManager
public ServerWaypointManager()
-
-
Method Details
-
trackWaypoint
- Specified by:
trackWaypoint
in interfaceWaypointManager<WaypointTransmitter>
-
updateWaypoint
- Specified by:
updateWaypoint
in interfaceWaypointManager<WaypointTransmitter>
-
untrackWaypoint
- Specified by:
untrackWaypoint
in interfaceWaypointManager<WaypointTransmitter>
-
addPlayer
-
updatePlayer
-
removePlayer
-
breakAllConnections
public void breakAllConnections() -
remakeConnections
-
transmitters
-
isLocatorBarEnabledFor
-
createConnection
-
updateConnection
private void updateConnection(ServerPlayer pPlayer, WaypointTransmitter pWaypoint, WaypointTransmitter.Connection pConnection)
-