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 Table<ServerPlayer, WaypointTransmitter, WaypointTransmitter.Connection> private final Set<ServerPlayer> private final Set<WaypointTransmitter> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPlayer(ServerPlayer pPlayer) voidprivate voidcreateConnection(ServerPlayer pPlayer, WaypointTransmitter pWaypoint) private static booleanisLocatorBarEnabledFor(ServerPlayer pPlayer) voidremakeConnections(WaypointTransmitter pWaypoint) voidremovePlayer(ServerPlayer pPlayer) voidtrackWaypoint(WaypointTransmitter p_415909_) voiduntrackWaypoint(WaypointTransmitter p_416348_) private voidupdateConnection(ServerPlayer pPlayer, WaypointTransmitter pWaypoint, WaypointTransmitter.Connection pConnection) voidupdatePlayer(ServerPlayer pPlayer) voidupdateWaypoint(WaypointTransmitter p_415954_)
-
Field Details
-
waypoints
-
players
-
connections
-
-
Constructor Details
-
ServerWaypointManager
public ServerWaypointManager()
-
-
Method Details
-
trackWaypoint
- Specified by:
trackWaypointin interfaceWaypointManager<WaypointTransmitter>
-
updateWaypoint
- Specified by:
updateWaypointin interfaceWaypointManager<WaypointTransmitter>
-
untrackWaypoint
- Specified by:
untrackWaypointin interfaceWaypointManager<WaypointTransmitter>
-
addPlayer
-
updatePlayer
-
removePlayer
-
breakAllConnections
public void breakAllConnections() -
remakeConnections
-
transmitters
-
isLocatorBarEnabledFor
-
createConnection
-
updateConnection
private void updateConnection(ServerPlayer pPlayer, WaypointTransmitter pWaypoint, WaypointTransmitter.Connection pConnection)
-