23w18a
This commit is contained in:
1 parent
9cae675ede
commit
cac97b5127
4 files changed
+6
-6
No files matched your search
+2
-2
@@ -3,10 +3,10 @@ org.gradle.jvmargs=-Xmx1G
|
||||
|
||||
# Fabric Properties
|
||||
# check https://fabricmc.net/develop/
|
||||
minecraft_version=23w17a
|
||||
minecraft_version=23w18a
|
||||
loader_version=0.14.19
|
||||
jsr305_version=3.0.2
|
||||
fabric_version=0.79.1+1.20
|
||||
fabric_version=0.80.1+1.20
|
||||
|
||||
# Mod Properties
|
||||
mod_version = 1.4.106
|
||||
|
||||
@@ -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