Use commit hash for beta builds
This commit is contained in:
parent
cb4ad5ec6f
commit
c3f5a69bca
7 changed files with 17 additions and 6 deletions
|
@ -4,6 +4,10 @@ import net.kyori.adventure.util.RGBLike;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
import org.jetbrains.annotations.Range;
|
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 {
|
public final class Color implements RGBLike {
|
||||||
|
|
||||||
private static final int BIT_MASK = 0xFF;
|
private static final int BIT_MASK = 0xFF;
|
||||||
|
|
|
@ -3,6 +3,9 @@ package me.tofaa.entitylib.extras;
|
||||||
import net.kyori.adventure.util.RGBLike;
|
import net.kyori.adventure.util.RGBLike;
|
||||||
import org.jetbrains.annotations.NotNull;
|
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
|
@Deprecated
|
||||||
public enum DyeColor implements RGBLike {
|
public enum DyeColor implements RGBLike {
|
||||||
WHITE(new Color(0xf9fffe), new Color(0xffffff), new Color(0xf0f0f0), 8),
|
WHITE(new Color(0xf9fffe), new Color(0xffffff), new Color(0xf0f0f0), 8),
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
package me.tofaa.entitylib.extras;
|
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 {
|
public enum Rotation {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -6,8 +6,8 @@ import java.util.List;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents a interface that fetches the skin of a player.
|
* Represents an interface that fetches the skin of a player.
|
||||||
* This class is non static, you should create and store an instance of it.
|
* 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.
|
* Creating one should be done using the builder. SkinFetcher is synchronous. You must handle that yourself.
|
||||||
*/
|
*/
|
||||||
public interface SkinFetcher {
|
public interface SkinFetcher {
|
||||||
|
|
|
@ -60,7 +60,7 @@ publishing {
|
||||||
create<MavenPublication>("EntityLib") {
|
create<MavenPublication>("EntityLib") {
|
||||||
groupId = project.group as String
|
groupId = project.group as String
|
||||||
artifactId = project.name
|
artifactId = project.name
|
||||||
version = rootProject.ext["versionNoHash"] as String
|
version = rootProject.ext["version"] as String
|
||||||
from(components["java"])
|
from(components["java"])
|
||||||
|
|
||||||
pom {
|
pom {
|
||||||
|
|
|
@ -49,12 +49,12 @@ public abstract class AbstractPlatform<P> implements Platform<P> {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setEntityIdProvider(EntityIdProvider entityIdProvider) {
|
public void setEntityIdProvider(@NotNull EntityIdProvider entityIdProvider) {
|
||||||
this.entityIdProvider = entityIdProvider;
|
this.entityIdProvider = entityIdProvider;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setEntityUuidProvider(EntityUuidProvider entityUuidProvider) {
|
public void setEntityUuidProvider(@NotNull EntityUuidProvider entityUuidProvider) {
|
||||||
this.entityUuidProvider = entityUuidProvider;
|
this.entityUuidProvider = entityUuidProvider;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ tasks {
|
||||||
// 1.17 = Java 16
|
// 1.17 = Java 16
|
||||||
// 1.18 - 1.20.4 = Java 17
|
// 1.18 - 1.20.4 = Java 17
|
||||||
// 1-20.5+ = Java 21
|
// 1-20.5+ = Java 21
|
||||||
val version = "1.21"
|
val version = "1.21.3"
|
||||||
val javaVersion = JavaLanguageVersion.of(21)
|
val javaVersion = JavaLanguageVersion.of(21)
|
||||||
|
|
||||||
val jvmArgsExternal = listOf(
|
val jvmArgsExternal = listOf(
|
||||||
|
|
Loading…
Reference in a new issue