This commit is contained in:
gnembon committed 2025-09-04 02:08:10 +02:00
1 parent 6533716c93
commit f371e2e8bd
29 files changed
+222 -153

No files matched your search

@@ -0,0 +1,20 @@
package carpet.mixins;
import carpet.fakes.PistonHeadRenderStateInterface;
import net.minecraft.client.renderer.blockentity.state.BlockEntityRenderState;
import net.minecraft.client.renderer.blockentity.state.PistonHeadRenderState;
import org.spongepowered.asm.mixin.Mixin;
@Mixin(PistonHeadRenderState.class)
public class PistonHeadRenderState_movableBEMixin implements PistonHeadRenderStateInterface {
private BlockEntityRenderState blockEntityRenderState;
@Override
public BlockEntityRenderState getMovedBERenderState() {
return blockEntityRenderState;
}
@Override
public void setMovedBERenderState(BlockEntityRenderState state) {
this.blockEntityRenderState = state;
}
}