Files
CatServer/patches/net/minecraft/block/state/pattern/BlockPattern.java.patch
2019-02-24 22:29:41 +08:00

30 lines
1.5 KiB
Diff

--- ../src-base/minecraft/net/minecraft/block/state/pattern/BlockPattern.java
+++ ../src-work/minecraft/net/minecraft/block/state/pattern/BlockPattern.java
@@ -75,7 +75,7 @@
}
}
- return new BlockPattern.PatternHelper(pos, finger, thumb, lcache, this.palmLength, this.thumbLength, this.fingerLength);
+ return new PatternHelper(pos, finger, thumb, lcache, this.palmLength, this.thumbLength, this.fingerLength);
}
@Nullable
@@ -92,7 +92,7 @@
{
if (enumfacing1 != enumfacing && enumfacing1 != enumfacing.getOpposite())
{
- BlockPattern.PatternHelper blockpattern$patternhelper = this.checkPatternAt(blockpos, enumfacing, enumfacing1, loadingcache);
+ PatternHelper blockpattern$patternhelper = this.checkPatternAt(blockpos, enumfacing, enumfacing1, loadingcache);
if (blockpattern$patternhelper != null)
{
@@ -108,7 +108,7 @@
public static LoadingCache<BlockPos, BlockWorldState> createLoadingCache(World worldIn, boolean forceLoadIn)
{
- return CacheBuilder.newBuilder().<BlockPos, BlockWorldState>build(new BlockPattern.CacheLoader(worldIn, forceLoadIn));
+ return CacheBuilder.newBuilder().<BlockPos, BlockWorldState>build(new CacheLoader(worldIn, forceLoadIn));
}
protected static BlockPos translateOffset(BlockPos pos, EnumFacing finger, EnumFacing thumb, int palmOffset, int thumbOffset, int fingerOffset)