From 37fff1fb99d1c3abac7922b14aeebcf6c681118b Mon Sep 17 00:00:00 2001 From: levtus Date: Tue, 14 Nov 2023 07:33:32 -0600 Subject: [PATCH] edit SeatBlockMixin --- .../foundation/mixin/SeatBlockMixin.java | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/main/java/com/sudolev/interiors/foundation/mixin/SeatBlockMixin.java b/src/main/java/com/sudolev/interiors/foundation/mixin/SeatBlockMixin.java index 8dfa787..f6115dc 100644 --- a/src/main/java/com/sudolev/interiors/foundation/mixin/SeatBlockMixin.java +++ b/src/main/java/com/sudolev/interiors/foundation/mixin/SeatBlockMixin.java @@ -1,20 +1,20 @@ package com.sudolev.interiors.foundation.mixin; -import org.spongepowered.asm.mixin.Mixin; -import org.spongepowered.asm.mixin.injection.At; -import org.spongepowered.asm.mixin.injection.Inject; -import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; -import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable; -import org.spongepowered.asm.mixin.injection.callback.LocalCapture; - import com.simibubi.create.content.contraptions.components.actors.SeatBlock; import com.simibubi.create.content.contraptions.components.actors.SeatEntity; +import com.sudolev.interiors.content.block.seat.BigChairBlock; import com.sudolev.interiors.content.entity.BigSeatEntity; - import net.minecraft.core.BlockPos; import net.minecraft.world.entity.Entity; import net.minecraft.world.level.Level; import net.minecraft.world.phys.AABB; +import org.spongepowered.asm.mixin.Mixin; +import org.spongepowered.asm.mixin.injection.At; +import org.spongepowered.asm.mixin.injection.Inject; +import org.spongepowered.asm.mixin.injection.Redirect; +import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; +import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable; +import org.spongepowered.asm.mixin.injection.callback.LocalCapture; @Mixin(SeatBlock.class) public abstract class SeatBlockMixin { @@ -25,12 +25,12 @@ private static void sitDown(Level world, BlockPos pos, CallbackInfoReturnable