AdvancedPeripherals icon indicating copy to clipboard operation
AdvancedPeripherals copied to clipboard

methods for binding tools/items in inventories to computer methods & events

Open chipsams opened this issue 3 years ago • 0 comments

Describe your idea

the idea: an enchantment that has several effects in relation to computers:

  • sends events on common player actions relating to the item (equip, drop, place, punch, pick up/place in inventory, etc), which get sent to all connected computers. (connected could mean "if a wireless signal from here could reach the machine", "if the machine is in the same inventory/is the inventory", etc.)
  • has methods for each enchanted item, allowing for using the item, dropping it, canceling pickup events, etc. methods which are directional are rotated in accordance with the containers direction (directionless containers may be considered to be facing north). these methods could be part of an item object, or operate on uuids.
  • compasses will be able to inform computers of their direction, including in the case of lodestone compases. there could also be a method for obtaining which angle north is relative to the container.

Describe alternatives you've considered if you've any

No response

Additional context

No response

Linked Issues

No response

chipsams avatar Feb 01 '22 17:02 chipsams