Skip to content

Commit

Permalink
1.20.3-pre1
Browse files Browse the repository at this point in the history
Just a mappings update :)
  • Loading branch information
modmuss50 committed Nov 20, 2023
1 parent 7feff5d commit ed814d3
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public final class ServerPlayNetworkAddon extends AbstractChanneledNetworkAddon<
private boolean sentInitialRegisterPacket;

public ServerPlayNetworkAddon(ServerPlayNetworkHandler handler, ClientConnection connection, MinecraftServer server) {
super(ServerNetworkingImpl.PLAY, connection, "ServerPlayNetworkAddon for " + handler.player.getEntityName());
super(ServerNetworkingImpl.PLAY, connection, "ServerPlayNetworkAddon for " + handler.player.getDisplayName());
this.handler = handler;
this.server = server;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ private static int registerChannel(CommandContext<ServerCommandSource> context,
System.out.printf("Received packet on channel %s%n", channel);
});

context.getSource().sendFeedback(() -> Text.literal(String.format("Registered channel %s for %s", channel, executor.getEntityName())), false);
context.getSource().sendFeedback(() -> Text.literal(String.format("Registered channel %s for %s", channel, executor.getDisplayName())), false);

return 1;
}
Expand All @@ -118,7 +118,7 @@ private static int unregisterChannel(CommandContext<ServerCommandSource> context
}

ServerPlayNetworking.unregisterReceiver(player.networkHandler, channel);
context.getSource().sendFeedback(() -> Text.literal(String.format("Unregistered channel %s for %s", getIdentifier(context, "channel"), player.getEntityName())), false);
context.getSource().sendFeedback(() -> Text.literal(String.format("Unregistered channel %s for %s", getIdentifier(context, "channel"), player.getDisplayName())), false);

return 1;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public static String forGlobalPos(@Nullable World world, BlockPos pos) {
}

public static String forPlayer(PlayerEntity player) {
return player.getEntityName() + "/" + player.getUuidAsString();
return player.getDisplayName() + "/" + player.getUuidAsString();
}

public static String forInventory(@Nullable Inventory inventory) {
Expand Down
18 changes: 9 additions & 9 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ org.gradle.jvmargs=-Xmx2560M
org.gradle.parallel=true
fabric.loom.multiProjectOptimisation=true

version=0.90.10
minecraft_version=23w46a
version=0.90.11
minecraft_version=1.20.3-pre1
yarn_version=+build.1
loader_version=0.14.23
installer_version=0.11.1
Expand All @@ -21,10 +21,10 @@ fabric-blockrenderlayer-v1-version=1.1.44
fabric-command-api-v1-version=1.2.39
fabric-command-api-v2-version=2.2.18
fabric-commands-v0-version=0.2.56
fabric-containers-v0-version=0.1.77
fabric-containers-v0-version=0.1.78
fabric-content-registries-v0-version=5.0.8
fabric-crash-report-info-v1-version=0.2.21
fabric-data-generation-api-v1-version=13.1.12
fabric-data-generation-api-v1-version=13.1.13
fabric-dimensions-v1-version=2.1.59
fabric-entity-events-v1-version=1.5.26
fabric-events-interaction-v0-version=0.6.13
Expand All @@ -41,11 +41,11 @@ fabric-message-api-v1-version=6.0.3
fabric-mining-level-api-v1-version=2.1.58
fabric-model-loading-api-v1-version=1.0.6
fabric-models-v0-version=0.4.5
fabric-networking-api-v1-version=3.0.13
fabric-networking-api-v1-version=3.0.14
fabric-object-builder-api-v1-version=13.0.6
fabric-particles-v1-version=1.1.5
fabric-recipe-api-v1-version=2.0.11
fabric-registry-sync-v0-version=4.0.9
fabric-recipe-api-v1-version=2.0.12
fabric-registry-sync-v0-version=4.0.10
fabric-renderer-api-v1-version=3.2.2
fabric-renderer-indigo-version=1.5.2
fabric-renderer-registries-v1-version=3.2.49
Expand All @@ -56,9 +56,9 @@ fabric-rendering-v1-version=3.0.11
fabric-resource-conditions-api-v1-version=2.3.11
fabric-resource-loader-v0-version=0.11.14
fabric-screen-api-v1-version=2.0.15
fabric-screen-handler-api-v1-version=1.3.46
fabric-screen-handler-api-v1-version=1.3.47
fabric-sound-api-v1-version=1.0.15
fabric-transfer-api-v1-version=4.0.3
fabric-transfer-api-v1-version=4.0.4
fabric-transitive-access-wideners-v1-version=5.0.11
fabric-convention-tags-v1-version=1.5.8
fabric-client-tags-api-v1-version=1.1.5

0 comments on commit ed814d3

Please sign in to comment.