3 line code scaffold LOL
-
Enjoy XD
package wormyclient.hacks; import org.lwjgl.input.Keyboard; import net.minecraft.util.EnumFacing; import net.minecraft.util.EnumHand; import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.Vec3d; import wormyclient.events.EventTarget; import wormyclient.events.EventUpdate; import wormyclient.modules.Category; import wormyclient.modules.Module; public class Test extends Module { public Test() { super("Test", Category.MISC, Keyboard.KEY_NONE); // TODO Auto-generated constructor stub } @EventTarget public void onUpdate(EventUpdate event) { BlockPos pos = new BlockPos(mc.player).down(1); Vec3d vec = new Vec3d(0, 0, 0); if(mc.player.onGround || mc.player.motionY == 0.0030162615090425808) { mc.playerController.processRightClickBlock(mc.player, mc.world, pos, EnumFacing.VALUES[0].getOpposite(), vec, EnumHand.MAIN_HAND); } } }
It should be pretty easy to port it to 1.8
-
///api_version=2 (script = registerScript({ name: "oNeLineExPaNdSCAFFOLDLOLXDDDDDnosrslythiswhyareyousoLOLOLOLOROFLLLLfromthisLMAO", authors: ["urmom"], version: "1.0" })).import("Core.lib"); module = { onUpdate: function () { mc.playerController.onPlayerRightClick(mc.thePlayer, mc.theWorld, mc.thePlayer.getHeldItem(), new BlockPos(mc.thePlayer).down(1), mc.thePlayer.getHorizontalFacing(), new Vec3(0, 0, 0)); } }
-
@CzechHek said in 3 line code scaffold LOL:
///api_version=2 (script = registerScript({ name: "oNeLineExPaNdSCAFFOLDLOLXDDDDDnosrslythiswhyareyousoLOLOLOLOROFLLLLfromthisLMAO", authors: ["urmom"], version: "1.0" })).import("Core.lib"); module = { onUpdate: function () { mc.playerController.onPlayerRightClick(mc.thePlayer, mc.theWorld, mc.thePlayer.getHeldItem(), new BlockPos(mc.thePlayer).down(1), mc.thePlayer.getHorizontalFacing(), new Vec3(0, 0, 0)); } }
Block-Fly LOOOOL
-
@skidma prob not xd
-
@skidma
- holy shit 5 months necropost
- do you actually think 3 line codes scaffold can work on cubecraft
-
@chocopiexd yes
-
only runs on vanilla & singleplayer lmao