19w45b
This commit is contained in:
1 parent
d212fcb03d
commit
0021aa4a20
3 files changed
+6
-6
No files matched your search
@@ -358,7 +358,7 @@ public class BlockRotator
|
||||
if (newState != null)
|
||||
{
|
||||
world.setBlockState(pos, newState, 2 | 1024);
|
||||
world.scheduleBlockRender(pos, state, newState);
|
||||
world.checkBlockRerender(pos, state, newState);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
@@ -43,7 +43,7 @@ public abstract class World_movableTEMixin implements WorldInterface
|
||||
public abstract ChunkManager getChunkManager();
|
||||
|
||||
@Shadow
|
||||
public abstract void scheduleBlockRender(BlockPos blockPos_1, BlockState s1, BlockState s2);
|
||||
public abstract void checkBlockRerender(BlockPos blockPos_1, BlockState s1, BlockState s2);
|
||||
|
||||
@Shadow
|
||||
public abstract void updateListeners(BlockPos var1, BlockState var2, BlockState var3, int var4);
|
||||
@@ -103,7 +103,7 @@ public abstract class World_movableTEMixin implements WorldInterface
|
||||
{
|
||||
if (blockState_2 != blockState_3)
|
||||
{
|
||||
this.scheduleBlockRender(blockPos_1, blockState_2, blockState_3);
|
||||
this.checkBlockRerender(blockPos_1, blockState_2, blockState_3);
|
||||
}
|
||||
|
||||
if ((int_1 & 2) != 0 && (!this.isClient || (int_1 & 4) == 0) && (this.isClient || worldChunk_1.getLevelType() != null && worldChunk_1.getLevelType().isAfter(ChunkHolder.LevelType.TICKING)))
|
||||
|
||||
Reference in new issue
Block a user