Skip to content

KubeJS Item

Pearl edited this page Feb 16, 2024 · 3 revisions
// Set phase restriction for the items
void addItemRestriction(String phase, ItemStack ...item);

// Set phase restriction for the items from the mods
void addItemModRestriction(String phase, String ...mod);

// Unset phase restriction for the items
void removeItemRestriction(String phase, ItemStack ...item);

// Unset phase restriction for the items from the mods
void removeItemModRestriction(String phase, String ...mod);

Clone this wiki locally