Posted October 20, 20222 yr so i want to check if a player right clicks a block for a specific tickduration and then want to give an output is that possible? and if so how?
October 20, 20222 yr Minecraft has support for this when doing pure item use. e.g. eating food or shield blocking It also has support for it when left clicking a block, i.e. block breaking. There is nothing for your use case. Block usage (with or without an item) is always "immediate". Normally when doing this kind of thing, the Block.use() changes something about the block. e.g. updating a progress field of a block entity Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post.
October 20, 20222 yr Author 5 minutes ago, warjort said: Minecraft has support for this when doing pure item use. e.g. eating food or shield blocking It also has support for it when left clicking a block, i.e. block breaking. There is nothing for your use case. Block usage (with or without an item) is always "immediate". Normally when doing this kind of thing, the Block.use() changes something about the block. e.g. updating a progress field of a block entity and how am i doing it with breaking?
October 20, 20222 yr Sorry I don't understand your question. Block breaking is left click, you said you wanted right click? Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post.
October 20, 20222 yr Author 1 hour ago, warjort said: Sorry I don't understand your question. Block breaking is left click, you said you wanted right click? i can also do left click
October 20, 20222 yr I already told you how to change the drops for a block break: https://forums.minecraftforge.net/topic/117474-make-custom-use-animation/ Forge also has: https://forge.gemwire.uk/wiki/Dynamic_Loot_Modification/1.18 Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.