A Fabric port of structure-item-mod
Go to file
2021-04-01 12:16:16 +02:00
gradle/wrapper port to fabric 2020-04-19 22:54:00 +02:00
src/main fixed player deletion bug, added options for entity (dis)placement 2021-04-01 11:56:02 +02:00
.gitignore port to fabric 2020-04-19 22:54:00 +02:00
build.gradle update to minecraft 1.16.5 2021-03-31 22:10:05 +02:00
gradle.properties Bump version 2021-04-01 12:16:16 +02:00
gradlew port to fabric 2020-04-19 22:54:00 +02:00
gradlew.bat port to fabric 2020-04-19 22:54:00 +02:00
LICENSE port to fabric 2020-04-19 22:54:00 +02:00
README.md fix README formatting 2021-04-01 11:57:58 +02:00
settings.gradle port to fabric 2020-04-19 22:54:00 +02:00

Structure Item Mod (Fabric)

Started as a Fabric port of structure-item-mod.
Currently, the only supported version of the mod

Example Usage

/give User structure_item:item{offset: [I; 0, 5, 0],structure: "structure:mine",allowedOn: "minecraft:stone",blacklist:["minecraft:bedrock"], replaceEntities:0, placeEntities:0} 1

And tada, you have an item capable of placing structures on right click.
If the clicked block is Stone and neither Diamond blocks nor Bedrock is in the way, it will place the structure "structure:mine" moved up by 5 blocks. (The low coordinate corner will start 5 blocks above the block you would have placed if this item were a block). Blocks (non structure voids) delete intersecting entities.
If you leave out "structure", it won't work.
If you leave out "offset", it will place the structure at the block you clicked at, expanding in your view direction, up and to both sides. if you look up or down, it'll place the structure centered above or below the block you clicked at.
If you leave out "blacklist", it will replace anything.
If you leave out "allowedOn", it will allow "placement" on any block.
If you leave out "replaceEntities" or set it to 1, entities in the way will be deleted.
If you leave out "placeEntities" or set it to 1, entities saved in the structure will be placed.

Any errors made by the creators will be displayed in chat, any errors made by the user will produce a fat massage in the middle of the screen.

If you use this mod, you may want to change the model of the item (currently = stick) and fix the language file.