mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 12:27:59 +01:00
Work
This commit is contained in:
parent
3a8f9e0b6e
commit
2103d82751
@ -13,7 +13,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
api("com.googlecode.json-simple:json-simple:1.1.1") {
|
api("com.googlecode.json-simple:json-simple:1.1.1") {
|
||||||
isTransitive = false // includes junit
|
isTransitive = false // includes junit
|
||||||
}
|
}
|
||||||
+ api("it.unimi.dsi:fastutil:8.5.6")
|
+ api("it.unimi.dsi:fastutil:8.5.15")
|
||||||
// Paper end
|
// Paper end
|
||||||
|
|
||||||
compileOnly("org.apache.maven:maven-resolver-provider:3.9.6")
|
compileOnly("org.apache.maven:maven-resolver-provider:3.9.6")
|
||||||
|
@ -46,7 +46,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
@@ -0,0 +0,0 @@ dependencies {
|
@@ -0,0 +0,0 @@ dependencies {
|
||||||
isTransitive = false // includes junit
|
isTransitive = false // includes junit
|
||||||
}
|
}
|
||||||
api("it.unimi.dsi:fastutil:8.5.6")
|
api("it.unimi.dsi:fastutil:8.5.15")
|
||||||
+ apiAndDocs(platform("net.kyori:adventure-bom:$adventureVersion"))
|
+ apiAndDocs(platform("net.kyori:adventure-bom:$adventureVersion"))
|
||||||
+ apiAndDocs("net.kyori:adventure-api")
|
+ apiAndDocs("net.kyori:adventure-api")
|
||||||
+ apiAndDocs("net.kyori:adventure-text-minimessage")
|
+ apiAndDocs("net.kyori:adventure-text-minimessage")
|
||||||
|
@ -32,32 +32,32 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
--- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
|
--- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
|
||||||
+++ b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
|
+++ b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
|
||||||
@@ -0,0 +0,0 @@ public class ServerGamePacketListenerImpl extends ServerCommonPacketListenerImpl
|
@@ -0,0 +0,0 @@ public class ServerGamePacketListenerImpl extends ServerCommonPacketListenerImpl
|
||||||
});
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
+ // Paper start - PlayerUseUnknownEntityEvent
|
||||||
+ // Paper start - PlayerUseUnknownEntityEvent
|
+ else {
|
||||||
+ else {
|
+ packet.dispatch(new net.minecraft.network.protocol.game.ServerboundInteractPacket.Handler() {
|
||||||
+ packet.dispatch(new net.minecraft.network.protocol.game.ServerboundInteractPacket.Handler() {
|
+ @Override
|
||||||
+ @Override
|
+ public void onInteraction(net.minecraft.world.InteractionHand hand) {
|
||||||
+ public void onInteraction(net.minecraft.world.InteractionHand hand) {
|
+ CraftEventFactory.callPlayerUseUnknownEntityEvent(ServerGamePacketListenerImpl.this.player, packet, hand, null);
|
||||||
+ CraftEventFactory.callPlayerUseUnknownEntityEvent(ServerGamePacketListenerImpl.this.player, packet, hand, null);
|
+ }
|
||||||
+ }
|
|
||||||
+
|
+
|
||||||
+ @Override
|
+ @Override
|
||||||
+ public void onInteraction(net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.Vec3 pos) {
|
+ public void onInteraction(net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.Vec3 pos) {
|
||||||
+ CraftEventFactory.callPlayerUseUnknownEntityEvent(ServerGamePacketListenerImpl.this.player, packet, hand, pos);
|
+ CraftEventFactory.callPlayerUseUnknownEntityEvent(ServerGamePacketListenerImpl.this.player, packet, hand, pos);
|
||||||
+ }
|
+ }
|
||||||
|
|
||||||
+ @Override
|
+ @Override
|
||||||
+ public void onAttack() {
|
+ public void onAttack() {
|
||||||
+ CraftEventFactory.callPlayerUseUnknownEntityEvent(ServerGamePacketListenerImpl.this.player, packet, net.minecraft.world.InteractionHand.MAIN_HAND, null);
|
+ CraftEventFactory.callPlayerUseUnknownEntityEvent(ServerGamePacketListenerImpl.this.player, packet, net.minecraft.world.InteractionHand.MAIN_HAND, null);
|
||||||
+ }
|
+ }
|
||||||
+ });
|
+ });
|
||||||
+ }
|
+ }
|
||||||
+ // Paper end - PlayerUseUnknownEntityEvent
|
+ // Paper end - PlayerUseUnknownEntityEvent
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
diff --git a/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java b/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java
|
diff --git a/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java b/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
--- a/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java
|
--- a/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java
|
@ -2969,13 +2969,13 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
AsyncPlayerChatEvent event = new AsyncPlayerChatEvent(async, player, s, new LazyPlayerSet(this.server));
|
AsyncPlayerChatEvent event = new AsyncPlayerChatEvent(async, player, s, new LazyPlayerSet(this.server));
|
||||||
String originalFormat = event.getFormat(), originalMessage = event.getMessage();
|
String originalFormat = event.getFormat(), originalMessage = event.getMessage();
|
||||||
@@ -0,0 +0,0 @@ public class ServerGamePacketListenerImpl extends ServerCommonPacketListenerImpl
|
@@ -0,0 +0,0 @@ public class ServerGamePacketListenerImpl extends ServerCommonPacketListenerImpl
|
||||||
public void handleClientInformation(ServerboundClientInformationPacket packet) {
|
boolean flag = this.player.isModelPartShown(PlayerModelPart.HAT);
|
||||||
PacketUtils.ensureRunningOnSameThread(packet, this, this.player.serverLevel());
|
|
||||||
this.player.updateOptions(packet.information());
|
this.player.updateOptions(packet.information());
|
||||||
+ this.connection.channel.attr(io.papermc.paper.adventure.PaperAdventure.LOCALE_ATTRIBUTE).set(net.kyori.adventure.translation.Translator.parseLocale(packet.information().language())); // Paper
|
+ this.connection.channel.attr(io.papermc.paper.adventure.PaperAdventure.LOCALE_ATTRIBUTE).set(net.kyori.adventure.translation.Translator.parseLocale(packet.information().language())); // Paper
|
||||||
}
|
if (this.player.isModelPartShown(PlayerModelPart.HAT) != flag) {
|
||||||
|
this.server.getPlayerList().broadcastAll(new ClientboundPlayerInfoUpdatePacket(ClientboundPlayerInfoUpdatePacket.Action.UPDATE_HAT, this.player));
|
||||||
@Override
|
}
|
||||||
diff --git a/src/main/java/net/minecraft/server/network/ServerLoginPacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerLoginPacketListenerImpl.java
|
diff --git a/src/main/java/net/minecraft/server/network/ServerLoginPacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerLoginPacketListenerImpl.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
--- a/src/main/java/net/minecraft/server/network/ServerLoginPacketListenerImpl.java
|
--- a/src/main/java/net/minecraft/server/network/ServerLoginPacketListenerImpl.java
|
@ -16,13 +16,13 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(":paper-api"))
|
implementation(project(":paper-api"))
|
||||||
implementation("jline:jline:2.12.1")
|
implementation("jline:jline:2.12.1")
|
||||||
- implementation("org.apache.logging.log4j:log4j-iostreams:2.22.1") {
|
- implementation("org.apache.logging.log4j:log4j-iostreams:2.24.1") {
|
||||||
- exclude(group = "org.apache.logging.log4j", module = "log4j-api")
|
- exclude(group = "org.apache.logging.log4j", module = "log4j-api")
|
||||||
- }
|
- }
|
||||||
+ implementation("org.apache.logging.log4j:log4j-iostreams:2.22.1") // Paper - remove exclusion
|
+ implementation("org.apache.logging.log4j:log4j-iostreams:2.24.1") // Paper - remove exclusion
|
||||||
implementation("org.ow2.asm:asm-commons:9.7.1")
|
implementation("org.ow2.asm:asm-commons:9.7.1")
|
||||||
implementation("commons-lang:commons-lang:2.6")
|
implementation("commons-lang:commons-lang:2.6")
|
||||||
runtimeOnly("org.xerial:sqlite-jdbc:3.46.1.3")
|
runtimeOnly("org.xerial:sqlite-jdbc:3.47.0.0")
|
||||||
@@ -0,0 +0,0 @@ tasks.jar {
|
@@ -0,0 +0,0 @@ tasks.jar {
|
||||||
val gitHash = git("rev-parse", "--short=7", "HEAD").getText().trim()
|
val gitHash = git("rev-parse", "--short=7", "HEAD").getText().trim()
|
||||||
val implementationVersion = System.getenv("BUILD_NUMBER") ?: "\"$gitHash\""
|
val implementationVersion = System.getenv("BUILD_NUMBER") ?: "\"$gitHash\""
|
||||||
@ -142,7 +142,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
+ Date buildDate = new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ss Z").parse(Main.class.getPackage().getImplementationVendor()); // Paper
|
+ Date buildDate = new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ss Z").parse(Main.class.getPackage().getImplementationVendor()); // Paper
|
||||||
|
|
||||||
Calendar deadline = Calendar.getInstance();
|
Calendar deadline = Calendar.getInstance();
|
||||||
deadline.add(Calendar.DAY_OF_YEAR, -14);
|
deadline.add(Calendar.DAY_OF_YEAR, -2);
|
||||||
diff --git a/src/main/java/org/bukkit/craftbukkit/util/Versioning.java b/src/main/java/org/bukkit/craftbukkit/util/Versioning.java
|
diff --git a/src/main/java/org/bukkit/craftbukkit/util/Versioning.java b/src/main/java/org/bukkit/craftbukkit/util/Versioning.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
--- a/src/main/java/org/bukkit/craftbukkit/util/Versioning.java
|
--- a/src/main/java/org/bukkit/craftbukkit/util/Versioning.java
|
@ -21,12 +21,11 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
}
|
}
|
||||||
|
|
||||||
- this.containerMenu.broadcastChanges();
|
- this.containerMenu.broadcastChanges();
|
||||||
+ // Paper start - Configurable container update tick rate
|
+ if (--this.containerUpdateDelay <= 0) {
|
||||||
+ if (--containerUpdateDelay <= 0) {
|
|
||||||
+ this.containerMenu.broadcastChanges();
|
+ this.containerMenu.broadcastChanges();
|
||||||
+ containerUpdateDelay = this.level().paperConfig().tickRates.containerUpdate;
|
+ this.containerUpdateDelay = this.level().paperConfig().tickRates.containerUpdate;
|
||||||
+ }
|
+ }
|
||||||
+ // Paper end - Configurable container update tick rate
|
+ // Paper end - Configurable container update tick rate
|
||||||
if (!this.level().isClientSide && !this.containerMenu.stillValid(this)) {
|
if (!this.containerMenu.stillValid(this)) {
|
||||||
this.closeContainer();
|
this.closeContainer();
|
||||||
this.containerMenu = this.inventoryMenu;
|
this.containerMenu = this.inventoryMenu;
|
@ -671,7 +671,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
public static boolean useConsole = true;
|
public static boolean useConsole = true;
|
||||||
|
|
||||||
@@ -0,0 +0,0 @@ public class Main {
|
@@ -0,0 +0,0 @@ public class Main {
|
||||||
deadline.add(Calendar.DAY_OF_YEAR, -14);
|
deadline.add(Calendar.DAY_OF_YEAR, -2);
|
||||||
if (buildDate.before(deadline.getTime())) {
|
if (buildDate.before(deadline.getTime())) {
|
||||||
System.err.println("*** Error, this build is outdated ***");
|
System.err.println("*** Error, this build is outdated ***");
|
||||||
- System.err.println("*** Please download a new build as per instructions from https://www.spigotmc.org/go/outdated-spigot ***");
|
- System.err.println("*** Please download a new build as per instructions from https://www.spigotmc.org/go/outdated-spigot ***");
|
@ -169,7 +169,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
@@ -0,0 +0,0 @@ class CraftMetaItem implements ItemMeta, Damageable, Repairable, BlockDataMeta {
|
@@ -0,0 +0,0 @@ class CraftMetaItem implements ItemMeta, Damageable, Repairable, BlockDataMeta {
|
||||||
private Integer customModelData;
|
private CraftCustomModelDataComponent customModelData;
|
||||||
private Integer enchantableValue;
|
private Integer enchantableValue;
|
||||||
private Map<String, String> blockData;
|
private Map<String, String> blockData;
|
||||||
- private Map<Enchantment, Integer> enchantments;
|
- private Map<Enchantment, Integer> enchantments;
|
@ -135,19 +135,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
return SoundEvents.DOLPHIN_DEATH;
|
return SoundEvents.DOLPHIN_DEATH;
|
||||||
}
|
}
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/world/entity/monster/Pillager.java b/src/main/java/net/minecraft/world/entity/monster/Pillager.java
|
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
|
||||||
--- a/src/main/java/net/minecraft/world/entity/monster/Pillager.java
|
|
||||||
+++ b/src/main/java/net/minecraft/world/entity/monster/Pillager.java
|
|
||||||
@@ -0,0 +0,0 @@ public class Pillager extends AbstractIllager implements CrossbowAttackMob, Inve
|
|
||||||
super.registerGoals();
|
|
||||||
this.goalSelector.addGoal(0, new FloatGoal(this));
|
|
||||||
this.goalSelector.addGoal(1, new AvoidEntityGoal<>(this, Creaking.class, 8.0F, 1.0D, 1.2D));
|
|
||||||
- this.goalSelector.addGoal(2, new Raider.HoldGroundAttackGoal(this, this, 10.0F));
|
|
||||||
+ this.goalSelector.addGoal(2, new Raider.HoldGroundAttackGoal(this, 10.0F)); // Paper - decomp fix
|
|
||||||
this.goalSelector.addGoal(3, new RangedCrossbowAttackGoal<>(this, 1.0D, 8.0F));
|
|
||||||
this.goalSelector.addGoal(8, new RandomStrollGoal(this, 0.6D));
|
|
||||||
this.goalSelector.addGoal(9, new LookAtPlayerGoal(this, Player.class, 15.0F, 1.0F));
|
|
||||||
diff --git a/src/main/java/net/minecraft/world/level/chunk/status/ChunkStatusTasks.java b/src/main/java/net/minecraft/world/level/chunk/status/ChunkStatusTasks.java
|
diff --git a/src/main/java/net/minecraft/world/level/chunk/status/ChunkStatusTasks.java b/src/main/java/net/minecraft/world/level/chunk/status/ChunkStatusTasks.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
--- a/src/main/java/net/minecraft/world/level/chunk/status/ChunkStatusTasks.java
|
--- a/src/main/java/net/minecraft/world/level/chunk/status/ChunkStatusTasks.java
|
@ -5506,8 +5506,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void removeTicketsOnClosing() {
|
public void removeTicketsOnClosing() {
|
||||||
- ImmutableSet<TicketType<?>> immutableset = ImmutableSet.of(TicketType.UNKNOWN, TicketType.POST_TELEPORT);
|
- ImmutableSet<TicketType<?>> immutableset = ImmutableSet.of(TicketType.UNKNOWN);
|
||||||
+ ImmutableSet<TicketType<?>> immutableset = ImmutableSet.of(TicketType.UNKNOWN, TicketType.POST_TELEPORT, TicketType.FUTURE_AWAIT); // Paper - add additional tickets to preserve
|
+ ImmutableSet<TicketType<?>> immutableset = ImmutableSet.of(TicketType.UNKNOWN, TicketType.FUTURE_AWAIT); // Paper - add additional tickets to preserve
|
||||||
ObjectIterator<Entry<SortedArraySet<Ticket<?>>>> objectiterator = this.tickets.long2ObjectEntrySet().fastIterator();
|
ObjectIterator<Entry<SortedArraySet<Ticket<?>>>> objectiterator = this.tickets.long2ObjectEntrySet().fastIterator();
|
||||||
|
|
||||||
while (objectiterator.hasNext()) {
|
while (objectiterator.hasNext()) {
|
||||||
@ -6185,7 +6185,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
+
|
+
|
||||||
public LevelChunk(ServerLevel world, ProtoChunk protoChunk, @Nullable LevelChunk.PostLoadProcessor entityLoader) {
|
public LevelChunk(ServerLevel world, ProtoChunk protoChunk, @Nullable LevelChunk.PostLoadProcessor entityLoader) {
|
||||||
this(world, protoChunk.getPos(), protoChunk.getUpgradeData(), protoChunk.unpackBlockTicks(), protoChunk.unpackFluidTicks(), protoChunk.getInhabitedTime(), protoChunk.getSections(), entityLoader, protoChunk.getBlendingData());
|
this(world, protoChunk.getPos(), protoChunk.getUpgradeData(), protoChunk.unpackBlockTicks(), protoChunk.unpackFluidTicks(), protoChunk.getInhabitedTime(), protoChunk.getSections(), entityLoader, protoChunk.getBlendingData());
|
||||||
Iterator iterator = protoChunk.getBlockEntities().values().iterator();
|
if (!Collections.disjoint(protoChunk.pendingBlockEntities.keySet(), protoChunk.blockEntities.keySet())) {
|
||||||
@@ -0,0 +0,0 @@ public class LevelChunk extends ChunkAccess {
|
@@ -0,0 +0,0 @@ public class LevelChunk extends ChunkAccess {
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -20,11 +20,11 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
+++ b/build.gradle.kts
|
+++ b/build.gradle.kts
|
||||||
@@ -0,0 +0,0 @@ dependencies {
|
@@ -0,0 +0,0 @@ dependencies {
|
||||||
implementation("jline:jline:2.12.1")
|
implementation("jline:jline:2.12.1")
|
||||||
implementation("org.apache.logging.log4j:log4j-iostreams:2.22.1") // Paper - remove exclusion
|
implementation("org.apache.logging.log4j:log4j-iostreams:2.24.1") // Paper - remove exclusion
|
||||||
implementation("org.ow2.asm:asm-commons:9.7.1")
|
implementation("org.ow2.asm:asm-commons:9.7.1")
|
||||||
+ implementation("org.spongepowered:configurate-yaml:4.2.0-SNAPSHOT") // Paper - config files
|
+ implementation("org.spongepowered:configurate-yaml:4.2.0-SNAPSHOT") // Paper - config files
|
||||||
implementation("commons-lang:commons-lang:2.6")
|
implementation("commons-lang:commons-lang:2.6")
|
||||||
runtimeOnly("org.xerial:sqlite-jdbc:3.46.1.3")
|
runtimeOnly("org.xerial:sqlite-jdbc:3.47.0.0")
|
||||||
runtimeOnly("com.mysql:mysql-connector-j:9.1.0")
|
runtimeOnly("com.mysql:mysql-connector-j:9.1.0")
|
||||||
diff --git a/src/main/java/com/destroystokyo/paper/PaperConfig.java b/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
diff --git a/src/main/java/com/destroystokyo/paper/PaperConfig.java b/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
||||||
new file mode 100644
|
new file mode 100644
|
@ -42,12 +42,12 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
+dependencies {
|
+dependencies {
|
||||||
+ implementation(project(":paper-api"))
|
+ implementation(project(":paper-api"))
|
||||||
+ implementation("jline:jline:2.12.1")
|
+ implementation("jline:jline:2.12.1")
|
||||||
+ implementation("org.apache.logging.log4j:log4j-iostreams:2.22.1") {
|
+ implementation("org.apache.logging.log4j:log4j-iostreams:2.24.1") {
|
||||||
+ exclude(group = "org.apache.logging.log4j", module = "log4j-api")
|
+ exclude(group = "org.apache.logging.log4j", module = "log4j-api")
|
||||||
+ }
|
+ }
|
||||||
+ implementation("org.ow2.asm:asm-commons:9.7.1")
|
+ implementation("org.ow2.asm:asm-commons:9.7.1")
|
||||||
+ implementation("commons-lang:commons-lang:2.6")
|
+ implementation("commons-lang:commons-lang:2.6")
|
||||||
+ runtimeOnly("org.xerial:sqlite-jdbc:3.46.1.3")
|
+ runtimeOnly("org.xerial:sqlite-jdbc:3.47.0.0")
|
||||||
+ runtimeOnly("com.mysql:mysql-connector-j:9.1.0")
|
+ runtimeOnly("com.mysql:mysql-connector-j:9.1.0")
|
||||||
+
|
+
|
||||||
+ runtimeOnly("org.apache.maven:maven-resolver-provider:3.9.6")
|
+ runtimeOnly("org.apache.maven:maven-resolver-provider:3.9.6")
|
||||||
@ -62,7 +62,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
+}
|
+}
|
||||||
+
|
+
|
||||||
+paperweight {
|
+paperweight {
|
||||||
+ craftBukkitPackageVersion.set("v1_21_R2") // also needs to be updated in MappingEnvironment
|
+ craftBukkitPackageVersion.set("v1_21_R3") // also needs to be updated in MappingEnvironment
|
||||||
+}
|
+}
|
||||||
+
|
+
|
||||||
+tasks.jar {
|
+tasks.jar {
|
||||||
@ -175,7 +175,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
- <groupId>org.spigotmc</groupId>
|
- <groupId>org.spigotmc</groupId>
|
||||||
- <artifactId>spigot</artifactId>
|
- <artifactId>spigot</artifactId>
|
||||||
- <packaging>jar</packaging>
|
- <packaging>jar</packaging>
|
||||||
- <version>1.21.3-R0.1-SNAPSHOT</version>
|
- <version>1.21.4-R0.1-SNAPSHOT</version>
|
||||||
- <name>Spigot</name>
|
- <name>Spigot</name>
|
||||||
- <url>https://www.spigotmc.org/</url>
|
- <url>https://www.spigotmc.org/</url>
|
||||||
-
|
-
|
||||||
@ -192,7 +192,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
- <api.version>unknown</api.version>
|
- <api.version>unknown</api.version>
|
||||||
- <bt.name>git</bt.name>
|
- <bt.name>git</bt.name>
|
||||||
- <minecraft_version>1_21_R2</minecraft_version>
|
- <minecraft_version>1_21_R3</minecraft_version>
|
||||||
- <maven.compiler.release>21</maven.compiler.release>
|
- <maven.compiler.release>21</maven.compiler.release>
|
||||||
- </properties>
|
- </properties>
|
||||||
-
|
-
|
||||||
@ -226,7 +226,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
- <dependency>
|
- <dependency>
|
||||||
- <groupId>org.apache.logging.log4j</groupId>
|
- <groupId>org.apache.logging.log4j</groupId>
|
||||||
- <artifactId>log4j-iostreams</artifactId>
|
- <artifactId>log4j-iostreams</artifactId>
|
||||||
- <version>2.22.1</version>
|
- <version>2.24.1</version>
|
||||||
- <scope>compile</scope>
|
- <scope>compile</scope>
|
||||||
- </dependency>
|
- </dependency>
|
||||||
- <dependency>
|
- <dependency>
|
||||||
@ -257,7 +257,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
- <dependency>
|
- <dependency>
|
||||||
- <groupId>com.github.oshi</groupId>
|
- <groupId>com.github.oshi</groupId>
|
||||||
- <artifactId>oshi-core</artifactId>
|
- <artifactId>oshi-core</artifactId>
|
||||||
- <version>6.4.10</version>
|
- <version>6.6.5</version>
|
||||||
- <scope>compile</scope>
|
- <scope>compile</scope>
|
||||||
- </dependency>
|
- </dependency>
|
||||||
- <dependency>
|
- <dependency>
|
||||||
@ -269,13 +269,13 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
- <dependency>
|
- <dependency>
|
||||||
- <groupId>com.microsoft.azure</groupId>
|
- <groupId>com.microsoft.azure</groupId>
|
||||||
- <artifactId>msal4j</artifactId>
|
- <artifactId>msal4j</artifactId>
|
||||||
- <version>1.15.0</version>
|
- <version>1.17.2</version>
|
||||||
- <scope>compile</scope>
|
- <scope>compile</scope>
|
||||||
- </dependency>
|
- </dependency>
|
||||||
- <dependency>
|
- <dependency>
|
||||||
- <groupId>com.mojang</groupId>
|
- <groupId>com.mojang</groupId>
|
||||||
- <artifactId>authlib</artifactId>
|
- <artifactId>authlib</artifactId>
|
||||||
- <version>6.0.55</version>
|
- <version>6.0.57</version>
|
||||||
- <scope>compile</scope>
|
- <scope>compile</scope>
|
||||||
- </dependency>
|
- </dependency>
|
||||||
- <dependency>
|
- <dependency>
|
||||||
@ -299,7 +299,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
- <dependency>
|
- <dependency>
|
||||||
- <groupId>com.mojang</groupId>
|
- <groupId>com.mojang</groupId>
|
||||||
- <artifactId>logging</artifactId>
|
- <artifactId>logging</artifactId>
|
||||||
- <version>1.4.9</version>
|
- <version>1.5.10</version>
|
||||||
- <scope>compile</scope>
|
- <scope>compile</scope>
|
||||||
- </dependency>
|
- </dependency>
|
||||||
- <dependency>
|
- <dependency>
|
||||||
@ -317,111 +317,111 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
- <dependency>
|
- <dependency>
|
||||||
- <groupId>com.nimbusds</groupId>
|
- <groupId>com.nimbusds</groupId>
|
||||||
- <artifactId>nimbus-jose-jwt</artifactId>
|
- <artifactId>nimbus-jose-jwt</artifactId>
|
||||||
- <version>9.37.3</version>
|
- <version>9.40</version>
|
||||||
- <scope>compile</scope>
|
- <scope>compile</scope>
|
||||||
- </dependency>
|
- </dependency>
|
||||||
- <dependency>
|
- <dependency>
|
||||||
- <groupId>com.nimbusds</groupId>
|
- <groupId>com.nimbusds</groupId>
|
||||||
- <artifactId>oauth2-oidc-sdk</artifactId>
|
- <artifactId>oauth2-oidc-sdk</artifactId>
|
||||||
- <version>11.9.1</version>
|
- <version>11.18</version>
|
||||||
- <scope>compile</scope>
|
- <scope>compile</scope>
|
||||||
- </dependency>
|
- </dependency>
|
||||||
- <dependency>
|
- <dependency>
|
||||||
- <groupId>commons-io</groupId>
|
- <groupId>commons-io</groupId>
|
||||||
- <artifactId>commons-io</artifactId>
|
- <artifactId>commons-io</artifactId>
|
||||||
- <version>2.15.1</version>
|
- <version>2.17.0</version>
|
||||||
- <scope>compile</scope>
|
- <scope>compile</scope>
|
||||||
- </dependency>
|
- </dependency>
|
||||||
- <dependency>
|
- <dependency>
|
||||||
- <groupId>io.netty</groupId>
|
- <groupId>io.netty</groupId>
|
||||||
- <artifactId>netty-buffer</artifactId>
|
- <artifactId>netty-buffer</artifactId>
|
||||||
- <version>4.1.97.Final</version>
|
- <version>4.1.115.Final</version>
|
||||||
- <scope>compile</scope>
|
- <scope>compile</scope>
|
||||||
- </dependency>
|
- </dependency>
|
||||||
- <dependency>
|
- <dependency>
|
||||||
- <groupId>io.netty</groupId>
|
- <groupId>io.netty</groupId>
|
||||||
- <artifactId>netty-codec</artifactId>
|
- <artifactId>netty-codec</artifactId>
|
||||||
- <version>4.1.97.Final</version>
|
- <version>4.1.115.Final</version>
|
||||||
- <scope>compile</scope>
|
- <scope>compile</scope>
|
||||||
- </dependency>
|
- </dependency>
|
||||||
- <dependency>
|
- <dependency>
|
||||||
- <groupId>io.netty</groupId>
|
- <groupId>io.netty</groupId>
|
||||||
- <artifactId>netty-common</artifactId>
|
- <artifactId>netty-common</artifactId>
|
||||||
- <version>4.1.97.Final</version>
|
- <version>4.1.115.Final</version>
|
||||||
- <scope>compile</scope>
|
- <scope>compile</scope>
|
||||||
- </dependency>
|
- </dependency>
|
||||||
- <dependency>
|
- <dependency>
|
||||||
- <groupId>io.netty</groupId>
|
- <groupId>io.netty</groupId>
|
||||||
- <artifactId>netty-handler</artifactId>
|
- <artifactId>netty-handler</artifactId>
|
||||||
- <version>4.1.97.Final</version>
|
- <version>4.1.115.Final</version>
|
||||||
- <scope>compile</scope>
|
- <scope>compile</scope>
|
||||||
- </dependency>
|
- </dependency>
|
||||||
- <dependency>
|
- <dependency>
|
||||||
- <groupId>io.netty</groupId>
|
- <groupId>io.netty</groupId>
|
||||||
- <artifactId>netty-resolver</artifactId>
|
- <artifactId>netty-resolver</artifactId>
|
||||||
- <version>4.1.97.Final</version>
|
- <version>4.1.115.Final</version>
|
||||||
- <scope>compile</scope>
|
- <scope>compile</scope>
|
||||||
- </dependency>
|
- </dependency>
|
||||||
- <dependency>
|
- <dependency>
|
||||||
- <groupId>io.netty</groupId>
|
- <groupId>io.netty</groupId>
|
||||||
- <artifactId>netty-transport</artifactId>
|
- <artifactId>netty-transport</artifactId>
|
||||||
- <version>4.1.97.Final</version>
|
- <version>4.1.115.Final</version>
|
||||||
- <scope>compile</scope>
|
- <scope>compile</scope>
|
||||||
- </dependency>
|
- </dependency>
|
||||||
- <dependency>
|
- <dependency>
|
||||||
- <groupId>io.netty</groupId>
|
- <groupId>io.netty</groupId>
|
||||||
- <artifactId>netty-transport-classes-epoll</artifactId>
|
- <artifactId>netty-transport-classes-epoll</artifactId>
|
||||||
- <version>4.1.97.Final</version>
|
- <version>4.1.115.Final</version>
|
||||||
- <scope>compile</scope>
|
- <scope>compile</scope>
|
||||||
- </dependency>
|
- </dependency>
|
||||||
- <dependency>
|
- <dependency>
|
||||||
- <groupId>io.netty</groupId>
|
- <groupId>io.netty</groupId>
|
||||||
- <artifactId>netty-transport-native-epoll</artifactId>
|
- <artifactId>netty-transport-native-epoll</artifactId>
|
||||||
- <version>4.1.97.Final</version>
|
- <version>4.1.115.Final</version>
|
||||||
- <classifier>linux-x86_64</classifier>
|
- <classifier>linux-x86_64</classifier>
|
||||||
- <scope>compile</scope>
|
- <scope>compile</scope>
|
||||||
- </dependency>
|
- </dependency>
|
||||||
- <dependency>
|
- <dependency>
|
||||||
- <groupId>io.netty</groupId>
|
- <groupId>io.netty</groupId>
|
||||||
- <artifactId>netty-transport-native-epoll</artifactId>
|
- <artifactId>netty-transport-native-epoll</artifactId>
|
||||||
- <version>4.1.97.Final</version>
|
- <version>4.1.115.Final</version>
|
||||||
- <classifier>linux-aarch_64</classifier>
|
- <classifier>linux-aarch_64</classifier>
|
||||||
- <scope>compile</scope>
|
- <scope>compile</scope>
|
||||||
- </dependency>
|
- </dependency>
|
||||||
- <dependency>
|
- <dependency>
|
||||||
- <groupId>io.netty</groupId>
|
- <groupId>io.netty</groupId>
|
||||||
- <artifactId>netty-transport-native-unix-common</artifactId>
|
- <artifactId>netty-transport-native-unix-common</artifactId>
|
||||||
- <version>4.1.97.Final</version>
|
- <version>4.1.115.Final</version>
|
||||||
- <scope>compile</scope>
|
- <scope>compile</scope>
|
||||||
- </dependency>
|
- </dependency>
|
||||||
- <dependency>
|
- <dependency>
|
||||||
- <groupId>it.unimi.dsi</groupId>
|
- <groupId>it.unimi.dsi</groupId>
|
||||||
- <artifactId>fastutil</artifactId>
|
- <artifactId>fastutil</artifactId>
|
||||||
- <version>8.5.12</version>
|
- <version>8.5.15</version>
|
||||||
- <scope>compile</scope>
|
- <scope>compile</scope>
|
||||||
- </dependency>
|
- </dependency>
|
||||||
- <dependency>
|
- <dependency>
|
||||||
- <groupId>net.java.dev.jna</groupId>
|
- <groupId>net.java.dev.jna</groupId>
|
||||||
- <artifactId>jna</artifactId>
|
- <artifactId>jna</artifactId>
|
||||||
- <version>5.14.0</version>
|
- <version>5.15.0</version>
|
||||||
- <scope>compile</scope>
|
- <scope>compile</scope>
|
||||||
- </dependency>
|
- </dependency>
|
||||||
- <dependency>
|
- <dependency>
|
||||||
- <groupId>net.java.dev.jna</groupId>
|
- <groupId>net.java.dev.jna</groupId>
|
||||||
- <artifactId>jna-platform</artifactId>
|
- <artifactId>jna-platform</artifactId>
|
||||||
- <version>5.14.0</version>
|
- <version>5.15.0</version>
|
||||||
- <scope>compile</scope>
|
- <scope>compile</scope>
|
||||||
- </dependency>
|
- </dependency>
|
||||||
- <dependency>
|
- <dependency>
|
||||||
- <groupId>net.minidev</groupId>
|
- <groupId>net.minidev</groupId>
|
||||||
- <artifactId>accessors-smart</artifactId>
|
- <artifactId>accessors-smart</artifactId>
|
||||||
- <version>2.5.0</version>
|
- <version>2.5.1</version>
|
||||||
- <scope>compile</scope>
|
- <scope>compile</scope>
|
||||||
- </dependency>
|
- </dependency>
|
||||||
- <dependency>
|
- <dependency>
|
||||||
- <groupId>net.minidev</groupId>
|
- <groupId>net.minidev</groupId>
|
||||||
- <artifactId>json-smart</artifactId>
|
- <artifactId>json-smart</artifactId>
|
||||||
- <version>2.5.0</version>
|
- <version>2.5.1</version>
|
||||||
- <scope>compile</scope>
|
- <scope>compile</scope>
|
||||||
- </dependency>
|
- </dependency>
|
||||||
- <dependency>
|
- <dependency>
|
||||||
@ -433,25 +433,25 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
- <dependency>
|
- <dependency>
|
||||||
- <groupId>org.apache.commons</groupId>
|
- <groupId>org.apache.commons</groupId>
|
||||||
- <artifactId>commons-lang3</artifactId>
|
- <artifactId>commons-lang3</artifactId>
|
||||||
- <version>3.14.0</version>
|
- <version>3.17.0</version>
|
||||||
- <scope>compile</scope>
|
- <scope>compile</scope>
|
||||||
- </dependency>
|
- </dependency>
|
||||||
- <dependency>
|
- <dependency>
|
||||||
- <groupId>org.apache.logging.log4j</groupId>
|
- <groupId>org.apache.logging.log4j</groupId>
|
||||||
- <artifactId>log4j-api</artifactId>
|
- <artifactId>log4j-api</artifactId>
|
||||||
- <version>2.22.1</version>
|
- <version>2.24.1</version>
|
||||||
- <scope>compile</scope>
|
- <scope>compile</scope>
|
||||||
- </dependency>
|
- </dependency>
|
||||||
- <dependency>
|
- <dependency>
|
||||||
- <groupId>org.apache.logging.log4j</groupId>
|
- <groupId>org.apache.logging.log4j</groupId>
|
||||||
- <artifactId>log4j-core</artifactId>
|
- <artifactId>log4j-core</artifactId>
|
||||||
- <version>2.22.1</version>
|
- <version>2.24.1</version>
|
||||||
- <scope>compile</scope>
|
- <scope>compile</scope>
|
||||||
- </dependency>
|
- </dependency>
|
||||||
- <dependency>
|
- <dependency>
|
||||||
- <groupId>org.apache.logging.log4j</groupId>
|
- <groupId>org.apache.logging.log4j</groupId>
|
||||||
- <artifactId>log4j-slf4j2-impl</artifactId>
|
- <artifactId>log4j-slf4j2-impl</artifactId>
|
||||||
- <version>2.22.1</version>
|
- <version>2.24.1</version>
|
||||||
- <scope>compile</scope>
|
- <scope>compile</scope>
|
||||||
- </dependency>
|
- </dependency>
|
||||||
- <dependency>
|
- <dependency>
|
||||||
@ -463,7 +463,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
- <dependency>
|
- <dependency>
|
||||||
- <groupId>org.slf4j</groupId>
|
- <groupId>org.slf4j</groupId>
|
||||||
- <artifactId>slf4j-api</artifactId>
|
- <artifactId>slf4j-api</artifactId>
|
||||||
- <version>2.0.9</version>
|
- <version>2.0.16</version>
|
||||||
- <scope>compile</scope>
|
- <scope>compile</scope>
|
||||||
- </dependency>
|
- </dependency>
|
||||||
- <!-- End Mojang depends -->
|
- <!-- End Mojang depends -->
|
||||||
@ -490,7 +490,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
- <dependency>
|
- <dependency>
|
||||||
- <groupId>org.xerial</groupId>
|
- <groupId>org.xerial</groupId>
|
||||||
- <artifactId>sqlite-jdbc</artifactId>
|
- <artifactId>sqlite-jdbc</artifactId>
|
||||||
- <version>3.46.1.3</version>
|
- <version>3.47.0.0</version>
|
||||||
- <scope>runtime</scope>
|
- <scope>runtime</scope>
|
||||||
- </dependency>
|
- </dependency>
|
||||||
- <dependency>
|
- <dependency>
|
||||||
|
@ -10,7 +10,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
+++ b/build.gradle.kts
|
+++ b/build.gradle.kts
|
||||||
@@ -0,0 +0,0 @@ dependencies {
|
@@ -0,0 +0,0 @@ dependencies {
|
||||||
implementation("commons-lang:commons-lang:2.6")
|
implementation("commons-lang:commons-lang:2.6")
|
||||||
runtimeOnly("org.xerial:sqlite-jdbc:3.46.1.3")
|
runtimeOnly("org.xerial:sqlite-jdbc:3.47.0.0")
|
||||||
runtimeOnly("com.mysql:mysql-connector-j:9.1.0")
|
runtimeOnly("com.mysql:mysql-connector-j:9.1.0")
|
||||||
+ runtimeOnly("com.lmax:disruptor:3.4.4") // Paper
|
+ runtimeOnly("com.lmax:disruptor:3.4.4") // Paper
|
||||||
|
|
@ -62,7 +62,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
+ runtimeOnly(log4jPlugins.output)
|
+ runtimeOnly(log4jPlugins.output)
|
||||||
+ alsoShade(log4jPlugins.output)
|
+ alsoShade(log4jPlugins.output)
|
||||||
+ // Paper end
|
+ // Paper end
|
||||||
implementation("org.apache.logging.log4j:log4j-iostreams:2.22.1") // Paper - remove exclusion
|
implementation("org.apache.logging.log4j:log4j-iostreams:2.24.1") // Paper - remove exclusion
|
||||||
implementation("org.ow2.asm:asm-commons:9.7.1")
|
implementation("org.ow2.asm:asm-commons:9.7.1")
|
||||||
implementation("org.spongepowered:configurate-yaml:4.2.0-SNAPSHOT") // Paper - config files
|
implementation("org.spongepowered:configurate-yaml:4.2.0-SNAPSHOT") // Paper - config files
|
||||||
@@ -0,0 +0,0 @@ tasks.check {
|
@@ -0,0 +0,0 @@ tasks.check {
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user