25w02a
This commit is contained in:
1 parent
d9c7334400
commit
b16eec89e7
34 files changed
+299
-347
No files matched your search
@@ -15,12 +15,12 @@ public class StructureTemplate_fillUpdatesMixin
|
||||
{
|
||||
@Redirect( method = "placeInWorld", at = @At(
|
||||
value = "INVOKE",
|
||||
target = "Lnet/minecraft/world/level/ServerLevelAccessor;blockUpdated(Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;)V"
|
||||
target = "Lnet/minecraft/world/level/ServerLevelAccessor;updateNeighborsAt(Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;)V"
|
||||
))
|
||||
private void skipUpdateNeighbours(ServerLevelAccessor serverWorldAccess, BlockPos pos, Block block)
|
||||
{
|
||||
if (!CarpetSettings.impendingFillSkipUpdates.get())
|
||||
serverWorldAccess.blockUpdated(pos, block);
|
||||
serverWorldAccess.updateNeighborsAt(pos, block);
|
||||
}
|
||||
|
||||
@Redirect(method = "placeInWorld", at = @At(
|
||||
|
||||
Reference in new issue
Block a user