Search found 5 matches

by perromercenario
Wed Nov 04, 2020 23:56
Forum: Modding Discussion
Topic: items now, how long the player has presset leftClick
Replies: 1
Views: 118

items now, how long the player has presset leftClick

good days i have this impresion of mine that there is not posible to know how much time player has been pressing left or rigth click on minetest i been looking inside the "projectiles mod" code and this guy has to press to times click to shoot and arrow i show an example to better understa...
by perromercenario
Wed Nov 04, 2020 03:11
Forum: Modding Discussion
Topic: item questions how to do something on left and rigth and middle click ??
Replies: 3
Views: 158

Re: item questions how to do something on left and rigth and middle click ??

i find something but not pretty clear how to use it i find as an empty example this on_rightclick = function(pos,node,clicker,itemstack) end, i want to print on the chat window the content of pos to see the x y z values is posible to print all the values inside an object like in the php print_r(obje...
by perromercenario
Wed Nov 04, 2020 03:02
Forum: Modding Discussion
Topic: item questions how to do something on left and rigth and middle click ??
Replies: 3
Views: 158

Re: item questions how to do something on left and rigth and middle click ??

i find something but not pretty clear how to use it i find as an empty example this on_rightclick = function(pos,node,clicker,itemstack) end, i want to print on the chat window the content of pos to see the x y z values is posible to print all the values inside an object like in the php print_r(obje...
by perromercenario
Wed Nov 04, 2020 02:17
Forum: Modding Discussion
Topic: item questions how to do something on left and rigth and middle click ??
Replies: 3
Views: 158

item questions how to do something on left and rigth and middle click ??

Nigths good im begining whith modding on minetest i have many questions i have an item basic_stick minetest.register_craftitem("modmercenario:basic_stick", { description = "My Special Stick", inventory_image = "bstick.png" }) how i do something on left click or rigth cl...
by perromercenario
Wed Nov 04, 2020 00:21
Forum: General Discussion
Topic: legality of minecraft assets and sounds
Replies: 3
Views: 288

legality of minecraft assets and sounds

i wanna make i minetest mod but dont like items textures and most of the nodes textures i suppouse if i use minecraft vainilla textures the microsoft wanna screw me out for it !rigth but if i use the contend some other minecraft modder create let say the R3D CRAFT Thomas Angeland or the hexacraft te...