Use commit hash for beta builds

This commit is contained in:
= 2024-12-14 23:51:43 +02:00
parent cb4ad5ec6f
commit c3f5a69bca
7 changed files with 17 additions and 6 deletions

View file

@ -4,6 +4,10 @@ import net.kyori.adventure.util.RGBLike;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Range;
/*
@Deprecated: My PR for this was accepted a while ago into PacketEvents, 3.0 will convert to the packet events version of this class.
*/
@Deprecated
public final class Color implements RGBLike {
private static final int BIT_MASK = 0xFF;

View file

@ -3,6 +3,9 @@ package me.tofaa.entitylib.extras;
import net.kyori.adventure.util.RGBLike;
import org.jetbrains.annotations.NotNull;
/*
@Deprecated: My PR for this was accepted a while ago into PacketEvents, 3.0 will convert to the packet events version of this class.
*/
@Deprecated
public enum DyeColor implements RGBLike {
WHITE(new Color(0xf9fffe), new Color(0xffffff), new Color(0xf0f0f0), 8),

View file

@ -1,5 +1,9 @@
package me.tofaa.entitylib.extras;
/*
@Deprecated: My PR for this was accepted a while ago into PacketEvents, 3.0 will convert to the packet events version of this class.
*/
@Deprecated
public enum Rotation {
/**

View file

@ -6,8 +6,8 @@ import java.util.List;
import java.util.UUID;
/**
* Represents a interface that fetches the skin of a player.
* This class is non static, you should create and store an instance of it.
* Represents an interface that fetches the skin of a player.
* This class is non-static, you should create and store an instance of it.
* Creating one should be done using the builder. SkinFetcher is synchronous. You must handle that yourself.
*/
public interface SkinFetcher {

View file

@ -60,7 +60,7 @@ publishing {
create<MavenPublication>("EntityLib") {
groupId = project.group as String
artifactId = project.name
version = rootProject.ext["versionNoHash"] as String
version = rootProject.ext["version"] as String
from(components["java"])
pom {

View file

@ -49,12 +49,12 @@ public abstract class AbstractPlatform<P> implements Platform<P> {
}
@Override
public void setEntityIdProvider(EntityIdProvider entityIdProvider) {
public void setEntityIdProvider(@NotNull EntityIdProvider entityIdProvider) {
this.entityIdProvider = entityIdProvider;
}
@Override
public void setEntityUuidProvider(EntityUuidProvider entityUuidProvider) {
public void setEntityUuidProvider(@NotNull EntityUuidProvider entityUuidProvider) {
this.entityUuidProvider = entityUuidProvider;
}

View file

@ -21,7 +21,7 @@ tasks {
// 1.17 = Java 16
// 1.18 - 1.20.4 = Java 17
// 1-20.5+ = Java 21
val version = "1.21"
val version = "1.21.3"
val javaVersion = JavaLanguageVersion.of(21)
val jvmArgsExternal = listOf(