Skip to content

Commit

Permalink
Updated to 1.19.4 (#35)
Browse files Browse the repository at this point in the history
Co-authored-by: Potatoboy9999 <[email protected]>
  • Loading branch information
EastArctica and PotatoPresident authored Mar 22, 2023
1 parent 0741e2b commit 6d2bb32
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dependencies {
// PSA: Some older mods, compiled on Loom 0.2.1, might have outdated Maven POMs.
// You may need to force-disable transitiveness on them.

modImplementation include("fr.catcore:server-translations-api:${project.translation_version}")
modImplementation include("xyz.nucleoid:server-translations-api:${project.translation_version}")

modImplementation include("me.lucko:fabric-permissions-api:0.1-SNAPSHOT")

Expand Down
12 changes: 6 additions & 6 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
org.gradle.jvmargs=-Xmx1G
# Fabric Properties
# check these on https://modmuss50.me/fabric.html
minecraft_version=1.19.3
yarn_mappings=1.19.3+build.4
loader_version=0.14.12
minecraft_version=1.19.4
yarn_mappings=1.19.4+build.1
loader_version=0.14.17
# Mod Properties
mod_version=1.1.7
mod_version=1.1.8
maven_group=us.potatoboy
archives_base_name=htm
# Dependencies
# check this on https://modmuss50.me/fabric.html
fabric_version=0.69.1+1.19.3
translation_version=1.4.19+1.19.3
fabric_version=0.76.0+1.19.4
translation_version=2.0.0-beta.2+1.19.4-pre2
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public abstract class HopperBlockEntityMixin {
@Inject(method = "extract(Lnet/minecraft/world/World;Lnet/minecraft/block/entity/Hopper;)Z", at = @At(value = "FIELD", target = "Lnet/minecraft/util/math/Direction;DOWN:Lnet/minecraft/util/math/Direction;", shift = At.Shift.AFTER), cancellable = true)
private static void extractHTMCheck(World world, Hopper hopper, CallbackInfoReturnable<Boolean> cir) {
// only checks extraction, so only needs to check block above hopper
if (!isBlockContainerHopperable(world, new BlockPos(hopper.getHopperX(), hopper.getHopperY(), hopper.getHopperZ()).offset(Direction.UP)))
if (!isBlockContainerHopperable(world, BlockPos.ofFloored(hopper.getHopperX(), hopper.getHopperY(), hopper.getHopperZ()).offset(Direction.UP)))
cir.setReturnValue(true); // if block is not hopperable, cancel the extract method call
// otherwise continue the extract method as normal
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
"depends": {
"fabricloader": ">=0.12.3",
"fabric": "*",
"minecraft": "1.19.x"
"minecraft": ">=1.19.4"
}
}

0 comments on commit 6d2bb32

Please sign in to comment.