Skip to content

Commit 15af47f

Browse files
committed
📦 Add more documentation
1 parent 17fe3f3 commit 15af47f

File tree

1 file changed

+3
-0
lines changed
  • common/src/main/java/com/mrcrayfish/controllable/client/input

1 file changed

+3
-0
lines changed

common/src/main/java/com/mrcrayfish/controllable/client/input/Controller.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,9 @@ public final float getPressedValue(int button)
245245
};
246246
}
247247

248+
/**
249+
* @return True if the controller is accessible for interaction (reading inputs, rumble, etc)
250+
*/
248251
public final boolean isAccessible()
249252
{
250253
Minecraft mc = Minecraft.getInstance();

0 commit comments

Comments
 (0)