Skip to content

Commit

Permalink
update to 1.20.3
Browse files Browse the repository at this point in the history
  • Loading branch information
kosma committed Mar 29, 2024
1 parent 5d8b046 commit 61b9264
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
org.gradle.daemon=false
org.gradle.jvmargs=-Xmx1G

minecraft_version=1.20.1
yarn_mappings=1.20.1+build.2
loader_version=0.14.21
fabric_version=0.83.1+1.20.1
minecraft_version=1.20.3
yarn_mappings=1.20.3+build.1
loader_version=0.15.7
fabric_version=0.91.1+1.20.3

mod_version=2.2
mod_version=2.3
maven_group=pl.kosma
archives_base_name=geodesy
6 changes: 3 additions & 3 deletions src/main/java/pl/kosma/geodesy/GeodesyCore.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
import net.minecraft.block.entity.DropperBlockEntity;
import net.minecraft.block.entity.HopperBlockEntity;
import net.minecraft.block.entity.StructureBlockBlockEntity;
import net.minecraft.block.enums.BlockFace;
import net.minecraft.block.enums.BlockHalf;
import net.minecraft.block.enums.StructureBlockMode;
import net.minecraft.block.enums.WallMountLocation;
import net.minecraft.block.enums.WireConnection;
import net.minecraft.item.ItemStack;
import net.minecraft.item.Items;
Expand Down Expand Up @@ -130,8 +130,8 @@ void geodesyProject(Direction[] directions) {
if (world.getBlockState(blockPosDirectionPair.getLeft()).getBlock() == Blocks.AMETHYST_CLUSTER) {
clustersLeft.getAndIncrement();
world.setBlockState(blockPosDirectionPair.getLeft(), switch (blockPosDirectionPair.getRight()) {
case DOWN -> Blocks.SPRUCE_BUTTON.getDefaultState().with(Properties.WALL_MOUNT_LOCATION, WallMountLocation.CEILING);
case UP -> Blocks.SPRUCE_BUTTON.getDefaultState().with(Properties.WALL_MOUNT_LOCATION, WallMountLocation.FLOOR);
case DOWN -> Blocks.SPRUCE_BUTTON.getDefaultState().with(Properties.BLOCK_FACE, BlockFace.CEILING);
case UP -> Blocks.SPRUCE_BUTTON.getDefaultState().with(Properties.BLOCK_FACE, BlockFace.FLOOR);
default -> Blocks.SPRUCE_BUTTON.getDefaultState().with(Properties.HORIZONTAL_FACING, blockPosDirectionPair.getRight());
}, NOTIFY_LISTENERS);
}
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
]
},
"depends": {
"fabricloader": ">=0.14.21",
"fabric": ">=0.81.0",
"minecraft": "1.20.x"
"fabricloader": ">=0.15.7",
"fabric": ">=0.91.1",
"minecraft": ">=1.20.3"
}
}

0 comments on commit 61b9264

Please sign in to comment.