forked from mirrors/NBTExplorer
Exposing raw NBT Source property to several INbtObjects
This commit is contained in:
parent
4a24f40d82
commit
9f3312d790
4 changed files with 25 additions and 1 deletions
|
@ -96,6 +96,14 @@ namespace Substrate
|
|||
set { _onGround = (byte)(value ? 1 : 0); }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the source <see cref="TagNodeCompound"/> used to create this <see cref="Entity"/> if it exists.
|
||||
/// </summary>
|
||||
public TagNodeCompound Source
|
||||
{
|
||||
get { return _source; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Constructs a new generic <see cref="Entity"/> with default values.
|
||||
/// </summary>
|
||||
|
|
|
@ -95,6 +95,14 @@ namespace Substrate
|
|||
get { return _enchantments; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the source <see cref="TagNodeCompound"/> used to create this <see cref="Item"/> if it exists.
|
||||
/// </summary>
|
||||
public TagNodeCompound Source
|
||||
{
|
||||
get { return _source; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="SchemaNode"/> representing the schema of an item.
|
||||
/// </summary>
|
||||
|
|
|
@ -238,6 +238,14 @@ namespace Substrate
|
|||
set { _hardcore = value ? (byte)1 : (byte)0; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the source <see cref="TagNodeCompound"/> used to create this <see cref="Level"/> if it exists.
|
||||
/// </summary>
|
||||
public TagNodeCompound Source
|
||||
{
|
||||
get { return _source; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="SchemaNode"/> representing the schema of a level.
|
||||
/// </summary>
|
||||
|
|
|
@ -65,7 +65,7 @@ namespace Substrate
|
|||
/// <summary>
|
||||
/// Gets the source <see cref="TagNodeCompound"/> used to create this <see cref="TileEntity"/> if it exists.
|
||||
/// </summary>
|
||||
protected TagNodeCompound Source
|
||||
public TagNodeCompound Source
|
||||
{
|
||||
get { return _source; }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue