LootBags

LootBags

31M Downloads

Help please

MasterSloth1 opened this issue ยท 9 comments

commented

im probably derping somewhere along the lines but i cant figure this out for the life of me. im trying to create custom lootbags using the whitelist command in the config, but when i run lootbags_reloadconfig i get an error,
b

My code is
Lootbags_BagConfig.txt

commented

You're missing the weights for each of them, you have
minecraft:string:0:49:49
you need:
<mod id>:<item name>:<damage range>:<minimum stack size>:<maximum stack size>:<weight>

commented

how did i miss that ๐Ÿคฆโ€โ™‚๏ธ sorry for wasting your time

commented

so if i understand this correctly i have to create a resource pack in order to get the default loot bag textures? all i want is your texture but change the colour to a different one but keep the default texture

commented

You can use the $BAGCOLOR command to use the default texture with a custom colour applied. The wiki entry is included for clarity.

$BAGCOLOR:<main color>:<secondary color> - This command will set the bag texture to a default two-toned bag instead of a pre-defined one, colorizing the body to the main color and the neck to the secondary color. This has the benefit of bag customization without the need of resource pack creation. The colors are RGB colors separated by vertical bars (R|G|B). The default Worn Out bag shows an example of this command.

commented

thats what i thought but when i load reload the config the textures are not there
b

commented

omg i just realised i have $BAGTEXTCOLOR:$WHITE not $BAGCOLOR

commented

also while your here can you please elaborate on how to convert nbt to bytes i want to add tinkers patterns to a loot bag but im just confused lol thank you in advanced

commented

the lootbags_helditemdump will give you the whitelist entry for whatever you're currently holding including the NBT data.

commented

thanks very much for your help ๐Ÿ˜ƒ