-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
43 additions
and
21 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
versions/snapshot/1.21/24w37a/patches/client/net/minecraft/client/Minecraft.java.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...es/client/net/minecraft/client/gui/screens/worldselection/WorldCreationUiState.java.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../patches/client/net/minecraft/client/gui/screens/worldselection/WorldOpenFlows.java.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
versions/snapshot/1.21/24w37a/patches/joined/net/minecraft/client/Minecraft.java.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...es/joined/net/minecraft/client/gui/screens/worldselection/WorldCreationUiState.java.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../patches/joined/net/minecraft/client/gui/screens/worldselection/WorldOpenFlows.java.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
versions/snapshot/1.21/24w37a/patches/shared/net/minecraft/TracingExecutor.java.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- a/net/minecraft/TracingExecutor.java | ||
+++ b/net/minecraft/TracingExecutor.java | ||
@@ -21,7 +21,7 @@ | ||
} | ||
}); | ||
} else { | ||
- return (Executor)(TracyClient.isAvailable() ? p_372837_ -> this.service.execute(() -> { | ||
+ return (Executor)(TracyClient.isAvailable() ? (Executor) p_372837_ -> this.service.execute(() -> { | ||
try (Zone zone = TracyClient.beginZone(p_372983_, SharedConstants.IS_RUNNING_IN_IDE)) { | ||
p_372837_.run(); | ||
} |
2 changes: 1 addition & 1 deletion
2
versions/snapshot/1.21/24w37a/patches/shared/net/minecraft/Util.java.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
versions/snapshot/1.21/24w37a/patches/shared/net/minecraft/commands/Commands.java.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ns/snapshot/1.21/24w37a/patches/shared/net/minecraft/network/codec/StreamCodec.java.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
versions/snapshot/1.21/24w37a/patches/shared/net/minecraft/server/MinecraftServer.java.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
--- a/net/minecraft/server/MinecraftServer.java | ||
+++ b/net/minecraft/server/MinecraftServer.java | ||
@@ -872,7 +872,7 @@ | ||
@@ -883,7 +883,7 @@ | ||
} | ||
} | ||
|
||
- protected void doRunTask(TickTask p_129957_) { | ||
+ public void doRunTask(TickTask p_129957_) { | ||
this.getProfiler().incrementCounter("runTask"); | ||
Profiler.get().incrementCounter("runTask"); | ||
super.doRunTask(p_129957_); | ||
} |
2 changes: 1 addition & 1 deletion
2
...napshot/1.21/24w37a/patches/shared/net/minecraft/server/level/ServerChunkCache.java.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ons/snapshot/1.21/24w37a/patches/shared/net/minecraft/server/level/ServerLevel.java.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
versions/snapshot/1.21/24w37a/patches/shared/net/minecraft/world/entity/Entity.java.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
--- a/net/minecraft/world/entity/Entity.java | ||
+++ b/net/minecraft/world/entity/Entity.java | ||
@@ -477,7 +477,7 @@ | ||
@@ -481,7 +481,7 @@ | ||
|
||
this.firstTick = false; | ||
if (!this.level().isClientSide && this instanceof Leashable) { | ||
- Leashable.tickLeash((Entity)((Leashable)this)); | ||
+ Leashable.tickLeash((Entity & Leashable)this); | ||
} | ||
|
||
this.level().getProfiler().pop(); | ||
profilerfiller.pop(); |
2 changes: 1 addition & 1 deletion
2
...1.21/24w37a/patches/shared/net/minecraft/world/entity/projectile/AbstractArrow.java.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...t/1.21/24w37a/patches/shared/net/minecraft/world/level/block/state/StateHolder.java.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- a/net/minecraft/world/level/block/state/StateHolder.java | ||
+++ b/net/minecraft/world/level/block/state/StateHolder.java | ||
@@ -133,7 +133,7 @@ | ||
|
||
for (Entry<Property<?>, Comparable<?>> entry : this.values.entrySet()) { | ||
Property<?> property = entry.getKey(); | ||
- map.put(property, property.getPossibleValues().stream().map(p_372787_ -> p_61134_.get(this.makeNeighbourValues(property, p_372787_))).toArray()); | ||
+ map.put(property, (S[])property.getPossibleValues().stream().map(p_372787_ -> p_61134_.get(this.makeNeighbourValues(property, p_372787_))).toArray()); | ||
} | ||
|
||
this.neighbours = map; |