-
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'refs/heads/1.19/dev' into 1.20/dev
- Loading branch information
Showing
5 changed files
with
33 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
...n/java/com/railwayteam/railways/content/palettes/boiler/fabric/BoilerBigOutlinesImpl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package com.railwayteam.railways.content.palettes.boiler.fabric; | ||
|
||
import com.simibubi.create.foundation.utility.fabric.ReachUtil; | ||
import net.minecraft.world.entity.player.Player; | ||
|
||
public class BoilerBigOutlinesImpl { | ||
public static double getRange(Player player) { | ||
return ReachUtil.reach(player); | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
...in/java/com/railwayteam/railways/content/palettes/boiler/forge/BoilerBigOutlinesImpl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package com.railwayteam.railways.content.palettes.boiler.forge; | ||
|
||
import net.minecraft.world.entity.player.Player; | ||
import net.minecraftforge.common.ForgeMod; | ||
|
||
public class BoilerBigOutlinesImpl { | ||
public static double getRange(Player player) { | ||
return player.getAttribute(ForgeMod.REACH_DISTANCE.get()).getValue(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters