Draylar / get-off-my-lawn

Keep people off your lawn with claims! Built for Fabric.
https://www.curseforge.com/minecraft/mc-mods/get-off-my-lawn
MIT License
4 stars 18 forks source link

Death chests inside claims cannot be claimed #22

Closed Draylar closed 3 years ago

Draylar commented 3 years ago

image

dandin87 commented 3 years ago

Just wanted to bring this up again. death chests location are stored in /world/data/vanilladeathchest.dat in case that helps at all. Also linking the AoF3 NA server vanilladeathchest.dat file in discord

dandin87 commented 3 years ago

Or perhaps simply allow anything with this tab to be interactable -> [TAG_String] "CustomName": "{"text":"Death Chest"}" /tellme looking-at to-chat Chest (minecraft:chest) has a BlockEntity Full block state: Block{minecraft:chest}[facing=south,type=right,waterlogged=false] Hardness: 2.5000, Explosion resistance: 2.5000, Material: WOOD Block class: net.minecraft.class_2281 BlockState properties: class_2753{name=facing, clazz=class net.minecraft.class_2350, values=[north, south, west, east]}: south class_2754{name=type, clazz=class net.minecraft.class_2745, values=[SINGLE, LEFT, RIGHT]}: RIGHT class_2746{name=waterlogged, clazz=class java.lang.Boolean, values=[true, false]}: false BlockEntity class: net.minecraft.class_2595

BlockEntity NBT (from BlockEntity::write()): [TAG_Compound (6 values)] { [TAG_String] "CustomName": "{"text":"Death Chest"}" [TAG_List (0 values of type ?)] "Items" [ ] [TAG_String] "id": "minecraft:chest" [TAG_Int] "x": 737 [TAG_Int] "y": 179 [TAG_Int] "z": -2273 }

Draylar commented 3 years ago

Wait, Death Chests have tags like that on them? That makes this easier. I'll look into it.