Skip to content

Miscellaneous

Neoloxal edited this page Sep 2, 2026 · 5 revisions

Items

Funny Stick

Funny sticks are debug stick like items used to provide an output when used. They automatically generate names and models for themselves. To create a funny stick make a new item class which extends FunnyStick and override the use method.

Toggle Stick

Same as the regular funny stick but toggles. Created the same as a FunnyStick but you need to override the inventoryTick method instead of use. There is alse the toggle method for when the stick is toggled. There is a constructor parameter to automatically disable the stick when unselected (disableOnUnselected) it should be set in the individual toggle stick subclass.

Data Components

Toggle

A simple boolean data component accessible through LibDataComponents.TOGGLE.get().

Clone this wiki locally