Skip to content

Commit

Permalink
feat: Update to Minecraft 1.21.2
Browse files Browse the repository at this point in the history
  • Loading branch information
BlayTheNinth committed Oct 10, 2024
1 parent 44605be commit 5e3f6c2
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 12 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
- Updated to Minecraft 1.21.1
- Updated to Minecraft 1.21.2
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public static void onEntityTick(Entity entity) {
return;
}

int triggerAtY = entity.level().getMinBuildHeight() - ForgivingVoidConfig.getActive().triggerAtDistanceBelow;
int triggerAtY = entity.level().getMinY() - ForgivingVoidConfig.getActive().triggerAtDistanceBelow;
boolean isInVoid = entity.getY() < triggerAtY && entity.yo < triggerAtY;
boolean isTeleporting = entity instanceof ServerPlayer player && ((ServerGamePacketListenerImplAccessor) player.connection).getAwaitingPositionFromClient() != null;
CompoundTag persistentData = Balm.getHooks().getPersistentData(entity);
Expand Down
16 changes: 8 additions & 8 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ mod_id = forgivingvoid
mod_name = Forgiving Void
mod_main=ForgivingVoid
description=Makes the void hate you a little less (and vice-versa). Fall down and come back out on top.
version = 21.1.0
version = 21.2.0
group = net.blay09.mods
homepage=https://mods.twelveiterations.com/mc/forgiving-void
sources=https://github.com/TwelveIterationMods/ForgivingVoid
Expand All @@ -18,16 +18,16 @@ modrinth_release_type = release
modrinth_project_id = 1vkzEZjE

# Minecraft
minecraft_version = 1.21.1
minecraft_version = 1.21.2-pre1
minimum_minecraft_version = 1.21
minecraft_versions = 1.21,1.21.1
minecraft_versions = 1.21,1.21.1,1.21.2-pre1
minecraft_version_range = [1.21,)
pack_format_number = 18
java_version = 21

# Balm
balm_version = 21.0.14-SNAPSHOT
balm_version_range = [21.0.0,)
balm_version = 21.2.1-SNAPSHOT
balm_version_range = [21.2.0,)

# Forge
forge_version = 52.0.2
Expand All @@ -40,8 +40,8 @@ neoforge_version_range = [21-beta,)
neoforge_loader_version_range = [1,)

# Fabric
fabric_version = 0.102.1+1.21.1
fabric_loader_version = 0.15.11
fabric_version = 0.105.3+1.21.2
fabric_loader_version = 0.16.5

# Dependencies
mixin_version=0.8.5
Expand All @@ -53,6 +53,6 @@ org.gradle.daemon=false
mod_author = BlayTheNinth
credits = BlayTheNinth
kuma_version = [21.0,22)
neo_form_version = 1.21.1-20240808.144430
neo_form_version = 1.21.2-pre1-20241008.174159
parchment_minecraft = 1.21
parchment_version = 2024.06.23
10 changes: 10 additions & 0 deletions repositories.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,14 @@ repositories {
includeGroup "novamachina.exnihilosequentia"
}
}

exclusiveContent {
forRepository {
maven {
name = 'Minecraft'
url = 'https://libraries.minecraft.net/'
}
}
filter { includeGroupAndSubgroups("com.mojang") }
}
}
4 changes: 2 additions & 2 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ plugins {

include("common")
include("fabric")
include("neoforge")
include("forge")
//include("neoforge")
//include("forge")

0 comments on commit 5e3f6c2

Please sign in to comment.