Skip to content

Commit

Permalink
1.19.4
Browse files Browse the repository at this point in the history
  • Loading branch information
cam72cam committed Sep 18, 2023
1 parent 19c9643 commit e7a4b46
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ String baseVersion = "1.2"
if (!"release".equalsIgnoreCase(System.getProperty("target"))) {
baseVersion += "-" + Util.GitRevision()
}
version = "1.18.2-forge-" + baseVersion
version = "1.19.4-forge-" + baseVersion
group = "trackapi" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "TrackAPI"

Expand All @@ -34,7 +34,7 @@ minecraft {
// stable_# Stables are built at the discretion of the MCP team.
// Use non-default mappings at your own risk. they may not always work.
// Simply re-run your setup task after changing the mappings to update your workspace.
mappings channel: 'official', version: '1.18.2'
mappings channel: 'official', version: '1.19.4'
// makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable.

// accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')
Expand Down Expand Up @@ -100,7 +100,7 @@ dependencies {
// Specify the version of Minecraft to use, If this is any group other then 'net.minecraft' it is assumed
// that the dep is a ForgeGradle 'patcher' dependency. And it's patches will be applied.
// The userdev artifact is a special name and will get all sorts of transformations applied to it.
minecraft 'net.minecraftforge:forge:1.18.2-40.0.22'
minecraft 'net.minecraftforge:forge:1.19.4-45.1.19'

// You may put jars on which you depend on in ./libs or you may define them like so..
// compile "some.group:artifact:version:classifier"
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/trackapi/lib/Util.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

public class Util {
private static ITrack getInternalTileEntity(final Level world, Vec3 pos, boolean acceptMinecraftRails) {
final BlockPos bp = new BlockPos(Math.floor(pos.x), Math.floor(pos.y), Math.floor(pos.z));
final BlockPos bp = new BlockPos((int)Math.floor(pos.x), (int)Math.floor(pos.y), (int)Math.floor(pos.z));
BlockState bs = world.getBlockState(bp);

if (bs.getBlock() instanceof ITrackBlock) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ description='''A common track interface for minecraft forge'''
[[dependencies.trackapi]]
modId="minecraft"
mandatory=true
versionRange="[1.18.2]"
versionRange="[1.19.4]"
ordering="NONE"
side="BOTH"

0 comments on commit e7a4b46

Please sign in to comment.