Copyer
The mod and datapack enable copying objects, entities, and blocks in the form of items or books with commands to obtain them. This significantly speeds up the workflow, allows quickly discovering which commands are needed to obtain specific content, and simplifies transferring blocks and entities between worlds - simply copy the command from the book and paste it where needed.
It's worth noting that the mod and datapack development is ongoing, however, the core functionality is already available for use.
Usage
Working with Blocks
To copy a block, stand on it and execute one of the following commands:
Copying to a book:
/trigger block_book_np- block data without additional properties/trigger block_book_p- block data with all properties
/trigger block_book_np
/trigger block_book_p
Copying to inventory:
/trigger block_item_np- block without properties/trigger block_item_p- block with properties
/trigger block_item_np
/trigger block_item_p
Working with Entities
To copy an entity, approach it and use one of the commands:
/trigger entity_book- entity as a book with command/trigger entity_egg- entity as a spawn egg
/trigger entity_book
/trigger entity_egg
Working with Items
To copy an item, hold it in your main hand and execute:
/trigger item_book- item as a book with command
/trigger item_book
Requirements
For the mod to work with Fabric loader, Fabric API installation is required