no fun allowed
data and component driven adventure mode location protection for showcase servers
no fun allowed
no fun allowed
data and component driven adventure mode location protection for showcase servers
uses the yttr adventure helper adapted for components to prevent use of dangerous items in adventure mode situations
created because of blanketcon 23 creative problem
item usage location only works for right click
- `nofunallowed:usage_ignore` item tag to bypass location checking - `nofunallowed:usage_strict` item tag to prevent item from being used without a component with a location or dimension or both - `nofunallowed:usage_none` item tag to fully disable an item - `nofunallowed:obliterate` item tag to delete items when not usable - `nofunallowed:usage_none` block tag to disable block left and right clicking
component format takes optional `dimension` identifier for permitted dimension and optional `location` box object for permitted area
box object format is `min_x` `max_x` `min_y` `max_y` `min_z` `max_z` doubles to make a bounding box
other mods can use the locational use component for their own component types for different actions