package darkevilmac.movingworld.asm.mixin.core.entity;

import net.minecraft.entity.Entity;
import org.spongepowered.asm.mixin.Mixin;

/**
 * Override minecraft's move methods so we can tell it how to handle collision.
 */
@Mixin(Entity.class)
public class MixinEntity {



}

@@ -131,146 +131,513 @@
 in;%0A
-%0A/**%0A * Override minecraft's move methods so we can tell it how to handle collision.%0A */%0A@Mixin(Entity.class)%0Apublic class MixinEntity %7B%0A%0A
+import org.spongepowered.asm.mixin.injection.At;%0Aimport org.spongepowered.asm.mixin.injection.Inject;%0Aimport org.spongepowered.asm.mixin.injection.callback.CallbackInfo;%0A%0A/**%0A * Override minecraft's move methods so we can tell it how to handle collision.%0A */%0A@Mixin(Entity.class)%0Apublic class MixinEntity %7B%0A%0A    @Inject(method = %22moveEntity(DDD)V%22, at = @At(%22HEAD%22), cancellable = true)%0A    public void onMoveEntity(double x, double y, double z, CallbackInfo ci) %7B%0A        // Does nothing currently.%0A    %7D
 %0A%0A%7D%0A

Add moveEntity injection