Migrate the Carpet codebase to Mojang Mappings
This commit is contained in:
346 files changed
+8353
-8492
No files matched your search
@@ -1,8 +1,8 @@
|
||||
package carpet.mixins;
|
||||
|
||||
import carpet.fakes.BlockEntityInterface;
|
||||
import net.minecraft.block.entity.BlockEntity;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.core.BlockPos;
|
||||
import net.minecraft.world.level.block.entity.BlockEntity;
|
||||
import org.spongepowered.asm.mixin.Final;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.Mutable;
|
||||
@@ -12,10 +12,10 @@ import org.spongepowered.asm.mixin.Shadow;
|
||||
public abstract class BlockEntity_movableBEMixin implements BlockEntityInterface
|
||||
{
|
||||
@Mutable
|
||||
@Shadow @Final protected BlockPos pos;
|
||||
@Shadow @Final protected BlockPos worldPosition;
|
||||
|
||||
public void setCMPos(BlockPos newPos)
|
||||
{
|
||||
pos = newPos;
|
||||
worldPosition = newPos;
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user