mirror of
https://github.com/Steffo99/lihzahrd.git
synced 2024-11-22 16:14:23 +00:00
386 lines
No EOL
20 KiB
HTML
386 lines
No EOL
20 KiB
HTML
|
|
|
|
<!DOCTYPE html>
|
|
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
|
|
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
|
|
<head>
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>lihzahrd.tileentities — lihzahrd documentation</title>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript" src="_static/js/modernizr.min.js"></script>
|
|
|
|
|
|
<script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
|
|
<script src="_static/jquery.js"></script>
|
|
<script src="_static/underscore.js"></script>
|
|
<script src="_static/doctools.js"></script>
|
|
<script src="_static/language_data.js"></script>
|
|
|
|
<script type="text/javascript" src="_static/js/theme.js"></script>
|
|
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
|
|
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
|
<link rel="stylesheet" href="_static/lihzahrd.css" type="text/css" />
|
|
<link rel="index" title="Index" href="genindex.html" />
|
|
<link rel="search" title="Search" href="search.html" />
|
|
<link rel="next" title="lihzahrd.tiles" href="tiles.html" />
|
|
<link rel="prev" title="lihzahrd.signs" href="signs.html" />
|
|
</head>
|
|
|
|
<body class="wy-body-for-nav">
|
|
|
|
|
|
<div class="wy-grid-for-nav">
|
|
|
|
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
|
|
<div class="wy-side-scroll">
|
|
<div class="wy-side-nav-search" >
|
|
|
|
|
|
|
|
<a href="index.html" class="icon icon-home"> lihzahrd
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div role="search">
|
|
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
|
|
<input type="text" name="q" placeholder="Search docs" />
|
|
<input type="hidden" name="check_keywords" value="yes" />
|
|
<input type="hidden" name="area" value="default" />
|
|
</form>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ul class="current">
|
|
<li class="toctree-l1"><a class="reference internal" href="usage.html">Usage guide</a></li>
|
|
<li class="toctree-l1 current"><a class="reference internal" href="reference.html">API Reference</a><ul class="current">
|
|
<li class="toctree-l2"><a class="reference internal" href="world.html">lihzahrd.World</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="chests.html">lihzahrd.chests</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="header.html">lihzahrd.header</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="npcs.html">lihzahrd.npcs</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="pressureplates.html">lihzahrd.pressureplates</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="signs.html">lihzahrd.signs</a></li>
|
|
<li class="toctree-l2 current"><a class="current reference internal" href="#">lihzahrd.tileentities</a><ul class="simple">
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l2"><a class="reference internal" href="tiles.html">lihzahrd.tiles</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="townmanager.html">lihzahrd.townmanager</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="errors.html">lihzahrd.errors</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="fileutils.html">lihzahrd.fileutils</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="timer.html">lihzahrd.timer</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
|
|
|
|
|
|
<nav class="wy-nav-top" aria-label="top navigation">
|
|
|
|
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
|
|
<a href="index.html">lihzahrd</a>
|
|
|
|
</nav>
|
|
|
|
|
|
<div class="wy-nav-content">
|
|
|
|
<div class="rst-content">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div role="navigation" aria-label="breadcrumbs navigation">
|
|
|
|
<ul class="wy-breadcrumbs">
|
|
|
|
<li><a href="index.html">Docs</a> »</li>
|
|
|
|
<li><a href="reference.html">API Reference</a> »</li>
|
|
|
|
<li>lihzahrd.tileentities</li>
|
|
|
|
|
|
<li class="wy-breadcrumbs-aside">
|
|
|
|
|
|
<a href="_sources/tileentities.rst.txt" rel="nofollow"> View page source</a>
|
|
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
|
<hr/>
|
|
</div>
|
|
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
|
<div itemprop="articleBody">
|
|
|
|
<div class="section" id="lihzahrd-tileentities">
|
|
<h1>lihzahrd.tileentities<a class="headerlink" href="#lihzahrd-tileentities" title="Permalink to this headline">¶</a></h1>
|
|
<div class="toctree-wrapper compound">
|
|
</div>
|
|
<span class="target" id="module-lihzahrd.tileentities"></span><dl class="py class">
|
|
<dt id="lihzahrd.tileentities.TileEntity">
|
|
<em class="property">class </em><code class="sig-prename descclassname">lihzahrd.tileentities.</code><code class="sig-name descname">TileEntity</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">id_</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3.7/library/functions.html#int" title="(in Python v3.7)">int</a></span></em>, <em class="sig-param"><span class="n">position</span><span class="p">:</span> <span class="n">lihzahrd.fileutils.coordinates.Coordinates</span></em>, <em class="sig-param"><span class="n">extra</span><span class="p">:</span> <span class="n">Union<span class="p">[</span>lihzahrd.tileentities.targetdummy.TargetDummy<span class="p">, </span>lihzahrd.tileentities.itemframe.ItemFrame<span class="p">, </span>lihzahrd.tileentities.logicsensor.LogicSensor<span class="p">]</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#lihzahrd.tileentities.TileEntity" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>A TileEntity, such as a Training Dummy, an Item Frame or a Logic Sensor.</p>
|
|
<dl class="py attribute">
|
|
<dt id="lihzahrd.tileentities.TileEntity.data">
|
|
<code class="sig-name descname">data</code><a class="headerlink" href="#lihzahrd.tileentities.TileEntity.data" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="py attribute">
|
|
<dt id="lihzahrd.tileentities.TileEntity.id">
|
|
<code class="sig-name descname">id</code><a class="headerlink" href="#lihzahrd.tileentities.TileEntity.id" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="py attribute">
|
|
<dt id="lihzahrd.tileentities.TileEntity.position">
|
|
<code class="sig-name descname">position</code><a class="headerlink" href="#lihzahrd.tileentities.TileEntity.position" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
<dl class="py class">
|
|
<dt id="lihzahrd.tileentities.ItemFrame">
|
|
<em class="property">class </em><code class="sig-prename descclassname">lihzahrd.tileentities.</code><code class="sig-name descname">ItemFrame</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">item</span><span class="p">:</span> <span class="n">lihzahrd.items.itemstack.ItemStack</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lihzahrd.tileentities.ItemFrame" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>An <cite>Item Frame <https://terraria.gamepedia.com/Item_Frame></cite>.</p>
|
|
<dl class="py attribute">
|
|
<dt id="lihzahrd.tileentities.ItemFrame.item">
|
|
<code class="sig-name descname">item</code><a class="headerlink" href="#lihzahrd.tileentities.ItemFrame.item" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
<dl class="py class">
|
|
<dt id="lihzahrd.tileentities.LogicSensor">
|
|
<em class="property">class </em><code class="sig-prename descclassname">lihzahrd.tileentities.</code><code class="sig-name descname">LogicSensor</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">logic_check</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3.7/library/functions.html#int" title="(in Python v3.7)">int</a></span></em>, <em class="sig-param"><span class="n">enabled</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3.7/library/functions.html#bool" title="(in Python v3.7)">bool</a></span></em><span class="sig-paren">)</span><a class="headerlink" href="#lihzahrd.tileentities.LogicSensor" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Data pertaining to a Logic Sensor (<a class="reference external" href="https://terraria.gamepedia.com/Sensors">https://terraria.gamepedia.com/Sensors</a>).</p>
|
|
<dl class="py attribute">
|
|
<dt id="lihzahrd.tileentities.LogicSensor.enabled">
|
|
<code class="sig-name descname">enabled</code><a class="headerlink" href="#lihzahrd.tileentities.LogicSensor.enabled" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="py attribute">
|
|
<dt id="lihzahrd.tileentities.LogicSensor.logic_check">
|
|
<code class="sig-name descname">logic_check</code><a class="headerlink" href="#lihzahrd.tileentities.LogicSensor.logic_check" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
<dl class="py class">
|
|
<dt id="lihzahrd.tileentities.TargetDummy">
|
|
<em class="property">class </em><code class="sig-prename descclassname">lihzahrd.tileentities.</code><code class="sig-name descname">TargetDummy</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">npc</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3.7/library/functions.html#int" title="(in Python v3.7)">int</a></span></em><span class="sig-paren">)</span><a class="headerlink" href="#lihzahrd.tileentities.TargetDummy" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Data pertaining to a Target Dummy (<a class="reference external" href="https://terraria.gamepedia.com/Target_Dummy">https://terraria.gamepedia.com/Target_Dummy</a>)</p>
|
|
</dd></dl>
|
|
|
|
<dl class="py class">
|
|
<dt id="lihzahrd.tileentities.ClothingDisplay">
|
|
<em class="property">class </em><code class="sig-prename descclassname">lihzahrd.tileentities.</code><code class="sig-name descname">ClothingDisplay</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">wearing_items</span><span class="p">:</span> <span class="n">List<span class="p">[</span>lihzahrd.items.itemstack.ItemStack<span class="p">]</span></span></em>, <em class="sig-param"><span class="n">wearing_dyes</span><span class="p">:</span> <span class="n">List<span class="p">[</span>lihzahrd.items.itemstack.ItemStack<span class="p">]</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#lihzahrd.tileentities.ClothingDisplay" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Data pertaining to an item to display clothing.</p>
|
|
<dl class="py method">
|
|
<dt id="lihzahrd.tileentities.ClothingDisplay.dyes_count">
|
|
<em class="property">property </em><code class="sig-name descname">dyes_count</code><a class="headerlink" href="#lihzahrd.tileentities.ClothingDisplay.dyes_count" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="py method">
|
|
<dt id="lihzahrd.tileentities.ClothingDisplay.items_count">
|
|
<em class="property">property </em><code class="sig-name descname">items_count</code><a class="headerlink" href="#lihzahrd.tileentities.ClothingDisplay.items_count" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="py method">
|
|
<dt id="lihzahrd.tileentities.ClothingDisplay.total_count">
|
|
<em class="property">property </em><code class="sig-name descname">total_count</code><a class="headerlink" href="#lihzahrd.tileentities.ClothingDisplay.total_count" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="py attribute">
|
|
<dt id="lihzahrd.tileentities.ClothingDisplay.wearing_dyes">
|
|
<code class="sig-name descname">wearing_dyes</code><a class="headerlink" href="#lihzahrd.tileentities.ClothingDisplay.wearing_dyes" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>What dyes is the mannequin wearing.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="py attribute">
|
|
<dt id="lihzahrd.tileentities.ClothingDisplay.wearing_items">
|
|
<code class="sig-name descname">wearing_items</code><a class="headerlink" href="#lihzahrd.tileentities.ClothingDisplay.wearing_items" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>What items is the mannequin wearing.</p>
|
|
</dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
<dl class="py class">
|
|
<dt id="lihzahrd.tileentities.Mannequin">
|
|
<em class="property">class </em><code class="sig-prename descclassname">lihzahrd.tileentities.</code><code class="sig-name descname">Mannequin</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">wearing_items</span><span class="p">:</span> <span class="n">List<span class="p">[</span>lihzahrd.items.itemstack.ItemStack<span class="p">]</span></span></em>, <em class="sig-param"><span class="n">wearing_dyes</span><span class="p">:</span> <span class="n">List<span class="p">[</span>lihzahrd.items.itemstack.ItemStack<span class="p">]</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#lihzahrd.tileentities.Mannequin" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>A <a class="reference external" href="https://terraria.gamepedia.com/Mannequin">Mannequin</a>
|
|
/ <a class="reference external" href="https://terraria.gamepedia.com/Womannequin">Womannequin</a> containing up to 3 dyed armor pieces and up
|
|
to 5 dyed accessories.</p>
|
|
<dl class="py attribute">
|
|
<dt id="lihzahrd.tileentities.Mannequin.wearing_dyes">
|
|
<code class="sig-name descname">wearing_dyes</code><a class="headerlink" href="#lihzahrd.tileentities.Mannequin.wearing_dyes" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="py attribute">
|
|
<dt id="lihzahrd.tileentities.Mannequin.wearing_items">
|
|
<code class="sig-name descname">wearing_items</code><a class="headerlink" href="#lihzahrd.tileentities.Mannequin.wearing_items" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
<dl class="py class">
|
|
<dt id="lihzahrd.tileentities.HatRack">
|
|
<em class="property">class </em><code class="sig-prename descclassname">lihzahrd.tileentities.</code><code class="sig-name descname">HatRack</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">wearing_items</span><span class="p">:</span> <span class="n">List<span class="p">[</span>lihzahrd.items.itemstack.ItemStack<span class="p">]</span></span></em>, <em class="sig-param"><span class="n">wearing_dyes</span><span class="p">:</span> <span class="n">List<span class="p">[</span>lihzahrd.items.itemstack.ItemStack<span class="p">]</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#lihzahrd.tileentities.HatRack" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>A <a class="reference external" href="https://terraria.gamepedia.com/Hat_Rack">Hat Rack</a> containing up to 2 dyed helmets.</p>
|
|
<dl class="py attribute">
|
|
<dt id="lihzahrd.tileentities.HatRack.wearing_dyes">
|
|
<code class="sig-name descname">wearing_dyes</code><a class="headerlink" href="#lihzahrd.tileentities.HatRack.wearing_dyes" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="py attribute">
|
|
<dt id="lihzahrd.tileentities.HatRack.wearing_items">
|
|
<code class="sig-name descname">wearing_items</code><a class="headerlink" href="#lihzahrd.tileentities.HatRack.wearing_items" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
<dl class="py class">
|
|
<dt id="lihzahrd.tileentities.SingleItemDisplay">
|
|
<em class="property">class </em><code class="sig-prename descclassname">lihzahrd.tileentities.</code><code class="sig-name descname">SingleItemDisplay</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">item</span><span class="p">:</span> <span class="n">lihzahrd.items.itemstack.ItemStack</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lihzahrd.tileentities.SingleItemDisplay" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>A display case for a single item, such as a <a class="reference external" href="https://terraria.gamepedia.com/Weapon_Rack">Weapon Rack</a>,
|
|
a <cite>Item Frame <https://terraria.gamepedia.com/Item_Frame></cite> or a <a class="reference external" href="https://terraria.gamepedia.com/Plate">Plate</a>.</p>
|
|
<dl class="py attribute">
|
|
<dt id="lihzahrd.tileentities.SingleItemDisplay.item">
|
|
<code class="sig-name descname">item</code><a class="headerlink" href="#lihzahrd.tileentities.SingleItemDisplay.item" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>The item which is on display.</p>
|
|
</dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
<dl class="py class">
|
|
<dt id="lihzahrd.tileentities.Pylon">
|
|
<em class="property">class </em><code class="sig-prename descclassname">lihzahrd.tileentities.</code><code class="sig-name descname">Pylon</code><a class="headerlink" href="#lihzahrd.tileentities.Pylon" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Data pertaining to a Pylon (<a class="reference external" href="https://terraria.gamepedia.com/Pylons">https://terraria.gamepedia.com/Pylons</a>)</p>
|
|
</dd></dl>
|
|
|
|
<dl class="py class">
|
|
<dt id="lihzahrd.tileentities.Plate">
|
|
<em class="property">class </em><code class="sig-prename descclassname">lihzahrd.tileentities.</code><code class="sig-name descname">Plate</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">item</span><span class="p">:</span> <span class="n">lihzahrd.items.itemstack.ItemStack</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lihzahrd.tileentities.Plate" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>A <a class="reference external" href="https://terraria.gamepedia.com/Plate">Plate</a>.</p>
|
|
<dl class="py attribute">
|
|
<dt id="lihzahrd.tileentities.Plate.item">
|
|
<code class="sig-name descname">item</code><a class="headerlink" href="#lihzahrd.tileentities.Plate.item" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
<dl class="py class">
|
|
<dt id="lihzahrd.tileentities.WeaponRack">
|
|
<em class="property">class </em><code class="sig-prename descclassname">lihzahrd.tileentities.</code><code class="sig-name descname">WeaponRack</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">item</span><span class="p">:</span> <span class="n">lihzahrd.items.itemstack.ItemStack</span></em><span class="sig-paren">)</span><a class="headerlink" href="#lihzahrd.tileentities.WeaponRack" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>A <a class="reference external" href="https://terraria.gamepedia.com/Weapon_Rack">Weapon Rack</a>.</p>
|
|
<dl class="py attribute">
|
|
<dt id="lihzahrd.tileentities.WeaponRack.item">
|
|
<code class="sig-name descname">item</code><a class="headerlink" href="#lihzahrd.tileentities.WeaponRack.item" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<footer>
|
|
|
|
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
|
|
|
|
<a href="tiles.html" class="btn btn-neutral float-right" title="lihzahrd.tiles" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
|
|
|
|
|
|
<a href="signs.html" class="btn btn-neutral float-left" title="lihzahrd.signs" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
|
|
|
|
</div>
|
|
|
|
|
|
<hr/>
|
|
|
|
<div role="contentinfo">
|
|
<p>
|
|
© Copyright 2019, Stefano Pigozzi
|
|
|
|
</p>
|
|
</div>
|
|
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
|
|
|
|
</footer>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
jQuery(function () {
|
|
SphinxRtdTheme.Navigation.enable(true);
|
|
});
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
</html> |