mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 06:19:56 +03:00
30 lines
1.5 KiB
Diff
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)
|