1
Fork 0
mirror of https://github.com/Steffo99/lihzahrd.git synced 2024-11-22 08:04:24 +00:00
lihzahrd/docs/html/world.html

455 lines
29 KiB
HTML
Raw Normal View History

2019-08-12 20:48:55 +00:00
<!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.World &mdash; 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>
2020-04-17 15:03:12 +00:00
<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>
2019-08-12 20:48:55 +00:00
<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" />
2019-08-13 17:56:17 +00:00
<link rel="stylesheet" href="_static/lihzahrd.css" type="text/css" />
2019-08-12 20:48:55 +00:00
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
2019-08-13 17:56:17 +00:00
<link rel="next" title="lihzahrd.chests" href="chests.html" />
<link rel="prev" title="API Reference" href="reference.html" />
2019-08-12 20:48:55 +00:00
</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">
2019-08-13 17:56:17 +00:00
<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 current"><a class="current reference internal" href="#">lihzahrd.World</a><ul class="simple">
</ul>
</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"><a class="reference internal" href="tileentities.html">lihzahrd.tileentities</a></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>
2019-08-12 20:48:55 +00:00
</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> &raquo;</li>
2019-08-13 17:56:17 +00:00
<li><a href="reference.html">API Reference</a> &raquo;</li>
2019-08-12 20:48:55 +00:00
<li>lihzahrd.World</li>
<li class="wy-breadcrumbs-aside">
<a href="_sources/world.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-world">
<h1>lihzahrd.World<a class="headerlink" href="#lihzahrd-world" title="Permalink to this headline"></a></h1>
<div class="toctree-wrapper compound">
</div>
2020-04-17 15:03:12 +00:00
<dl class="py class">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World">
2020-04-17 15:03:12 +00:00
<em class="property">class </em><code class="sig-prename descclassname">lihzahrd.</code><code class="sig-name descname">World</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">version</span><span class="p">:</span> <span class="n">lihzahrd.header.version.Version</span></em>, <em class="sig-param"><span class="n">savefile_type</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">revision</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">is_favorite</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>, <em class="sig-param"><span class="n">name</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3.7/library/stdtypes.html#str" title="(in Python v3.7)">str</a></span></em>, <em class="sig-param"><span class="n">generator</span><span class="p">:</span> <span class="n">lihzahrd.header.generatorinfo.GeneratorInfo</span></em>, <em class="sig-param"><span class="n">uuid_</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3.7/library/uuid.html#uuid.UUID" title="(in Python v3.7)">uuid.UUID</a></span></em>, <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">bounds</span><span class="p">:</span> <span class="n">lihzahrd.fileutils.rect.Rect</span></em>, <em class="sig-param"><span class="n">size</span><span class="p">:</span> <span class="n">lihzahrd.fileutils.coordinates.Coordinates</span></em>, <em class="sig-param"><span class="n">is_expert</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>, <em class="sig-param"><span class="n">created_on</span></em>, <em class="sig-param"><span class="n">styles</span><span class="p">:</span> <span class="n">lihzahrd.header.styles.Styles</span></em>, <em class="sig-param"><span class="n">backgrounds</span><span class="p">:</span> <span class="n">lihzahrd.header.backgrounds.Backgrounds</span></em>, <em class="sig-param"><span class="n">spawn_point</span><span class="p">:</span> <span class="n">lihzahrd.fileutils.coordinates.Coordinates</span></em>, <em class="sig-param"><span class="n">underground_level</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3.7/library/functions.html#float" title="(in Python v3.7)">float</a></span></em>, <em class="sig-param"><span class="n">cavern_level</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3.7/library/functions.html#float" title="(in Python v3.7)">float</a></span></em>, <em class="sig-param"><span class="n">time</span><span class="p">:</span> <span class="n">lihzahrd.header.time.Time</span></em>, <em class="sig-param"><span class="n">events</span><span class="p">:</span> <span class="n">lihzahrd.header.events.Events</span></em>, <em class="sig-param"><span class="n">dungeon_point</span><span class="p">:</span> <span class="n">lihzahrd.fileutils.coordinates.Coordinates</span></em>, <em class="sig-param"><span class="n">world_evil</span><span class="p">:</span> <span class="n">lihzahrd.header.worldeviltype.WorldEvilType</span></em>, <em class="sig-param"><span class="n">saved_npcs</span><span class="p">:</span> <span class="n">lihzahrd.header.savednpcs.SavedNPCs</span></em>, <em class="sig-param"><span
2019-08-12 20:48:55 +00:00
<dd><p>The Python representation of a Terraria world.</p>
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.altars_smashed">
2020-04-17 15:03:12 +00:00
<code class="sig-name descname">altars_smashed</code><em class="property">: AltarsSmashed</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.altars_smashed" title="Permalink to this definition"></a></dt>
2019-08-12 20:48:55 +00:00
<dd><p>Information related to the destruction of Demon Altars with a Pwnhammer.</p>
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.anglers_quest">
2020-04-17 15:03:12 +00:00
<code class="sig-name descname">anglers_quest</code><em class="property">: AnglerQuest</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.anglers_quest" title="Permalink to this definition"></a></dt>
2019-08-12 20:48:55 +00:00
<dd><p>Information about todays Anglers Quest.</p>
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.backgrounds">
2020-04-17 15:03:12 +00:00
<code class="sig-name descname">backgrounds</code><em class="property">: Backgrounds</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.backgrounds" title="Permalink to this definition"></a></dt>
2019-08-12 20:48:55 +00:00
<dd><p>The backgrounds of the various biomes.</p>
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.bosses_defeated">
2020-04-17 15:03:12 +00:00
<code class="sig-name descname">bosses_defeated</code><em class="property">: BossesDefeated</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.bosses_defeated" title="Permalink to this definition"></a></dt>
2019-08-12 20:48:55 +00:00
<dd><p>Which bosses have been defeated in the world.</p>
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.bounds">
2020-04-17 15:03:12 +00:00
<code class="sig-name descname">bounds</code><em class="property">: Rect</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.bounds" title="Permalink to this definition"></a></dt>
2019-08-12 20:48:55 +00:00
<dd><p>The world size in pixels.</p>
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.cavern_level">
2020-04-17 15:03:12 +00:00
<code class="sig-name descname">cavern_level</code><em class="property">: float</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.cavern_level" title="Permalink to this definition"></a></dt>
2019-08-12 20:48:55 +00:00
<dd><p>The depth at which the cavern biome starts.</p>
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.chests">
2020-04-17 15:03:12 +00:00
<code class="sig-name descname">chests</code><em class="property">: typing.List[Chest]</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.chests" title="Permalink to this definition"></a></dt>
2019-08-12 20:48:55 +00:00
<dd><p>A list of all the containers (chests, barrels) in the world.</p>
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py method">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.create_from_file">
2020-04-17 15:03:12 +00:00
<em class="property">classmethod </em><code class="sig-name descname">create_from_file</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">filename</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3.7/library/stdtypes.html#str" title="(in Python v3.7)">str</a></span></em><span class="sig-paren">)</span><a class="headerlink" href="#lihzahrd.World.create_from_file" title="Permalink to this definition"></a></dt>
2019-08-12 20:48:55 +00:00
<dd><p>Create a World object from a .wld file.</p>
2019-08-13 17:56:17 +00:00
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>Parsing an entire world may take up to a few minutes and quite a bit of memory!</p>
</div>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>filename</strong> The name of the file that should be parsed.</p>
</dd>
</dl>
2019-08-12 20:48:55 +00:00
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.created_on">
<code class="sig-name descname">created_on</code><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.created_on" title="Permalink to this definition"></a></dt>
<dd><p>The date and time this world was created in.</p>
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py method">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.crimson_hearts">
<em class="property">property </em><code class="sig-name descname">crimson_hearts</code><a class="headerlink" href="#lihzahrd.World.crimson_hearts" title="Permalink to this definition"></a></dt>
2019-08-13 17:56:17 +00:00
<dd><p>Information related to the Shadow Orbs or Crimson Hearts in the world.</p>
</dd></dl>
2019-08-12 20:48:55 +00:00
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.dungeon_point">
2020-04-17 15:03:12 +00:00
<code class="sig-name descname">dungeon_point</code><em class="property">: Coordinates</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.dungeon_point" title="Permalink to this definition"></a></dt>
2019-08-12 20:48:55 +00:00
<dd><p>The Old Man spawn point.</p>
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.events">
2020-04-17 15:03:12 +00:00
<code class="sig-name descname">events</code><em class="property">: Events</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.events" title="Permalink to this definition"></a></dt>
2019-08-12 20:48:55 +00:00
<dd><p>Currently ongoing world events.</p>
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.generator">
2020-04-17 15:03:12 +00:00
<code class="sig-name descname">generator</code><em class="property">: GeneratorInfo</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.generator" title="Permalink to this definition"></a></dt>
2019-08-12 20:48:55 +00:00
<dd><p>Information about the generation of this world.</p>
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.id">
2020-04-17 15:03:12 +00:00
<code class="sig-name descname">id</code><em class="property">: int</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.id" title="Permalink to this definition"></a></dt>
2019-08-12 20:48:55 +00:00
<dd><p>The world id. Used to name the minimap file.</p>
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.is_expert">
2020-04-17 15:03:12 +00:00
<code class="sig-name descname">is_expert</code><em class="property">: bool</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.is_expert" title="Permalink to this definition"></a></dt>
2019-08-12 20:48:55 +00:00
<dd><p>If the world is in expert mode or not.</p>
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.is_favorite">
2020-04-17 15:03:12 +00:00
<code class="sig-name descname">is_favorite</code><em class="property">: bool</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.is_favorite" title="Permalink to this definition"></a></dt>
2019-08-12 20:48:55 +00:00
<dd><p>If the world is marked as favorite or not.</p>
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.is_hardmode">
2020-04-17 15:03:12 +00:00
<code class="sig-name descname">is_hardmode</code><em class="property">: bool</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.is_hardmode" title="Permalink to this definition"></a></dt>
2019-08-12 20:48:55 +00:00
<dd><p>Whether or not the world is in hardmode.</p>
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.mobs">
2020-04-17 15:03:12 +00:00
<code class="sig-name descname">mobs</code><em class="property">: typing.List[Mob]</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.mobs" title="Permalink to this definition"></a></dt>
2019-08-12 20:48:55 +00:00
<dd><p>A list of mobs in the world…?</p>
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.name">
2020-04-17 15:03:12 +00:00
<code class="sig-name descname">name</code><em class="property">: str</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.name" title="Permalink to this definition"></a></dt>
2019-08-12 20:48:55 +00:00
<dd><p>The name the world was given at creation. Doesnt always match the filename.</p>
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.npcs">
2020-04-17 15:03:12 +00:00
<code class="sig-name descname">npcs</code><em class="property">: typing.List[NPC]</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.npcs" title="Permalink to this definition"></a></dt>
2019-08-12 20:48:55 +00:00
<dd><p>A list of all the NPCs currently living in the world, including the Old Man.</p>
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.revision">
2020-04-17 15:03:12 +00:00
<code class="sig-name descname">revision</code><em class="property">: int</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.revision" title="Permalink to this definition"></a></dt>
2019-08-12 20:48:55 +00:00
<dd><p>The number of times this world was saved.</p>
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.saved_npcs">
2020-04-17 15:03:12 +00:00
<code class="sig-name descname">saved_npcs</code><em class="property">: SavedNPCs</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.saved_npcs" title="Permalink to this definition"></a></dt>
2019-08-12 20:48:55 +00:00
<dd><p>The NPCs that were rescued by the player.</p>
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.savefile_type">
<code class="sig-name descname">savefile_type</code><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.savefile_type" title="Permalink to this definition"></a></dt>
<dd><p>The format of the save file. Should be 2 for all versions following 1.2.</p>
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.shadow_orbs">
2020-04-17 15:03:12 +00:00
<code class="sig-name descname">shadow_orbs</code><em class="property">: ShadowOrbs</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.shadow_orbs" title="Permalink to this definition"></a></dt>
2019-08-12 20:48:55 +00:00
<dd><p>Information related to the Shadow Orbs or Crimson Hearts in the world.</p>
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.signs">
2020-04-17 15:03:12 +00:00
<code class="sig-name descname">signs</code><em class="property">: typing.List[Sign]</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.signs" title="Permalink to this definition"></a></dt>
2019-08-12 20:48:55 +00:00
<dd><p>A list of all non-empty signs in the world.</p>
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.size">
2020-04-17 15:03:12 +00:00
<code class="sig-name descname">size</code><em class="property">: Coordinates</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.size" title="Permalink to this definition"></a></dt>
2019-08-12 20:48:55 +00:00
<dd><p>The world size in tiles.</p>
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.spawn_point">
2020-04-17 15:03:12 +00:00
<code class="sig-name descname">spawn_point</code><em class="property">: Coordinates</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.spawn_point" title="Permalink to this definition"></a></dt>
2019-08-12 20:48:55 +00:00
<dd><p>The coordinates of the spawn point.</p>
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.styles">
2020-04-17 15:03:12 +00:00
<code class="sig-name descname">styles</code><em class="property">: Styles</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.styles" title="Permalink to this definition"></a></dt>
2019-08-12 20:48:55 +00:00
<dd><p>The styles of various world elements.</p>
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.tile_entities">
2020-04-17 15:03:12 +00:00
<code class="sig-name descname">tile_entities</code><em class="property">: typing.List[TileEntity]</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.tile_entities" title="Permalink to this definition"></a></dt>
2019-08-12 20:48:55 +00:00
<dd><p>A list of tile entities in the world, such as Training Dummies, Item Frames and Logic Sensors.</p>
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.tiles">
2020-04-17 15:03:12 +00:00
<code class="sig-name descname">tiles</code><em class="property">: TileMatrix</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.tiles" title="Permalink to this definition"></a></dt>
2019-08-12 20:48:55 +00:00
<dd><p>A matrix of all the tiles present in the world.</p>
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.time">
2020-04-17 15:03:12 +00:00
<code class="sig-name descname">time</code><em class="property">: Time</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.time" title="Permalink to this definition"></a></dt>
2019-08-12 20:48:55 +00:00
<dd><p>Game time related information.</p>
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.underground_level">
2020-04-17 15:03:12 +00:00
<code class="sig-name descname">underground_level</code><em class="property">: float</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.underground_level" title="Permalink to this definition"></a></dt>
2019-08-12 20:48:55 +00:00
<dd><p>The depth at which the underground biome starts.</p>
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.uuid">
2020-04-17 15:03:12 +00:00
<code class="sig-name descname">uuid</code><em class="property">: uuid.UUID</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.uuid" title="Permalink to this definition"></a></dt>
2019-08-12 20:48:55 +00:00
<dd><p>The Universally Unique ID of this world.</p>
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.version">
2020-04-17 15:03:12 +00:00
<code class="sig-name descname">version</code><em class="property">: Version</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.version" title="Permalink to this definition"></a></dt>
2019-08-12 20:48:55 +00:00
<dd><p>The game version when this savefile was last saved.</p>
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.weighed_pressure_plates">
2020-04-17 15:03:12 +00:00
<code class="sig-name descname">weighed_pressure_plates</code><em class="property">: typing.List[WeighedPressurePlate]</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.weighed_pressure_plates" title="Permalink to this definition"></a></dt>
2019-08-12 20:48:55 +00:00
<dd><p>A list of all Weighed Pressure Plates in the world.</p>
</dd></dl>
2020-04-17 15:03:12 +00:00
<dl class="py attribute">
2019-08-12 20:48:55 +00:00
<dt id="lihzahrd.World.world_evil">
2020-04-17 15:03:12 +00:00
<code class="sig-name descname">world_evil</code><em class="property">: WorldEvilType</em><em class="property"> = None</em><a class="headerlink" href="#lihzahrd.World.world_evil" title="Permalink to this definition"></a></dt>
2019-08-12 20:48:55 +00:00
<dd><p>Whether the world has Corruption or Crimson.</p>
</dd></dl>
</dd></dl>
</div>
</div>
</div>
<footer>
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
2019-08-13 17:56:17 +00:00
<a href="chests.html" class="btn btn-neutral float-right" title="lihzahrd.chests" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
2019-08-12 20:48:55 +00:00
2019-08-13 17:56:17 +00:00
<a href="reference.html" class="btn btn-neutral float-left" title="API Reference" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
2019-08-12 20:48:55 +00:00
</div>
<hr/>
<div role="contentinfo">
<p>
&copy; 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>