23w18a
This commit is contained in:
1 parent
9cae675ede
commit
cac97b5127
4 files changed
+6
-6
No files matched your search
@@ -18,7 +18,7 @@ public abstract class LayerLightEngine_scarpetChunkCreationMixin implements Ligh
|
||||
@Final
|
||||
protected LayerLightSectionStorage<?> storage;
|
||||
|
||||
@Shadow protected abstract void clearQueuedSectionBlocks(final long l);
|
||||
//@Shadow protected abstract void clearQueuedSectionBlocks(final long l);
|
||||
|
||||
@Override
|
||||
public void removeLightData(final long pos)
|
||||
@@ -40,6 +40,6 @@ public abstract class LayerLightEngine_scarpetChunkCreationMixin implements Ligh
|
||||
@Override
|
||||
public void clearQueuedSectionBlocksPublicAccess(long sectionPos)
|
||||
{
|
||||
clearQueuedSectionBlocks(sectionPos);
|
||||
//clearQueuedSectionBlocks(sectionPos);
|
||||
}
|
||||
}
|
||||
@@ -82,7 +82,7 @@ public abstract class LayerLightSectionStorage_scarpetChunkCreationMixin impleme
|
||||
|
||||
if (this.storingLightForSection(sectionPos))
|
||||
{
|
||||
((Lighting_scarpetChunkCreationInterface)lightProvider).clearQueuedSectionBlocksPublicAccess(sectionPos);
|
||||
//((Lighting_scarpetChunkCreationInterface)lightProvider).clearQueuedSectionBlocksPublicAccess(sectionPos);
|
||||
|
||||
if (this.changedSections.add(sectionPos))
|
||||
this.updatingSectionData.copyDataLayer(sectionPos);
|
||||
|
||||
@@ -54,7 +54,7 @@ public class ServerPlayerGameMode_scarpetEventsMixin implements ServerPlayerInte
|
||||
|
||||
@Inject(method = "useItemOn", at = @At(
|
||||
value = "INVOKE",
|
||||
target = "Lnet/minecraft/advancements/critereon/ItemInteractWithBlockTrigger;trigger(Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/item/ItemStack;)V",
|
||||
target = "Lnet/minecraft/advancements/critereon/ItemUsedOnLocationTrigger;trigger(Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/item/ItemStack;)V",
|
||||
shift = At.Shift.BEFORE
|
||||
))
|
||||
private void onBlockActivated(ServerPlayer serverPlayerEntity, Level world, ItemStack stack, InteractionHand hand, BlockHitResult hitResult, CallbackInfoReturnable<InteractionResult> cir)
|
||||
|
||||
Reference in new issue
Block a user