Skip to content

Commit

Permalink
Updated to 1.20.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Minenash committed Apr 19, 2024
1 parent fac2ad3 commit 52ce148
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
plugins {
id 'fabric-loom' version '0.12-SNAPSHOT'
id 'fabric-loom' version '1.6-SNAPSHOT'
id 'maven-publish'
}

sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21

archivesBaseName = project.archives_base_name
version = project.mod_version
Expand Down
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ org.gradle.jvmargs=-Xmx1G

# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.20.4
yarn_mappings=1.20.4+build.1
loader_version=0.15.1
minecraft_version=1.20.5-rc1
yarn_mappings=1.20.5-rc1+build.2
loader_version=0.15.10

# Mod Properties
mod_version = 1.0.3+1.20.3
mod_version = 1.0.3+1.20.5
maven_group = com.minenash
archives_base_name = monsters-in-the-closet
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class BedBlockMixin {
@Unique
private static BlockPos blockPos = null;

@Inject(method = "method_19283",
@Inject(method = "method_55767",
at = @At(value = "INVOKE", target = "Lnet/minecraft/entity/player/PlayerEntity;sendMessage(Lnet/minecraft/text/Text;Z)V"))
private static void thingy(PlayerEntity player, PlayerEntity.SleepFailureReason reason, CallbackInfo info) {
if (reason != PlayerEntity.SleepFailureReason.NOT_SAFE)
Expand All @@ -55,7 +55,7 @@ private static void thingy(PlayerEntity player, PlayerEntity.SleepFailureReason
}

@Inject(method = "onUse", at = @At("HEAD"))
public void onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult result,
public void onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, BlockHitResult hit,
CallbackInfoReturnable<ActionResult> info) {
blockPos = pos;
}
Expand Down

0 comments on commit 52ce148

Please sign in to comment.