From 4e81e91a7aea23b81347accf56f89121451f7e0c Mon Sep 17 00:00:00 2001 From: Appability Date: Wed, 12 Oct 2022 14:30:01 -0700 Subject: ignore carpet (this time stolen from floppa) + surprisingly annoying lateinit stuff --- src/main/java/com/ambientaddons/mixin/MixinBlock.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/main/java/com/ambientaddons/mixin/MixinBlock.java (limited to 'src/main/java/com/ambientaddons/mixin/MixinBlock.java') diff --git a/src/main/java/com/ambientaddons/mixin/MixinBlock.java b/src/main/java/com/ambientaddons/mixin/MixinBlock.java new file mode 100644 index 0000000..a30b15d --- /dev/null +++ b/src/main/java/com/ambientaddons/mixin/MixinBlock.java @@ -0,0 +1,12 @@ +package com.ambientaddons.mixin; + +import net.minecraft.block.Block; +import org.spongepowered.asm.mixin.Mixin; +import org.spongepowered.asm.mixin.Shadow; + +// credit Floppa Client +@Mixin(Block.class) +public abstract class MixinBlock { + @Shadow + public abstract void setBlockBounds(float minX, float minY, float minZ, float maxX, float maxY, float maxZ); +} -- cgit