BG-Software-LLC / SSB-OneBlock

OneBlock Addon for SuperiorSkyblock2
GNU General Public License v3.0
17 stars 10 forks source link

Snow nbt issue #59

Open DextralityNetwork opened 1 year ago

DextralityNetwork commented 1 year ago

Minecraft's Version

1.17.1

Plugin's Version

Oneblock: [SSBOneBlock-1.2.1-b55.jar] SuperiorSkyblock2 version 2022.9-b969

Describe the bug

The land block has the snowy nbt set to true however it appears as if it had no properties added

image image

To Reproduce

image Start plugins normally, set nbt snowy property to true

Additional Information

No response

OmerBenGera commented 1 year ago

It seems to not work even if I run /setblock command. Therefore, I suspect it's not an issue with the plugin but Spigot itself blocking it from happening. Instead, you can try add another setblock above the grass block to set a snow layer, which will automatically convert the block into its snowy variant.

DextralityNetwork commented 1 year ago

"......you can try add another setblock above the grass block to set a snow layer, which will automatically convert the block into its snowy variant...." How i can do that?

OmerBenGera commented 1 year ago

"......you can try add another setblock above the grass block to set a snow layer, which will automatically convert the block into its snowy variant...." How i can do that?

You can find an example of multiple block placements in the default files at the end phase - the last action is actually multiple block places.

DextralityNetwork commented 1 year ago

mmm I tried to do that but it doesn't really look the same, I hope I can solve it :( image { "next-upgrade-cooldown": 30, "actions": [ { "actions": [ { "action": "set_block", "block": "grass_block" }, { "action": "set_block", "block": "snow", "offset": "0, 1, 0" }
] }, { "actions": [ { "action": "set_block", "block": "grass_block" }, { "action": "set_block", "block": "snow", "offset": "0, 1, 0" }
] }, { "actions": [ { "action": "set_block", "block": "grass_block" }, { "action": "set_block", "block": "snow", "offset": "0, 1, 0" }
] },
{ "actions": [ { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]" }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]" }, { "action": "command", "execute": [ "is admin title {player} 40 80 12 -title &8[ &b■ &8] &b&lLlanuras nevadas &8• -subtitle &b❄ &fAplanado y frío a la vez &f●", "island admin msgall {player} &6 ", "island admin msgall {player} &6 ", "island admin msgall {player} &6 Has llegado a la fase 3: ¡Bioma de nieve!", "island admin msgall {player} &e El invierno cubre la tierra con sus manos heladas.", "island admin msgall {player} &6 ", "island admin msgall {player} &6 " ] } ] }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]", "amount": 7 }, { "action": "set_block", "block": "snow_block", "amount": 12 }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]", "amount": 4 }, { "action": "set_block", "block": "spruce_log", "amount": 2 }, { "action": "set_block", "block": "snow_block", "amount": 8 }, { "action": "set_block", "block": "stone", "amount": 7 }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]", "amount": 3 }, { "action": "set_block", "block": "spruce_log" }, { "action": "set_block", "block": "gravel", "amount": 3 }, { "action": "random", "possibilities": "llanuras-nevadas-blocks.json", "amount": 2 }, { "action": "set_block", "block": "granite", "amount": 4 }, { "action": "set_block", "block": "gravel", "amount": 5 }, { "action": "set_block", "block": "oak_log", "amount": 3 }, { "actions": [ { "action": "spawn_entity", "type": "wolf" }, { "action": "set_block", "block": "coal_ore" } ] }, { "action": "set_block", "block": "coal_ore", "amount": 4 }, { "action": "set_block", "block": "oak_log", "amount": 2 }, { "action": "set_block", "block": "coal_ore", "amount": 7 }, { "action": "set_block", "block": "stone", "amount": 5 }, { "action": "set_block", "block": "iron_ore", "amount": 3 }, { "action": "set_block", "block": "spruce_log", "amount": 2 }, { "action": "set_block", "block": "spruce_leaves", "amount": 4 }, { "action": "set_block", "block": "coal_ore", "amount": 4 }, { "actions": [ { "action": "spawn_entity", "type": "fox", "nbt": "{Type:\"snow\"}" }, { "action": "set_block", "block": "andesite" } ] }, { "action": "set_block", "block": "andesite", "amount": 2 }, { "action": "set_block", "block": "packed_ice", "amount": 4 }, { "action": "set_block", "block": "white_concrete_powder" }, { "action": "set_block", "block": "stone", "amount": 7 }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]", "amount": 3 }, { "action": "set_block", "block": "gray_terracotta", "amount": 5 }, { "action": "set_block", "block": "coal_ore" }, { "action": "set_block", "block": "spruce_log", "amount": 4 }, { "actions": [ { "action": "spawn_entity", "type": "stray", "nbt": "{HandItems:[{id:\"minecraft:bow\",Count:1},{}],ArmorItems:[{},{},{},{id:\"minecraft:leather_helmet\",Count:1}]}" }, { "action": "set_block", "block": "white_concrete_powder" } ] }, { "action": "set_block", "block": "white_concrete_powder", "amount": 4 }, { "action": "set_block", "block": "coal_ore", "amount": 3 }, { "action": "set_block", "block": "packed_ice", "amount": 5 }, { "action": "set_block", "block": "white_concrete_powder", "amount": 5 }, { "action": "set_block", "block": "chest", "container": { "name": "Cofre", "min": 2, "max": 4, "contents": "llanuras-nevadas-chests.json" } }, { "action": "set_block", "block": "gravel", "amount": 3 }, { "action": "set_block", "block": "gray_terracotta", "amount": 3 }, { "action": "set_block", "block": "andesite" }, { "action": "set_block", "block": "spruce_log", "amount": 5 }, { "actions": [ { "action": "spawn_entity", "type": "rabbit" }, { "action": "set_block", "block": "birch_log" } ] }, { "action": "set_block", "block": "birch_log", "amount": 3 }, { "action": "set_block", "block": "diorite", "amount": 5 }, { "action": "set_block", "block": "snow_block", "amount": 4 }, { "action": "set_block", "block": "spruce_log", "amount": 3 }, { "action": "set_block", "block": "andesite", "amount": 5 }, { "action": "set_block", "block": "stone", "amount": 4 }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]", "amount": 5 }, { "actions": [ { "action": "spawn_entity", "type": "polar_bear" }, { "action": "set_block", "block": "stone" } ] }, { "action": "set_block", "block": "stone", "amount": 4 }, { "action": "set_block", "block": "ice", "amount": 2 }, { "action": "set_block", "block": "andesite", "amount": 5 }, { "action": "set_block", "block": "gold_ore" }, { "action": "set_block", "block": "spruce_leaves", "amount": 4 }, { "action": "set_block", "block": "gray_terracotta", "amount": 2 }, { "action": "set_block", "block": "redstone_ore", "amount": 4 }, { "action": "set_block", "block": "gravel", "amount": 5 }, { "action": "set_block", "block": "spruce_log", "amount": 3 }, { "action": "set_block", "block": "birch_log", "amount": 2 }, { "actions": [ { "action": "random", "possibilities": "llanuras-nevadas-mobs.json" }, { "action": "set_block", "block": "white_concrete_powder" } ] }, { "action": "set_block", "block": "white_concrete_powder", "amount": 4 }, { "action": "set_block", "block": "stone", "amount": 6 }, { "action": "set_block", "block": "gray_terracotta", "amount": 3 }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]", "amount": 3 }, { "action": "set_block", "block": "gray_terracotta", "amount": 2 }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]", "amount": 6 }, { "action": "set_block", "block": "stone", "amount": 5 }, { "actions": [ { "action": "random", "possibilities": "llanuras-nevadas-mobs.json" }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]" } ] }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]", "amount": 5 }, { "action": "random", "possibilities": "llanuras-nevadas-blocks.json", "amount": 5 }, { "action": "set_block", "block": "granite", "amount": 3 }, { "action": "set_block", "block": "chest", "container": { "name": "Cofre", "min": 2, "max": 4, "contents": "llanuras-nevadas-chests.json" } }, { "action": "random", "possibilities": "llanuras-nevadas-blocks.json", "amount": 5 }, { "action": "set_block", "block": "granite" }, { "action": "set_block", "block": "snow_block", "amount": 3 }, { "action": "set_block", "block": "birch_log" }, { "action": "set_block", "block": "gray_terracotta", "amount": 4 }, { "actions": [ { "action": "random", "possibilities": "llanuras-nevadas-mobs.json" }, { "action": "set_block", "block": "iron_ore" } ] }, { "action": "set_block", "block": "iron_ore", "amount": 4 }, { "action": "set_block", "block": "andesite" }, { "action": "set_block", "block": "packed_ice" }, { "action": "set_block", "block": "white_concrete_powder", "amount": 4 }, { "action": "set_block", "block": "andesite", "amount": 3 }, { "action": "set_block", "block": "gray_terracotta" }, { "action": "set_block", "block": "stone", "amount": 4 }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]", "amount": 5 }, { "action": "set_block", "block": "andesite", "amount": 5 }, { "actions": [ { "action": "random", "possibilities": "llanuras-nevadas-mobs.json" }, { "action": "set_block", "block": "stone" } ] }, { "action": "set_block", "block": "spruce_leaves", "amount": 4 }, { "action": "set_block", "block": "stone", "amount": 4 }, { "action": "set_block", "block": "snow_block", "amount": 4 }, { "action": "set_block", "block": "diorite", "amount": 4 }, { "action": "random", "possibilities": "llanuras-nevadas-blocks.json" }, { "action": "set_block", "block": "andesite", "amount": 4 }, { "action": "set_block", "block": "packed_ice", "amount": 4 }, { "action": "set_block", "block": "gold_ore", "amount": 4 }, { "actions": [ { "action": "random", "possibilities": "llanuras-nevadas-mobs.json" }, { "action": "set_block", "block": "packed_ice" } ] }, { "action": "random", "possibilities": "llanuras-nevadas-blocks.json", "amount": 5 }, { "action": "set_block", "block": "granite" }, { "action": "set_block", "block": "stone", "amount": 3 }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]", "amount": 3 }, { "action": "set_block", "block": "andesite", "amount": 5 }, { "action": "set_block", "block": "iron_ore", "amount": 4 }, { "action": "set_block", "block": "white_concrete_powder", "amount": 2 }, { "action": "set_block", "block": "chest", "container": { "name": "Cofre", "min": 2, "max": 4, "contents": "llanuras-nevadas-chests.json" } }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]", "amount": 5 }, { "actions": [ { "action": "random", "possibilities": "llanuras-nevadas-mobs.json" }, { "action": "set_block", "block": "packed_ice" } ] }, { "action": "set_block", "block": "packed_ice", "amount": 2 }, { "action": "set_block", "block": "andesite", "amount": 5 }, { "action": "set_block", "block": "stone", "amount": 4 }, { "action": "set_block", "block": "gravel", "amount": 3 }, { "action": "set_block", "block": "redstone_ore", "amount": 4 }, { "action": "set_block", "block": "diorite", "amount": 3 }, { "action": "set_block", "block": "stone", "amount": 4 }, { "actions": [ { "action": "random", "possibilities": "llanuras-nevadas-mobs.json" }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]" } ] }, { "action": "set_block", "block": "ice", "amount": 2 }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]", "amount": 3 }, { "action": "set_block", "block": "gravel" }, { "action": "random", "possibilities": "llanuras-nevadas-blocks.json", "amount": 2 }, { "action": "set_block", "block": "snow_block", "amount": 3 }, { "action": "set_block", "block": "white_concrete_powder", "amount": 4 }, { "action": "set_block", "block": "stone", "amount": 3 }, { "action": "set_block", "block": "granite", "amount": 8 }, { "action": "set_block", "block": "andesite", "amount": 3 }, { "actions": [ { "action": "random", "possibilities": "llanuras-nevadas-mobs.json" }, { "action": "set_block", "block": "stone" } ] }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]", "amount": 2 }, { "action": "set_block", "block": "spruce_leaves", "amount": 4 }, { "action": "set_block", "block": "stone" }, { "action": "set_block", "block": "granite", "amount": 3 }, { "action": "set_block", "block": "white_concrete_powder", "amount": 2 }, { "action": "set_block", "block": "iron_ore", "amount": 3 }, { "action": "set_block", "block": "granite", "amount": 4 }, { "action": "set_block", "block": "andesite", "amount": 4 }, { "action": "set_block", "block": "granite" }, { "action": "set_block", "block": "chest", "container": { "name": "Cofre", "min": 2, "max": 4, "contents": "llanuras-nevadas-chests.json" } }, { "action": "set_block", "block": "stone", "amount": 4 }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]" }, { "actions": [ { "action": "random", "possibilities": "llanuras-nevadas-mobs.json" }, { "action": "random", "possibilities": "llanuras-nevadas-blocks.json" } ] }, { "action": "random", "possibilities": "llanuras-nevadas-blocks.json", "amount": 3 }, { "action": "set_block", "block": "white_concrete_powder" }, { "action": "set_block", "block": "packed_ice", "amount": 2 }, { "action": "set_block", "block": "andesite", "amount": 3 }, { "action": "set_block", "block": "snow_block", "amount": 4 }, { "action": "set_block", "block": "packed_ice", "amount": 5 }, { "action": "set_block", "block": "stone", "amount": 4 }, { "action": "set_block", "block": "diorite", "amount": 3 }, { "actions": [ { "action": "random", "possibilities": "llanuras-nevadas-mobs.json" }, { "action": "set_block", "block": "andesite" } ] }, { "action": "set_block", "block": "andesite" }, { "action": "set_block", "block": "stone" }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]", "amount": 7 }, { "action": "set_block", "block": "granite", "amount": 4 }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]" }, { "action": "set_block", "block": "diorite", "amount": 4 }, { "action": "set_block", "block": "packed_ice", "amount": 5 }, { "action": "set_block", "block": "snow_block" }, { "action": "set_block", "block": "granite", "amount": 2 }, { "actions": [ { "action": "random", "possibilities": "llanuras-nevadas-mobs.json" }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]" } ] }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]" }, { "action": "set_block", "block": "andesite" }, { "action": "set_block", "block": "stone" }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]" }, { "action": "set_block", "block": "gravel" }, { "action": "set_block", "block": "white_concrete_powder" }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]", "amount": 4 }, { "action": "set_block", "block": "gravel", "amount": 2 }, { "action": "set_block", "block": "granite", "amount": 4 }, { "action": "set_block", "block": "chest", "container": { "name": "Cofre", "min": 2, "max": 4, "contents": "llanuras-nevadas-chests.json" } }, { "action": "set_block", "block": "spruce_leaves", "amount": 4 }, { "action": "set_block", "block": "diorite", "amount": 5 }, { "action": "set_block", "block": "snow_block", "amount": 3 }, { "action": "set_block", "block": "stone" }, { "action": "set_block", "block": "ice", "amount": 2 }, { "actions": [ { "action": "random", "possibilities": "llanuras-nevadas-mobs.json" }, { "action": "set_block", "block": "stone" } ] }, { "action": "set_block", "block": "stone", "amount": 2 }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]", "amount": 2 }, { "action": "set_block", "block": "packed_ice", "amount": 3 }, { "action": "set_block", "block": "diorite" }, { "action": "set_block", "block": "granite", "amount": 2 }, { "action": "set_block", "block": "diorite" }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]", "amount": 5 }, { "action": "set_block", "block": "packed_ice", "amount": 2 }, { "action": "set_block", "block": "stone", "amount": 3 }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]", "amount": 3 }, { "action": "set_block", "block": "iron_ore" }, { "actions": [ { "action": "random", "possibilities": "llanuras-nevadas-mobs.json" }, { "action": "random", "possibilities": "llanuras-nevadas-blocks.json" } ] }, { "action": "random", "possibilities": "llanuras-nevadas-blocks.json", "amount": 3 }, { "action": "set_block", "block": "iron_ore" }, { "action": "set_block", "block": "stone", "amount": 4 }, { "action": "set_block", "block": "diorite" }, { "action": "set_block", "block": "stone" }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]", "amount": 4 }, { "action": "set_block", "block": "iron_ore", "amount": 2 }, { "action": "set_block", "block": "snow_block", "amount": 4 }, { "action": "set_block", "block": "granite", "amount": 5 }, { "actions": [ { "action": "random", "possibilities": "llanuras-nevadas-mobs.json" }, { "action": "set_block", "block": "stone" } ] }, { "action": "set_block", "block": "stone" }, { "action": "random", "possibilities": "llanuras-nevadas-blocks.json" }, { "action": "set_block", "block": "stone", "amount": 5 }, { "action": "set_block", "block": "chest", "container": { "name": "Cofre", "min": 2, "max": 4, "contents": "llanuras-nevadas-chests.json" } }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]", "amount": 3 }, { "action": "set_block", "block": "stone", "amount": 5 }, { "action": "set_block", "block": "granite", "amount": 3 }, { "action": "set_block", "block": "stone" }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]", "amount": 3 }, { "action": "random", "possibilities": "llanuras-nevadas-blocks.json" }, { "action": "set_block", "block": "gravel", "amount": 2 }, { "actions": [ { "action": "random", "possibilities": "llanuras-nevadas-mobs.json" }, { "action": "set_block", "block": "stone" } ] }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]", "amount": 5 }, { "action": "set_block", "block": "snow_block", "amount": 3 }, { "action": "set_block", "block": "granite", "amount": 3 }, { "action": "set_block", "block": "iron_ore" }, { "action": "set_block", "block": "granite", "amount": 2 }, { "action": "set_block", "block": "diorite" }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]" }, { "action": "set_block", "block": "snow_block", "amount": 3 }, { "action": "set_block", "block": "spruce_leaves", "amount": 4 }, { "action": "set_block", "block": "diorite", "amount": 6 }, { "actions": [ { "action": "random", "possibilities": "llanuras-nevadas-mobs.json" }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]" } ] }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]" }, { "action": "set_block", "block": "snow_block", "amount": 4 }, { "action": "set_block", "block": "gravel", "amount": 4 }, { "action": "set_block", "block": "grass_block", "nbt": "[snowy=true]" }, { "action": "set_block", "block": "snow_block", "amount": 2 }, { "action": "set_block", "block": "gravel", "amount": 6 }, { "action": "set_block", "block": "snow_block", "amount": 3 }, { "action": "set_block", "block": "gravel", "amount": 6 }, { "action": "set_block", "block": "chest", "container": { "name": "Cofre", "min": 2, "max": 4, "contents": "llanuras-nevadas-chests.json" } }, { "action": "set_block", "block": "snow_block", "amount": 3 }, { "action": "set_block", "block": "gravel" }, { "action": "set_block", "block": "diorite", "amount": 3 }, { "action": "set_block", "block": "snow_block", "amount": 2 }, { "action": "set_block", "block": "diorite", "amount": 4 }, { "action": "set_block", "block": "snow_block", "amount": 3 }, { "action": "set_block", "block": "diorite", "amount": 4 }, { "action": "set_block", "block": "snow_block", "amount": 4 }, { "action": "set_block", "block": "diorite", "amount": 3 }, { "actions": [ { "action": "random", "possibilities": "llanuras-nevadas-mobs.json" }, { "action": "set_block", "block": "snow_block" } ] }, { "action": "set_block", "block": "snow_block", "amount": 4 }, { "action": "set_block", "block": "diorite" }, { "action": "set_block", "block": "snow_block" }, { "action": "set_block", "block": "diorite" }, { "action": "set_block", "block": "snow_block" }, { "action": "random", "possibilities": "llanuras-nevadas-blocks.json", "amount": 10 }, { "actions": [ { "action": "random", "possibilities": "llanuras-nevadas-mobs.json" }, { "action": "random", "possibilities": "llanuras-nevadas-blocks.json" } ] }, { "action": "random", "possibilities": "llanuras-nevadas-blocks.json", "amount": 9 }, { "action": "set_block", "block": "chest", "container": { "name": "Cofre", "min": 3, "max": 4, "contents": "superchest.json" } } ] }

DextralityNetwork commented 1 year ago

It would also be good to be able to remove the gravity of the blocks, for example sand or gravel.

OmerBenGera commented 1 year ago

It would also be good to be able to remove the gravity of the blocks, for example sand or gravel.

Place a block under the oneblock.