mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-23 11:07:01 +01:00
Update to Minecraft 1.21.3
This commit is contained in:
parent
8973abd7f1
commit
8d65693d9a
@ -13,9 +13,9 @@ repositories {
|
||||
|
||||
dependencies {
|
||||
// https://modmuss50.me/fabric.html
|
||||
minecraft 'com.mojang:minecraft:1.21.1'
|
||||
mappings 'net.fabricmc:yarn:1.21.1+build.3:v2'
|
||||
modImplementation 'net.fabricmc:fabric-loader:0.15.11'
|
||||
minecraft 'com.mojang:minecraft:1.21.3'
|
||||
mappings 'net.fabricmc:yarn:1.21.3+build.2:v2'
|
||||
modImplementation 'net.fabricmc:fabric-loader:0.16.7'
|
||||
|
||||
Set<String> apiModules = [
|
||||
'fabric-api-base',
|
||||
@ -26,10 +26,10 @@ dependencies {
|
||||
]
|
||||
|
||||
apiModules.forEach {
|
||||
modImplementation(fabricApi.module(it, '0.102.1+1.21.1'))
|
||||
modImplementation(fabricApi.module(it, '0.106.1+1.21.3'))
|
||||
}
|
||||
|
||||
include(modImplementation('me.lucko:fabric-permissions-api:0.3.1'))
|
||||
include(modImplementation('me.lucko:fabric-permissions-api:0.3.2'))
|
||||
|
||||
implementation project(':common')
|
||||
}
|
||||
|
@ -1,2 +1,2 @@
|
||||
minecraftVersion=1.21.1
|
||||
forgeVersion=52.0.2
|
||||
minecraftVersion=1.21.3
|
||||
forgeVersion=53.0.0
|
@ -100,7 +100,7 @@ public class ForgePlayerCalculator implements ContextCalculator<ServerPlayer> {
|
||||
|
||||
MinecraftServer server = this.plugin.getBootstrap().getServer().orElse(null);
|
||||
if (this.dimensionType && server != null) {
|
||||
server.registryAccess().registry(Registries.DIMENSION_TYPE).ifPresent(registry -> {
|
||||
server.registryAccess().lookup(Registries.DIMENSION_TYPE).ifPresent(registry -> {
|
||||
for (ResourceLocation resourceLocation : registry.keySet()) {
|
||||
builder.add(DefaultContextKeys.DIMENSION_TYPE_KEY, getContextKey(resourceLocation));
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
[versions]
|
||||
shadow = "8.3.0"
|
||||
blossom = "1.3.1"
|
||||
moddevgradle = "1.0.17"
|
||||
moddevgradle = "1.0.21"
|
||||
forgegradle = "[6.0,6.2)"
|
||||
loom = "1.7-SNAPSHOT"
|
||||
licenser = "0.6.1"
|
||||
|
@ -1,2 +1,2 @@
|
||||
minecraftVersion=1.21.1
|
||||
neoForgeVersion=21.1.8
|
||||
minecraftVersion=1.21.3
|
||||
neoForgeVersion=21.3.3-beta
|
@ -100,7 +100,7 @@ public class NeoForgePlayerCalculator implements ContextCalculator<ServerPlayer>
|
||||
|
||||
MinecraftServer server = this.plugin.getBootstrap().getServer().orElse(null);
|
||||
if (this.dimensionType && server != null) {
|
||||
server.registryAccess().registry(Registries.DIMENSION_TYPE).ifPresent(registry -> {
|
||||
server.registryAccess().lookup(Registries.DIMENSION_TYPE).ifPresent(registry -> {
|
||||
for (ResourceLocation resourceLocation : registry.keySet()) {
|
||||
builder.add(DefaultContextKeys.DIMENSION_TYPE_KEY, getContextKey(resourceLocation));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user