mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 23:10:16 +01:00
First few files and initial rebuild
This commit is contained in:
parent
b2fd9b225c
commit
f2ff5966a6
8 changed files with 22 additions and 33 deletions
|
@ -1,18 +1,7 @@
|
||||||
# You can use this file to change the access modifiers on a member
|
# This file is auto generated, any changes may be overridden!
|
||||||
# This line would make the field rollAmount public in Bee
|
# See CONTRIBUTING.md on how to add access transformers.
|
||||||
#public net.minecraft.world.entity.animal.Bee rollAmount
|
|
||||||
# This line would make the field public and remove the final modifier
|
|
||||||
#public-f net.minecraft.network.protocol.game.ClientboundChatPacket sender
|
|
||||||
# Leave out the member and it will apply to the class itself
|
|
||||||
# More info, see here https://mcforge.readthedocs.io/en/latest/advanced/accesstransformers/#access-modifiers
|
|
||||||
|
|
||||||
# Remap/Decompile fix (unclear why this is happening)
|
|
||||||
public net.minecraft.server.MinecraftServer doRunTask(Lnet/minecraft/server/TickTask;)V
|
|
||||||
|
|
||||||
# AT remap issue? todo 1.18
|
|
||||||
public net.minecraft.world.level.dimension.end.EndDragonFight findExitPortal()Lnet/minecraft/world/level/block/state/pattern/BlockPattern$BlockPatternMatch;
|
|
||||||
public net.minecraft.nbt.TagParser readArrayTag()Lnet/minecraft/nbt/Tag;
|
public net.minecraft.nbt.TagParser readArrayTag()Lnet/minecraft/nbt/Tag;
|
||||||
|
public net.minecraft.server.MinecraftServer doRunTask(Lnet/minecraft/server/TickTask;)V
|
||||||
# TODO 1.20 remapSpigotAt.at doesn't remap the return type for this method for some reason
|
public net.minecraft.world.entity.Display$BlockDisplay getBlockState()Lnet/minecraft/world/level/block/state/BlockState;
|
||||||
public net/minecraft/world/entity/Display$TextDisplay getText()Lnet/minecraft/network/chat/Component;
|
public net.minecraft.world.entity.Display$TextDisplay getText()Lnet/minecraft/network/chat/Component;
|
||||||
public net/minecraft/world/entity/Display$BlockDisplay getBlockState()Lnet/minecraft/world/level/block/state/BlockState;
|
public net.minecraft.world.level.dimension.end.EndDragonFight findExitPortal()Lnet/minecraft/world/level/block/state/pattern/BlockPattern$BlockPatternMatch;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/data/minecraft/loot_table/chests/trial_chambers/intersection_barrel.json
|
--- a/data/minecraft/loot_table/chests/trial_chambers/intersection_barrel.json
|
||||||
+++ b/data/minecraft/loot_table/chests/trial_chambers/intersection_barrel.json
|
+++ b/data/minecraft/loot_table/chests/trial_chambers/intersection_barrel.json
|
||||||
@@ -70,15 +70,6 @@
|
@@ -70,15 +_,6 @@
|
||||||
"add": false,
|
"add": false,
|
||||||
"count": 1.0,
|
"count": 1.0,
|
||||||
"function": "minecraft:set_count"
|
"function": "minecraft:set_count"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/com/mojang/brigadier/exceptions/CommandSyntaxException.java
|
--- a/com/mojang/brigadier/exceptions/CommandSyntaxException.java
|
||||||
+++ b/com/mojang/brigadier/exceptions/CommandSyntaxException.java
|
+++ b/com/mojang/brigadier/exceptions/CommandSyntaxException.java
|
||||||
@@ -5,7 +5,7 @@
|
@@ -5,7 +_,7 @@
|
||||||
|
|
||||||
import com.mojang.brigadier.Message;
|
import com.mojang.brigadier.Message;
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
public static final int CONTEXT_AMOUNT = 10;
|
public static final int CONTEXT_AMOUNT = 10;
|
||||||
public static boolean ENABLE_COMMAND_STACK_TRACES = true;
|
public static boolean ENABLE_COMMAND_STACK_TRACES = true;
|
||||||
public static BuiltInExceptionProvider BUILT_IN_EXCEPTIONS = new BuiltInExceptions();
|
public static BuiltInExceptionProvider BUILT_IN_EXCEPTIONS = new BuiltInExceptions();
|
||||||
@@ -73,4 +73,11 @@
|
@@ -73,4 +_,11 @@
|
||||||
public int getCursor() {
|
public int getCursor() {
|
||||||
return cursor;
|
return cursor;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/com/mojang/datafixers/DataFixerBuilder.java
|
--- a/com/mojang/datafixers/DataFixerBuilder.java
|
||||||
+++ b/com/mojang/datafixers/DataFixerBuilder.java
|
+++ b/com/mojang/datafixers/DataFixerBuilder.java
|
||||||
@@ -29,8 +29,10 @@
|
@@ -29,8 +_,10 @@
|
||||||
private final Int2ObjectSortedMap<Schema> schemas = new Int2ObjectAVLTreeMap<>();
|
private final Int2ObjectSortedMap<Schema> schemas = new Int2ObjectAVLTreeMap<>();
|
||||||
private final List<DataFix> globalList = new ArrayList<>();
|
private final List<DataFix> globalList = new ArrayList<>();
|
||||||
private final IntSortedSet fixerVersions = new IntAVLTreeSet();
|
private final IntSortedSet fixerVersions = new IntAVLTreeSet();
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
this.dataVersion = dataVersion;
|
this.dataVersion = dataVersion;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -88,6 +90,7 @@
|
@@ -88,6 +_,7 @@
|
||||||
final IntIterator iterator = fixerUpper.fixerVersions().iterator();
|
final IntIterator iterator = fixerUpper.fixerVersions().iterator();
|
||||||
while (iterator.hasNext()) {
|
while (iterator.hasNext()) {
|
||||||
final int versionKey = iterator.nextInt();
|
final int versionKey = iterator.nextInt();
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/com/mojang/datafixers/util/Either.java
|
--- a/com/mojang/datafixers/util/Either.java
|
||||||
+++ b/com/mojang/datafixers/util/Either.java
|
+++ b/com/mojang/datafixers/util/Either.java
|
||||||
@@ -22,7 +22,7 @@
|
@@ -22,7 +_,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
private static final class Left<L, R> extends Either<L, R> {
|
private static final class Left<L, R> extends Either<L, R> {
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
public Left(final L value) {
|
public Left(final L value) {
|
||||||
this.value = value;
|
this.value = value;
|
||||||
@@ -51,7 +51,7 @@
|
@@ -51,7 +_,7 @@
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Optional<L> left() {
|
public Optional<L> left() {
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -83,7 +83,7 @@
|
@@ -83,7 +_,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
private static final class Right<L, R> extends Either<L, R> {
|
private static final class Right<L, R> extends Either<L, R> {
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
public Right(final R value) {
|
public Right(final R value) {
|
||||||
this.value = value;
|
this.value = value;
|
||||||
@@ -117,7 +117,7 @@
|
@@ -117,7 +_,7 @@
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Optional<R> right() {
|
public Optional<R> right() {
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/com/mojang/logging/LogUtils.java
|
--- a/com/mojang/logging/LogUtils.java
|
||||||
+++ b/com/mojang/logging/LogUtils.java
|
+++ b/com/mojang/logging/LogUtils.java
|
||||||
@@ -61,4 +61,9 @@
|
@@ -61,4 +_,9 @@
|
||||||
public static Logger getLogger() {
|
public static Logger getLogger() {
|
||||||
return LoggerFactory.getLogger(STACK_WALKER.getCallerClass());
|
return LoggerFactory.getLogger(STACK_WALKER.getCallerClass());
|
||||||
}
|
}
|
|
@ -1,14 +1,14 @@
|
||||||
--- a/com/mojang/math/OctahedralGroup.java
|
--- a/com/mojang/math/OctahedralGroup.java
|
||||||
+++ b/com/mojang/math/OctahedralGroup.java
|
+++ b/com/mojang/math/OctahedralGroup.java
|
||||||
@@ -110,6 +110,7 @@
|
@@ -111,6 +_,7 @@
|
||||||
this.permutation = axisTransformation;
|
this.permutation = permutation;
|
||||||
this.transformation = new Matrix3f().scaling(flipX ? -1.0F : 1.0F, flipY ? -1.0F : 1.0F, flipZ ? -1.0F : 1.0F);
|
this.transformation = new Matrix3f().scaling(invertX ? -1.0F : 1.0F, invertY ? -1.0F : 1.0F, invertZ ? -1.0F : 1.0F);
|
||||||
this.transformation.mul(axisTransformation.transformation());
|
this.transformation.mul(permutation.transformation());
|
||||||
+ this.initializeRotationDirections(); // Paper - Avoid Lazy Initialization for Enum Fields
|
+ this.initializeRotationDirections(); // Paper - Avoid Lazy Initialization for Enum Fields
|
||||||
}
|
}
|
||||||
|
|
||||||
private BooleanList packInversions() {
|
private BooleanList packInversions() {
|
||||||
@@ -138,7 +139,7 @@
|
@@ -139,7 +_,7 @@
|
||||||
return this.name;
|
return this.name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
if (this.rotatedDirections == null) {
|
if (this.rotatedDirections == null) {
|
||||||
this.rotatedDirections = Maps.newEnumMap(Direction.class);
|
this.rotatedDirections = Maps.newEnumMap(Direction.class);
|
||||||
Direction.Axis[] axiss = Direction.Axis.values();
|
Direction.Axis[] axiss = Direction.Axis.values();
|
||||||
@@ -153,6 +154,10 @@
|
@@ -154,6 +_,10 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue