FANDOM


Piq 40275 400x400
This Article/Section is Marked for Review!

This article needs to be edited to comply with our wiki's standards.
Please fix its grammar and/or add more content.
After you fix this article, please remove this template.

Piq 40275 400x400


The NBT data format is used to save gameplay for entities, players, and tile entities. This page documents the tags LOTR mod uses and adds for tile entities. The basic idea behind the NBT format and how the LOTR mod uses it can be found here. This page uses the same data-type abbreviations and formats as the mentioned page. The example tags can be used in the /setblock command.

List of TagsEdit

ContainersEdit

When a tile entity stores items in slots, it is called a container and has the following tag:

[str] CustomName: The custom name of this container, optional.
[list] Items: A list of the filled slots of this container.

This list in turn contains one compound tag for every slot filled with an item, the format for which can be found here. Each of the following descriptions will give a slot layout diagram if applicable.

Alloy Forges and UnsmeltriesEdit

[sh] BurnTime: The amount of fuel, in ticks, left in the forge or oven.
[sh] SmeltTime: Not applicable to Hobbit Ovens. The progress the container has made in smelting the input items.

Hobbit OvensEdit

[sh] BurnTime: The same as the BurnTime above.
[sh] CookTime: The same as the SmeltTime above.

Kebab StandsEdit

[sh] FuelTime: The same as the BurnTime above.
[sh] CookTime: The same as the SmeltTime above.

Kebab stands treat the Items tag specially:

{} Items: A list of the filled slots of this container.
[bool] SlotItem: Whether this slot contains an item.
[bool] SlotCooked: Whether the item in this slot has been cooked.

If SlotItem is true/1, then the Slot, id, Count, Damage, and tag tags described here are also required.

MillstonesEdit

[int] MillTime: The progress of the mill on the current item.
[bool] Milling: Whether this millstone is currently grinding an item.

BarrelsEdit

Both regular chiseled signs and Ithildin signs have these tags:

[int] BrewingTime: The time, in ticks, this barrel has brewed for.
[b] BarrelMode: The mode the barrel is in. 0 = empty, 1 = brewing, 2 = full

Chiseled SignsEdit

Both regular chiseled signs and Ithildin signs have these tags:

[str] Text[1-8]: The contents of this line of text. Lines over 16 characters in length will fail to display.

An example tag is shown here: {Text1:"Top line",Text8:"Bottom line"} By editing the save file, it is possible to control the color of the text displayed.

Weapon RacksEdit

Both regular chiseled signs and Ithildin signs have these tags:

[bool] HasWeapon: Whether this rack has an item to display.
{} WeaponItem: The item as represented in the Itemstack format.
Community content is available under CC-BY-SA unless otherwise noted.