-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolves: #56
- Loading branch information
Showing
9 changed files
with
50 additions
and
6 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
versions/24w45a/patches/net/minecraft/data/Main.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/data/Main.java | ||
+++ b/net/minecraft/data/Main.java | ||
@@ -63,7 +_,7 @@ | ||
|
||
public class Main { | ||
@SuppressForbidden( | ||
- a = "System.out needed before bootstrap" | ||
+ reason = "System.out needed before bootstrap" | ||
) | ||
@DontObfuscate | ||
public static void main(String[] args) throws IOException { |
2 changes: 1 addition & 1 deletion
2
versions/24w45a/patches/net/minecraft/resources/HolderSetCodec.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/24w45a/patches/net/minecraft/server/Bootstrap.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/server/Bootstrap.java | ||
+++ b/net/minecraft/server/Bootstrap.java | ||
@@ -31,7 +_,7 @@ | ||
import org.slf4j.Logger; | ||
|
||
@SuppressForbidden( | ||
- a = "System.out setup" | ||
+ reason = "System.out setup" | ||
) | ||
public class Bootstrap { | ||
public static final PrintStream STDOUT = System.out; |
11 changes: 11 additions & 0 deletions
11
versions/24w45a/patches/net/minecraft/server/Main.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/server/Main.java | ||
+++ b/net/minecraft/server/Main.java | ||
@@ -64,7 +_,7 @@ | ||
private static final Logger LOGGER = LogUtils.getLogger(); | ||
|
||
@SuppressForbidden( | ||
- a = "System.out needed before bootstrap" | ||
+ reason = "System.out needed before bootstrap" | ||
) | ||
@DontObfuscate | ||
public static void main(String[] args) { |
2 changes: 1 addition & 1 deletion
2
versions/24w45a/patches/net/minecraft/server/network/ServerGamePacketListenerImpl.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/24w45a/patches/net/minecraft/util/ExtraCodecs.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/24w45a/patches/net/minecraft/world/entity/animal/Sheep.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
...es/net/minecraft/world/level/storage/loot/functions/SetCustomModelDataFunction.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/storage/loot/functions/SetCustomModelDataFunction.java | ||
+++ b/net/minecraft/world/level/storage/loot/functions/SetCustomModelDataFunction.java | ||
@@ -22,7 +_,7 @@ | ||
|
||
public class SetCustomModelDataFunction extends LootItemConditionalFunction { | ||
private static final Codec<NumberProvider> COLOR_PROVIDER_CODEC = Codec.withAlternative( | ||
- NumberProviders.CODEC, ExtraCodecs.RGB_COLOR_CODEC, ConstantValue::new | ||
+ NumberProviders.CODEC, ExtraCodecs.RGB_COLOR_CODEC, f -> new ConstantValue(f) | ||
); | ||
public static final MapCodec<SetCustomModelDataFunction> CODEC = RecordCodecBuilder.mapCodec( | ||
instance -> commonFields(instance) |