Skip to content
This repository was archived by the owner on Jun 8, 2022. It is now read-only.

Click Detection

ImCoolYeah105 edited this page Mar 28, 2018 · 11 revisions

In order to activate click detection, give your custom item the nbt tag du_click_detect:1b or du_click_detect:2b Whenever The player left or right clicks, they are given the tag du_left_click or du_right_click respectively.

1b:

Imperfect detection. Can miss when the player is moving very fast.

2b:

Perfect detection, but produces a noticeable flicker on the player's screen. This can be overcome by removing the texture fort the nitwit villager.

Clone this wiki locally