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); }
|
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>
|
/// <summary>
|
||||||
/// Constructs a new generic <see cref="Entity"/> with default values.
|
/// Constructs a new generic <see cref="Entity"/> with default values.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -95,6 +95,14 @@ namespace Substrate
|
||||||
get { return _enchantments; }
|
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>
|
/// <summary>
|
||||||
/// Gets a <see cref="SchemaNode"/> representing the schema of an item.
|
/// Gets a <see cref="SchemaNode"/> representing the schema of an item.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -238,6 +238,14 @@ namespace Substrate
|
||||||
set { _hardcore = value ? (byte)1 : (byte)0; }
|
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>
|
/// <summary>
|
||||||
/// Gets a <see cref="SchemaNode"/> representing the schema of a level.
|
/// Gets a <see cref="SchemaNode"/> representing the schema of a level.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -65,7 +65,7 @@ namespace Substrate
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the source <see cref="TagNodeCompound"/> used to create this <see cref="TileEntity"/> if it exists.
|
/// Gets the source <see cref="TagNodeCompound"/> used to create this <see cref="TileEntity"/> if it exists.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected TagNodeCompound Source
|
public TagNodeCompound Source
|
||||||
{
|
{
|
||||||
get { return _source; }
|
get { return _source; }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue