mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-01 04:32:11 -07:00
First few files and initial rebuild
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
--- a/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,
|
||||
"count": 1.0,
|
||||
"function": "minecraft:set_count"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
--- a/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;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
public static final int CONTEXT_AMOUNT = 10;
|
||||
public static boolean ENABLE_COMMAND_STACK_TRACES = true;
|
||||
public static BuiltInExceptionProvider BUILT_IN_EXCEPTIONS = new BuiltInExceptions();
|
||||
@@ -73,4 +73,11 @@
|
||||
@@ -73,4 +_,11 @@
|
||||
public int getCursor() {
|
||||
return cursor;
|
||||
}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
--- a/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 List<DataFix> globalList = new ArrayList<>();
|
||||
private final IntSortedSet fixerVersions = new IntAVLTreeSet();
|
||||
@@ -11,7 +11,7 @@
|
||||
this.dataVersion = dataVersion;
|
||||
}
|
||||
|
||||
@@ -88,6 +90,7 @@
|
||||
@@ -88,6 +_,7 @@
|
||||
final IntIterator iterator = fixerUpper.fixerVersions().iterator();
|
||||
while (iterator.hasNext()) {
|
||||
final int versionKey = iterator.nextInt();
|
@@ -1,6 +1,6 @@
|
||||
--- a/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> {
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
public Left(final L value) {
|
||||
this.value = value;
|
||||
@@ -51,7 +51,7 @@
|
||||
@@ -51,7 +_,7 @@
|
||||
|
||||
@Override
|
||||
public Optional<L> left() {
|
||||
@@ -18,7 +18,7 @@
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -83,7 +83,7 @@
|
||||
@@ -83,7 +_,7 @@
|
||||
}
|
||||
|
||||
private static final class Right<L, R> extends Either<L, R> {
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
public Right(final R value) {
|
||||
this.value = value;
|
||||
@@ -117,7 +117,7 @@
|
||||
@@ -117,7 +_,7 @@
|
||||
|
||||
@Override
|
||||
public Optional<R> right() {
|
@@ -1,6 +1,6 @@
|
||||
--- a/com/mojang/logging/LogUtils.java
|
||||
+++ b/com/mojang/logging/LogUtils.java
|
||||
@@ -61,4 +61,9 @@
|
||||
@@ -61,4 +_,9 @@
|
||||
public static Logger getLogger() {
|
||||
return LoggerFactory.getLogger(STACK_WALKER.getCallerClass());
|
||||
}
|
@@ -1,14 +1,14 @@
|
||||
--- a/com/mojang/math/OctahedralGroup.java
|
||||
+++ b/com/mojang/math/OctahedralGroup.java
|
||||
@@ -110,6 +110,7 @@
|
||||
this.permutation = axisTransformation;
|
||||
this.transformation = new Matrix3f().scaling(flipX ? -1.0F : 1.0F, flipY ? -1.0F : 1.0F, flipZ ? -1.0F : 1.0F);
|
||||
this.transformation.mul(axisTransformation.transformation());
|
||||
@@ -111,6 +_,7 @@
|
||||
this.permutation = permutation;
|
||||
this.transformation = new Matrix3f().scaling(invertX ? -1.0F : 1.0F, invertY ? -1.0F : 1.0F, invertZ ? -1.0F : 1.0F);
|
||||
this.transformation.mul(permutation.transformation());
|
||||
+ this.initializeRotationDirections(); // Paper - Avoid Lazy Initialization for Enum Fields
|
||||
}
|
||||
|
||||
private BooleanList packInversions() {
|
||||
@@ -138,7 +139,7 @@
|
||||
@@ -139,7 +_,7 @@
|
||||
return this.name;
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
if (this.rotatedDirections == null) {
|
||||
this.rotatedDirections = Maps.newEnumMap(Direction.class);
|
||||
Direction.Axis[] axiss = Direction.Axis.values();
|
||||
@@ -153,6 +154,10 @@
|
||||
@@ -154,6 +_,10 @@
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user