<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.ac.ghxx.dev/index.php?action=history&amp;feed=atom&amp;title=Adapter</id>
	<title>Adapter - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ac.ghxx.dev/index.php?action=history&amp;feed=atom&amp;title=Adapter"/>
	<link rel="alternate" type="text/html" href="https://wiki.ac.ghxx.dev/index.php?title=Adapter&amp;action=history"/>
	<updated>2026-08-27T12:15:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wiki.ac.ghxx.dev/index.php?title=Adapter&amp;diff=291&amp;oldid=prev</id>
		<title>GHXX: Created page with &quot;Adapter block This block allows you to interact with non Advanced Computers blocks, such as the vanilla Minecraft jukebox, or blocks from other addon mods. It also offers special functionality for interacting with another Computer. The provided functionality changes based on the block that it is facing. == Provided component == This block provides the &lt;code&gt;adapter&lt;/code&gt; component, offering the following propert...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.ac.ghxx.dev/index.php?title=Adapter&amp;diff=291&amp;oldid=prev"/>
		<updated>2026-08-26T14:17:19Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/File:Adapter_block.png&quot; title=&quot;File:Adapter block.png&quot;&gt;alt=Adapter block|thumb|Adapter block&lt;/a&gt; This block allows you to interact with non &lt;a href=&quot;/Advanced_Computers&quot; title=&quot;Advanced Computers&quot;&gt;Advanced Computers&lt;/a&gt; blocks, such as the vanilla Minecraft jukebox, or blocks from other addon mods. It also offers special functionality for interacting with another &lt;a href=&quot;/Computer&quot; title=&quot;Computer&quot;&gt;Computer&lt;/a&gt;. The provided functionality changes based on the block that it is facing. == Provided component == This block provides the &amp;lt;code&amp;gt;adapter&amp;lt;/code&amp;gt; component, offering the following propert...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[File:Adapter block.png|alt=Adapter block|thumb|Adapter block]]&lt;br /&gt;
This block allows you to interact with non [[Advanced Computers]] blocks, such as the vanilla Minecraft jukebox, or blocks from other addon mods. It also offers special functionality for interacting with another [[Computer]]. The provided functionality changes based on the block that it is facing.&lt;br /&gt;
== Provided component ==&lt;br /&gt;
This block provides the &amp;lt;code&amp;gt;adapter&amp;lt;/code&amp;gt; component, offering the following properties regardless of the block placed in front of it:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+AdapterUD component methods&lt;br /&gt;
!Name&lt;br /&gt;
!Type&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;:getBlockName()&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt;&lt;br /&gt;
|Returns the name of the block that it is facing at. E.g. &amp;lt;code&amp;gt;minecraft:air&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;minecraft:jukebox&amp;lt;/code&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
The remaining properties / methods are only available when the adapter is facing the respective block.&lt;br /&gt;
&lt;br /&gt;
=== Jukebox ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Jukebox properties&lt;br /&gt;
!Name&lt;br /&gt;
!Type&lt;br /&gt;
!Read/Write&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;isPlaying&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;boolean&amp;lt;/code&amp;gt;&lt;br /&gt;
|READ&lt;br /&gt;
|Whether the jukebox is currently playing music.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;containedItem&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt;&lt;br /&gt;
|READ&lt;br /&gt;
|The name of the currently contained item, e.g. &amp;lt;code&amp;gt;minecraft:music_disc_otherside&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;recordName&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt;&lt;br /&gt;
|READ&lt;br /&gt;
|The fancy title of the music disc that is currently playing, e.g. &amp;lt;code&amp;gt;Lena Raine - otherside&amp;lt;/code&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Jukebox methods&lt;br /&gt;
!Name&lt;br /&gt;
!Type&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;:restartPlaying()&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;void&amp;lt;/code&amp;gt;&lt;br /&gt;
|Starts or restarts the current track.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;:eject()&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;void&amp;lt;/code&amp;gt;&lt;br /&gt;
|Ejects the current music disc.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Noteblock ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Noteblock properties&lt;br /&gt;
!Name&lt;br /&gt;
!Type&lt;br /&gt;
!Read/Write&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;instrument&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt;&lt;br /&gt;
|READ&lt;br /&gt;
|The name of the instrument that this noteblock is representing.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;notePitch&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;int&amp;lt;/code&amp;gt;&lt;br /&gt;
|READWRITE&lt;br /&gt;
|The current pitch of the note that would be played.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Computer (Advanced Computers) ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Computer properties&lt;br /&gt;
!Name&lt;br /&gt;
!Type&lt;br /&gt;
!Read/Write&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;runState&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt;&lt;br /&gt;
|READ&lt;br /&gt;
|The computer&amp;#039;s runstate, see [[Computer]].&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;crashReason&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt;&lt;br /&gt;
|READ&lt;br /&gt;
|The crashReason that can also be read via the [[Debugger]].&lt;br /&gt;
|}&lt;br /&gt;
{{Navbox content}}&lt;/div&gt;</summary>
		<author><name>GHXX</name></author>
	</entry>
</feed>