Skip to content

Commit e7a4b46

Browse files
committed
1.19.4
1 parent 19c9643 commit e7a4b46

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ String baseVersion = "1.2"
2424
if (!"release".equalsIgnoreCase(System.getProperty("target"))) {
2525
baseVersion += "-" + Util.GitRevision()
2626
}
27-
version = "1.18.2-forge-" + baseVersion
27+
version = "1.19.4-forge-" + baseVersion
2828
group = "trackapi" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
2929
archivesBaseName = "TrackAPI"
3030

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

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

105105
// You may put jars on which you depend on in ./libs or you may define them like so..
106106
// compile "some.group:artifact:version:classifier"

src/main/java/trackapi/lib/Util.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

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

1515
if (bs.getBlock() instanceof ITrackBlock) {

src/main/resources/META-INF/mods.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ description='''A common track interface for minecraft forge'''
1616
[[dependencies.trackapi]]
1717
modId="minecraft"
1818
mandatory=true
19-
versionRange="[1.18.2]"
19+
versionRange="[1.19.4]"
2020
ordering="NONE"
2121
side="BOTH"

0 commit comments

Comments
 (0)