ClickMachine Fabric - Click Machine for minecraft

Overview

Minecraft mod for Fabric

Adds one block to the game: Auto Clicker. This autoclicker can be placed in the world and used to simulate left or right mouse clicks.
It can be used for automation: stone farm, wool farm, etc.



Mod requires:

Kotlin
Fabric

You might also like...
A Java Virtual Machine written in Kotlin
A Java Virtual Machine written in Kotlin

jvm.kotlin A Java Virtual Machine written in Kotlin. Introduction jvm.kotlin is a toy JVM programmed in Kotlin. The main purpose of this project is le

Kotlin Multiplatform Coffee Machine
Kotlin Multiplatform Coffee Machine

Expressus KMM sample project acting as a playground to illustrate what's discussed in these articles: Details Shared Model-View-Intent architecture Fi

Minecraft NBT support for kotlinx.serialization

knbt An implementation of Minecraft's NBT format for kotlinx.serialization. Technical information about NBT can be found here. Using the same version

Gradle plugin adding a task to run a Paper Minecraft server

Run Paper Run Paper is a Gradle plugin which adds a task to automatically download and run a Paper Minecraft server along with your plugin built by Gr

An under development minecraft plugin (1.8.8) to learning Kotlin language

CorePlus CorePlus is a minecraft plugin coded with Kotlin language. Still under development CorePlus will be an essential for each minecraft servers !

Run Minecraft on the command line

HeadlessForge While headless Minecraft Clients aren't anything new, they come with a drawback. The Minecraft API is missing and you need to add all fu

Kotlin utility mod for Minecraft
Kotlin utility mod for Minecraft

Lambda is a free, open-source, Minecraft 1.12.2 utility mod providing a visionary system for plugins that allow customizing the clients features thank

Gestor is an innovative open-source application for universal Minecraft mod management.

Gestor Gestor is an innovative open-source application for universal Minecraft mod management. About It combines three types of tools into a single ap

VirtualTag is a name tag edit plugin for minecraft server

VirtualTag VirtualTag is a NameTag Edit plugin for modern minecraft server Support Version 1.17.x Download https://github.com/jiangdashao/VirtualTag/r

Comments
  • Crash with FTB Teams.

    Crash with FTB Teams.

    Have FTB teams and click machine in the mods folder. Try to use a click machine in a claimed chunk and it crashes.

    Description: Ticking block entity
    
    java.lang.NullPointerException: Cannot invoke "dev.ftb.mods.ftbteams.data.PlayerTeam.getExtraData()" because the return value of "dev.ftb.mods.ftbteams.data.TeamManager.getInternalPlayerTeam(java.util.UUID)" is null
    	at dev.ftb.mods.ftbchunks.data.ClaimedChunkManager.getBypassProtection(ClaimedChunkManager.java:138)
    	at dev.ftb.mods.ftbchunks.data.ClaimedChunkManager.protect(ClaimedChunkManager.java:167)
    	at dev.ftb.mods.ftbchunks.FTBChunks.blockRightClick(FTBChunks.java:270)
    	at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)
    	at dev.architectury.event.EventFactory.invokeMethod(EventFactory.java:54)
    	at dev.architectury.event.EventFactory$2.handleInvocation(EventFactory.java:82)
    	at com.google.common.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:89)
    	at jdk.proxy2/jdk.proxy2.$Proxy137.click(Unknown Source)
    	at dev.architectury.event.fabric.EventHandlerImpl.lambda$registerCommon$20(EventHandlerImpl.java:77)
    	at net.fabricmc.fabric.api.event.player.UseBlockCallback.lambda$static$0(UseBlockCallback.java:41)
    	at net.minecraft.class_3225.handler$cfi000$interactBlock(net/fabricmc/fabric/mixin/event/interaction/MixinServerPlayerInteractionManager.java [fabric-events-interaction-v0.mixins.json]:85)
    	at net.minecraft.class_3225.method_14262(class_3225.java)
    	at com.kenza.clickmachine.blocks.AutoClickerBlockEntity.tickRightMode(AutoClickerBlockEntity.kt:231)
    	at com.kenza.clickmachine.blocks.AutoClickerBlockEntity.tick(AutoClickerBlockEntity.kt:179)
    	at com.kenza.clickmachine.blocks.AutoClickerBlock.getTicker$lambda-2(AutoClickerBlock.kt:82)
    	at net.minecraft.class_2818$class_5563.method_31703(class_2818.java:659)
    	at net.minecraft.class_2818$class_5564.method_31703(class_2818.java:713)
    	at net.minecraft.class_1937.method_18471(class_1937.java:477)
    	at net.minecraft.class_3218.method_18765(class_3218.java:365)
    	at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:879)
    	at net.minecraft.class_3176.method_3813(class_3176.java:324)
    	at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:823)
    	at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:684)
    	at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:270)
    	at java.base/java.lang.Thread.run(Thread.java:833)
    
    
    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------
    
    -- Head --
    Thread: Server thread
    Stacktrace:
    	at dev.ftb.mods.ftbchunks.data.ClaimedChunkManager.getBypassProtection(ClaimedChunkManager.java:138)
    	at dev.ftb.mods.ftbchunks.data.ClaimedChunkManager.protect(ClaimedChunkManager.java:167)
    	at dev.ftb.mods.ftbchunks.FTBChunks.blockRightClick(FTBChunks.java:270)
    	at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)
    	at dev.architectury.event.EventFactory.invokeMethod(EventFactory.java:54)
    	at dev.architectury.event.EventFactory$2.handleInvocation(EventFactory.java:82)
    	at com.google.common.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:89)
    	at jdk.proxy2/jdk.proxy2.$Proxy137.click(Unknown Source)
    	at dev.architectury.event.fabric.EventHandlerImpl.lambda$registerCommon$20(EventHandlerImpl.java:77)
    	at net.fabricmc.fabric.api.event.player.UseBlockCallback.lambda$static$0(UseBlockCallback.java:41)
    	at net.minecraft.class_3225.handler$cfi000$interactBlock(net/fabricmc/fabric/mixin/event/interaction/MixinServerPlayerInteractionManager.java [fabric-events-interaction-v0.mixins.json]:85)
    	at net.minecraft.class_3225.method_14262(class_3225.java)
    	at com.kenza.clickmachine.blocks.AutoClickerBlockEntity.tickRightMode(AutoClickerBlockEntity.kt:231)
    	at com.kenza.clickmachine.blocks.AutoClickerBlockEntity.tick(AutoClickerBlockEntity.kt:179)
    	at com.kenza.clickmachine.blocks.AutoClickerBlock.getTicker$lambda-2(AutoClickerBlock.kt:82)
    	at net.minecraft.class_2818$class_5563.method_31703(class_2818.java:659)
    	at net.minecraft.class_2818$class_5564.method_31703(class_2818.java:713)
    	at net.minecraft.class_1937.method_18471(class_1937.java:477)
    	at net.minecraft.class_3218.method_18765(class_3218.java:365)
    
    -- Block entity being ticked --
    Details:
    	Name: clickmachine:auto_clicker // com.kenza.clickmachine.blocks.AutoClickerBlockEntity
    	Block: Block{clickmachine:auto_clicker}[active=true,facing=east]
    	Block location: World: (-50,73,250), Section: (at 14,9,10 in -4,4,15; chunk contains blocks -64,-64,240 to -49,319,255), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,-64,0 to -1,319,511)
    	Block: Block{clickmachine:auto_clicker}[active=true,facing=east]
    	Block location: World: (-50,73,250), Section: (at 14,9,10 in -4,4,15; chunk contains blocks -64,-64,240 to -49,319,255), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,-64,0 to -1,319,511)
    Stacktrace:
    	at net.minecraft.class_2818$class_5563.method_31703(class_2818.java:659)
    	at net.minecraft.class_2818$class_5564.method_31703(class_2818.java:713)
    	at net.minecraft.class_1937.method_18471(class_1937.java:477)
    	at net.minecraft.class_3218.method_18765(class_3218.java:365)
    	at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:879)
    	at net.minecraft.class_3176.method_3813(class_3176.java:324)
    	at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:823)
    	at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:684)
    	at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:270)
    	at java.base/java.lang.Thread.run(Thread.java:833)
    
    -- Affected level --
    Details:
    	All players: 0 total; []
    	Chunk stats: 2209
    	Level dimension: minecraft:overworld
    	Level spawn location: World: (-32,73,256), Section: (at 0,9,0 in -2,4,16; chunk contains blocks -32,-64,256 to -17,319,271), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,-64,0 to -1,319,511)
    	Level time: 459748 game time, 390526 day time
    	Level name: world
    	Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
    	Level weather: Rain time: 102948 (now: false), thunder time: 149720 (now: false)
    	Known server brands: fabric
    	Level was modded: true
    	Level storage version: 0x04ABD - Anvil
    Stacktrace:
    	at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:879)
    	at net.minecraft.class_3176.method_3813(class_3176.java:324)
    	at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:823)
    	at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:684)
    	at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:270)
    	at java.base/java.lang.Thread.run(Thread.java:833)
    
    opened by frikinjay 1
  • crash when placing the machine

    crash when placing the machine

    i get a "server closed" message even in singleplayer, and this

    ---- Minecraft Crash Report ---- // Don't do that.

    Time: 1/10/22, 2:40 AM Description: Ticking block entity

    java.lang.NoSuchMethodError: 'void com.kenza.clickmachine.blocks.AutoClickerBlockEntity.tick(net.minecraft.class_2350)' at com.kenza.clickmachine.blocks.AutoClickerBlock.getTicker$lambda-2(AutoClickerBlock.kt:82) at net.minecraft.world.chunk.WorldChunk$DirectBlockEntityTickInvoker.tick(WorldChunk:659) at net.minecraft.world.chunk.WorldChunk$WrappedBlockEntityTickInvoker.tick(WorldChunk:713) at net.minecraft.world.World.tickBlockEntities(World:477) at net.minecraft.server.world.ServerWorld.tick(ServerWorld:365) at net.minecraft.server.MinecraftServer.tickWorlds(MinecraftServer:879) at net.minecraft.server.MinecraftServer.tick(MinecraftServer:823) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer:99) at net.minecraft.server.MinecraftServer.runServer(MinecraftServer:684) at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer:270) at java.lang.Thread.run(Thread.java:833)

    A detailed walkthrough of the error, its code path and all known details is as follows:

    -- Head -- Thread: Render thread Stacktrace: at com.kenza.clickmachine.blocks.AutoClickerBlock.getTicker$lambda-2(AutoClickerBlock.kt:82) at net.minecraft.class_2818$class_5563.method_31703(class_2818.java:659) at net.minecraft.class_2818$class_5564.method_31703(class_2818.java:713) at net.minecraft.class_1937.method_18471(class_1937.java:477) at net.minecraft.class_3218.method_18765(class_3218.java:365) Mixins in Stacktrace: Failed to find Mixin metadata: java.lang.NoSuchMethodException: org.spongepowered.asm.mixin.transformer.ClassInfo.getMixins()

    -- Block entity being ticked -- Details: Name: clickmachine:auto_clicker // com.kenza.clickmachine.blocks.AutoClickerBlockEntity Block: Block{clickmachine:auto_clicker}[active=true,facing=west] Block location: World: (-709,-46,85), Section: (at 11,2,5 in -45,-3,5; chunk contains blocks -720,-64,80 to -705,319,95), Region: (-2,0; contains chunks -64,0 to -33,31, blocks -1024,-64,0 to -513,319,511) Block: Block{clickmachine:auto_clicker}[active=true,facing=west] Block location: World: (-709,-46,85), Section: (at 11,2,5 in -45,-3,5; chunk contains blocks -720,-64,80 to -705,319,95), Region: (-2,0; contains chunks -64,0 to -33,31, blocks -1024,-64,0 to -513,319,511) Block Entity NBT: {Items:[],rightClickMode:0b} Stacktrace: at net.minecraft.class_2818$class_5563.method_31703(class_2818.java:659) at net.minecraft.class_2818$class_5564.method_31703(class_2818.java:713) at net.minecraft.class_1937.method_18471(class_1937.java:477) at net.minecraft.class_3218.method_18765(class_3218.java:365) at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:879) at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:823) at net.minecraft.class_1132.method_3748(class_1132.java:99) at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:684) at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:270) at java.base/java.lang.Thread.run(Thread.java:833) Mixins in Stacktrace: Failed to find Mixin metadata: java.lang.NoSuchMethodException: org.spongepowered.asm.mixin.transformer.ClassInfo.getMixins()

    opened by Chuunkyz 1
  • Crash loop on server.

    Crash loop on server.

    Puts the server in a crash loop when you try to use the click machine,

    1. Face it into a composter.
    2. Put it into right click mode.
    3. Put bamboo in the machine.
    4. Crash loop.
    Description: Ticking block entity
    
    java.lang.NoClassDefFoundError: net/minecraft/class_310
    	at com.kenza.clickmachine.blocks.AutoClickerBlockEntity.getInteractionManager(AutoClickerBlockEntity.kt:66)
    	at com.kenza.clickmachine.blocks.AutoClickerBlockEntity.tickRightMode(AutoClickerBlockEntity.kt:224)
    	at com.kenza.clickmachine.blocks.AutoClickerBlockEntity.tick(AutoClickerBlockEntity.kt:172)
    	at com.kenza.clickmachine.blocks.AutoClickerBlock.getTicker$lambda-1(AutoClickerBlock.kt:78)
    	at net.minecraft.class_2818$class_5563.method_31703(class_2818.java:659)
    	at net.minecraft.class_2818$class_5564.method_31703(class_2818.java:713)
    	at net.minecraft.class_1937.method_18471(class_1937.java:477)
    	at net.minecraft.class_3218.method_18765(class_3218.java:365)
    	at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:879)
    	at net.minecraft.class_3176.method_3813(class_3176.java:324)
    	at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:823)
    	at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:684)
    	at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:270)
    	at java.base/java.lang.Thread.run(Thread.java:833)
    Caused by: java.lang.ClassNotFoundException: net.minecraft.class_310
    	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
    	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
    	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
    	at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:158)
    	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
    	... 14 more
    
    
    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------
    
    -- Head --
    Thread: Server thread
    Stacktrace:
    	at com.kenza.clickmachine.blocks.AutoClickerBlockEntity.getInteractionManager(AutoClickerBlockEntity.kt:66)
    	at com.kenza.clickmachine.blocks.AutoClickerBlockEntity.tickRightMode(AutoClickerBlockEntity.kt:224)
    	at com.kenza.clickmachine.blocks.AutoClickerBlockEntity.tick(AutoClickerBlockEntity.kt:172)
    	at com.kenza.clickmachine.blocks.AutoClickerBlock.getTicker$lambda-1(AutoClickerBlock.kt:78)
    	at net.minecraft.class_2818$class_5563.method_31703(class_2818.java:659)
    	at net.minecraft.class_2818$class_5564.method_31703(class_2818.java:713)
    	at net.minecraft.class_1937.method_18471(class_1937.java:477)
    	at net.minecraft.class_3218.method_18765(class_3218.java:365)
    
    -- Block entity being ticked --
    Details:
    	Name: clickmachine:auto_clicker // com.kenza.clickmachine.blocks.AutoClickerBlockEntity
    	Block: Block{clickmachine:auto_clicker}[active=true,facing=west]
    	Block location: World: (967,95,-2868), Section: (at 7,15,12 in 60,5,-180; chunk contains blocks 960,-64,-2880 to 975,319,-2865), Region: (1,-6; contains chunks 32,-192 to 63,-161, blocks 512,-64,-3072 to 1023,319,-2561)
    	Block: Block{clickmachine:auto_clicker}[active=true,facing=west]
    	Block location: World: (967,95,-2868), Section: (at 7,15,12 in 60,5,-180; chunk contains blocks 960,-64,-2880 to 975,319,-2865), Region: (1,-6; contains chunks 32,-192 to 63,-161, blocks 512,-64,-3072 to 1023,319,-2561)
    Stacktrace:
    	at net.minecraft.class_2818$class_5563.method_31703(class_2818.java:659)
    	at net.minecraft.class_2818$class_5564.method_31703(class_2818.java:713)
    	at net.minecraft.class_1937.method_18471(class_1937.java:477)
    	at net.minecraft.class_3218.method_18765(class_3218.java:365)
    	at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:879)
    	at net.minecraft.class_3176.method_3813(class_3176.java:324)
    	at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:823)
    	at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:684)
    	at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:270)
    	at java.base/java.lang.Thread.run(Thread.java:833)
    
    -- Affected level --
    Details:
    	All players: 1 total; [class_3222['frikinjay'/437, l='ServerLevel[world]', x=969.02, y=95.00, z=-2868.15]]
    	Chunk stats: 5451
    	Level dimension: minecraft:overworld
    	Level spawn location: World: (1751,151,-2550), Section: (at 7,7,10 in 109,9,-160; chunk contains blocks 1744,-64,-2560 to 1759,319,-2545), Region: (3,-5; contains chunks 96,-160 to 127,-129, blocks 1536,-64,-2560 to 2047,319,-2049)
    	Level time: 14048548 game time, 14893494 day time
    	Level name: world
    	Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
    	Level weather: Rain time: 15518 (now: false), thunder time: 114812 (now: false)
    	Known server brands: fabric
    	Level was modded: true
    	Level storage version: 0x04ABD - Anvil
    Stacktrace:
    	at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:879)
    	at net.minecraft.class_3176.method_3813(class_3176.java:324)
    	at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:823)
    	at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:684)
    	at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:270)
    	at java.base/java.lang.Thread.run(Thread.java:833)
    
    opened by frikinjay 1
Owner
Android Developer
null
Simple random ore mod for Minecraft/Fabric. Heavily inspired by Randomite.

Rand'Ore >> Download << Simple random ores for Fabric! This mod is open source and under a permissive license. As such, it can be included in any modp

null 3 Dec 31, 2021
An easy to use package manager for Fabric Minecraft mods.

pacmc pacmc is a package manager for Fabric Minecraft mods. The aim of this project is to massively reduce the effort you have to put in to installing

Jakob K 109 Dec 30, 2022
A fabric modding base for the latest Minecraft version.

Amber A fabric modding base for the latest Minecraft version. Setup Create a fabric mod using this repo as an example. Add this mod as a dependency vi

Redstonecrafter0 1 Apr 13, 2022
A unique technology modification ported from Forge to Fabric.

Fracdustry Reimagined >> Download << Thank you, MikhailTapio. This mod is open source and under a permissive license. As such, it can be included in a

Team (Another) Fractal 3 Dec 18, 2021
UltralightFabric - Ultralight, a HTML + CSS renderer for Fabric

Xander's Fabric Template for Kotlin The best Fabric template using kotlin. Usage Mod Development: Please read the Fabric Wiki for general mod developm

Xander 15 Dec 30, 2022
🤝 Link your Fabric server and Discord with ease!

Fabric2Discord Link your Fabric server and Discord with ease! ?? Getting Started I wrote few helpful articles about this mod, so if you need help you

Igor Ryzhenkov 10 Oct 25, 2022
A simple, configurable HUD mod for Fabric/Quilt

Modrinth | CurseForge Requirements Minecraft >1.19.2 Fabric Loader >0.14.8 or the equivalent Quilt version ModMenu >4.0.0 Fabric Language Kotlin >1.8.

null 3 Dec 15, 2022
🔴 A non-deterministic finite-state machine for Android & JVM that won't let you down

HAL is a non-deterministic finite-state machine for Android & JVM built with Coroutines StateFlow and LiveData. Why non-deterministic? Because in a no

Adriel Café 73 Nov 28, 2022
Kotlin coroutine capable Finite-State Machine (multiplatform)

Comachine Features Kotlin corutines. Event handlers can launch coroutines for collecting external events of performing side effects. Structured concur

Sergej Shafarenka 22 Dec 14, 2022
Kotlin coroutine capable Finite-State Machine (multiplatform)

Comachine Features Kotlin corutines. Event handlers can launch coroutines for collecting external events of performing side effects. Structured concur

Sergej Shafarenka 22 Dec 14, 2022