<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:21:30 UTC 2025

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Mojang Studios Jira</title>
    <link>https://bugs.mojang.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en</language>    <build-info>
        <version>9.12.2</version>
        <build-number>9120002</build-number>
        <build-date>10-01-2024</build-date>
    </build-info>


<item>
            <title>[MC-9565] Fences and Cobblestone Walls connect to Fence Gates, which are facing the other direction</title>
                <link>https://bugs.mojang.com/browse/MC-9565</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;What I expected to happen was:&lt;/p&gt;

&lt;p&gt;Fences don&apos;t connect with Fence Gates facing in the other direction&lt;/p&gt;


&lt;p&gt;What actually happened was:&lt;/p&gt;

&lt;p&gt;Fences do connect with Fence Gates facing in the other direction&lt;/p&gt;


&lt;p&gt;Steps to Reproduce:&lt;/p&gt;

&lt;p&gt;1. Place two Fences with a one block gap between&lt;br/&gt;
2. Place a Fence gate, that it looks like a cross with the two fences&lt;/p&gt;</description>
                <environment>Win 8.1, Java 7, GeForce GT 640M, i7-3630QM @ 2.4GHz</environment>
        <key id="23190">MC-9565</key>
            <summary>Fences and Cobblestone Walls connect to Fence Gates, which are facing the other direction</summary>
                <type id="1" iconUrl="https://bugs.mojang.com/secure/viewavatar?size=xsmall&amp;avatarId=18903&amp;avatarType=issuetype">Bug</type>
                                    <status id="5" iconUrl="https://bugs.mojang.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="Excited">Maria Lem&#243;n</assignee>
                                    <reporter username="bl4ckscor3">bl4ckscor3</reporter>
                        <labels>
                            <label>cobblestone_wall</label>
                            <label>fence</label>
                            <label>fence_gate</label>
                            <label>rendering</label>
                    </labels>
                <created>Sun, 10 Feb 2013 16:58:22 +0100</created>
                <updated>Tue, 20 Jun 2017 11:48:39 +0200</updated>
                            <resolved>Wed, 19 Apr 2017 08:03:00 +0200</resolved>
                                    <version>Minecraft 1.4.6</version>
                    <version>Minecraft 1.4.7</version>
                    <version>Snapshot 13w05b</version>
                    <version>Snapshot 13w06a</version>
                    <version>Minecraft 1.5.1</version>
                    <version>Minecraft 1.5.2</version>
                    <version>Snapshot 13w18c</version>
                    <version>Snapshot 13w19a</version>
                    <version>Snapshot 13w24a</version>
                    <version>Snapshot 13w24b</version>
                    <version>Snapshot 13w25a</version>
                    <version>Snapshot 13w25b</version>
                    <version>Snapshot 13w26a</version>
                    <version>Minecraft 1.6.1</version>
                    <version>Minecraft 1.6.2</version>
                    <version>Minecraft 1.6.4</version>
                    <version>Minecraft 13w38b</version>
                    <version>Minecraft 13w38c</version>
                    <version>Minecraft 13w39a</version>
                    <version>Minecraft 13w39b</version>
                    <version>Minecraft 13w42b</version>
                    <version>Minecraft 13w43a</version>
                    <version>Minecraft 1.7.1</version>
                    <version>Minecraft 1.7.2</version>
                    <version>Minecraft 1.7.4</version>
                    <version>Minecraft 14w02c</version>
                    <version>Minecraft 14w03a</version>
                    <version>Minecraft 14w03b</version>
                    <version>Minecraft 1.7.5</version>
                    <version>Minecraft 14w11b</version>
                    <version>Minecraft 14w18b</version>
                    <version>Minecraft 14w19a</version>
                    <version>Minecraft 1.7.10</version>
                    <version>Minecraft 14w27b</version>
                    <version>Minecraft 14w28a</version>
                    <version>Minecraft 14w28b</version>
                    <version>Minecraft 14w29a</version>
                    <version>Minecraft 14w30a</version>
                    <version>Minecraft 14w30b</version>
                    <version>Minecraft 14w30c</version>
                    <version>Minecraft 14w31a</version>
                    <version>Minecraft 14w32a</version>
                    <version>Minecraft 14w32b</version>
                    <version>Minecraft 14w32c</version>
                    <version>Minecraft 14w32d</version>
                    <version>Minecraft 14w33a</version>
                    <version>Minecraft 1.8</version>
                    <version>Minecraft 1.8.1</version>
                    <version>Minecraft 1.8.6</version>
                    <version>Minecraft 1.8.8</version>
                    <version>Minecraft 15w31a</version>
                    <version>Minecraft 15w31c</version>
                    <version>Minecraft 15w32a</version>
                    <version>Minecraft 15w32b</version>
                    <version>Minecraft 15w32c</version>
                    <version>Minecraft 15w33b</version>
                    <version>Minecraft 15w33c</version>
                    <version>Minecraft 15w34a</version>
                    <version>Minecraft 15w36d</version>
                    <version>Minecraft 15w37a</version>
                    <version>Minecraft 15w43c</version>
                    <version>Minecraft 15w44b</version>
                    <version>Minecraft 15w45a</version>
                    <version>Minecraft 1.9 Pre-Release 1</version>
                    <version>Minecraft 1.10.2</version>
                    <version>Minecraft 16w32b</version>
                    <version>Minecraft 16w43a</version>
                    <version>Minecraft 1.11 Pre-Release 1</version>
                    <version>Minecraft 1.11</version>
                    <version>Minecraft 16w50a</version>
                    <version>Minecraft 1.11.1</version>
                    <version>Minecraft 1.11.2</version>
                    <version>Minecraft 17w06a</version>
                    <version>Minecraft 17w13b</version>
                    <version>Minecraft 17w14a</version>
                    <version>Minecraft 17w15a</version>
                                    <fixVersion>Minecraft 17w16a</fixVersion>
                                                        <votes>19</votes>
                                    <watches>9</watches>
                                                                            <comments>
                            <comment id="377545" author="roadhog360" created="Wed, 12 Apr 2017 17:58:59 +0200"  >&lt;p&gt;Still happens in 17w15a. This problem drives me insane with OCD. Please fix it.&lt;/p&gt;</comment>
                            <comment id="349584" author="randojones" created="Wed, 21 Dec 2016 03:26:16 +0100"  >&lt;p&gt;I know the code has probably changed a bit since May of 2014, but maybe that sample commented from then is still a possible solution for this near 4 year old problem?&lt;/p&gt;</comment>
                            <comment id="287043" author="immaterialise" created="Wed, 17 Feb 2016 23:41:40 +0100"  >&lt;p&gt;Still present in 1.9-pre1; it occurs with all fence/fence gate types, including nether brick fence and cobblestone wall.&lt;/p&gt;</comment>
                            <comment id="258287" author="kumasasa" created="Sun, 25 Oct 2015 01:40:27 +0200"  >&lt;p&gt;@&lt;a href=&quot;https://bugs.mojang.com/secure/ViewProfile.jspa?name=bl4ckscor3&quot; class=&quot;user-hover&quot; rel=&quot;bl4ckscor3&quot;&gt;bl4ckscor3&lt;/a&gt;: It&apos;s sufficient to add the affected version, you don&apos;t need to add a &quot;Confirmed for ...&quot; comment.&lt;/p&gt;</comment>
                            <comment id="258285" author="bl4ckscor3" created="Sun, 25 Oct 2015 01:33:40 +0200"  >&lt;p&gt;Confirmed for 15w43c&lt;/p&gt;</comment>
                            <comment id="241089" author="bl4ckscor3" created="Fri, 7 Aug 2015 16:36:08 +0200"  >&lt;p&gt;Reproducable in 15w32c&lt;/p&gt;</comment>
                            <comment id="240938" author="bl4ckscor3" created="Fri, 7 Aug 2015 00:56:12 +0200"  >&lt;p&gt;Still present in 15w32b&lt;/p&gt;</comment>
                            <comment id="240435" author="bl4ckscor3" created="Wed, 5 Aug 2015 16:16:27 +0200"  >&lt;p&gt;Can reproduce in 15w32a&lt;/p&gt;</comment>
                            <comment id="238881" author="bl4ckscor3" created="Sat, 1 Aug 2015 13:34:48 +0200"  >&lt;p&gt;Confirmed for 15w31b/c.&lt;/p&gt;</comment>
                            <comment id="236350" author="bl4ckscor3" created="Wed, 29 Jul 2015 21:59:18 +0200"  >&lt;p&gt;Confirmed for 15w31a. Still all fence gate/fence combinations affected.&lt;/p&gt;

&lt;p&gt;EDIT: Also confirmed for 1.8.8&lt;/p&gt;</comment>
                            <comment id="197377" author="javapython" created="Thu, 4 Sep 2014 04:55:54 +0200"  >&lt;p&gt;confimed for 1.8&lt;/p&gt;</comment>
                            <comment id="188242" author="obbolalink" created="Wed, 13 Aug 2014 19:08:32 +0200"  >&lt;p&gt;14w33a confirmed&lt;/p&gt;</comment>
                            <comment id="186738" author="banana478" created="Sat, 9 Aug 2014 04:22:06 +0200"  >&lt;p&gt;Affects the new fences too.&lt;/p&gt;</comment>
                            <comment id="172991" author="greatmastermario" created="Thu, 10 Jul 2014 17:49:08 +0200"  >&lt;p&gt;Confirmed in 14w28b&lt;/p&gt;</comment>
                            <comment id="172437" author="mojang@randojones.com" created="Wed, 9 Jul 2014 23:48:24 +0200"  >&lt;p&gt;Affects version 14w28a as well.&lt;/p&gt;

&lt;p&gt;Using code from MCP 9.08 for MC1.7.10 I&apos;ve been able to correct this in my personal mod with the following changes:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-style: solid;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeHeader panelHeader&quot; style=&quot;border-bottom-width: 1px;border-bottom-style: solid;&quot;&gt;&lt;b&gt;blocks/BlockFence.java&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; void addCollisionBoxesToList(World par1, &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; par2, &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; par3, &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; par4, AxisAlignedBB par5, List par6, Entity par7)
    {
        &lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt; var8 = &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.func_149826_e(par1, par2, par3, par4 - 1) &amp;amp;&amp;amp; (!(par1.getBlock(par2, par3, par4 - 1) &lt;span class=&quot;code-keyword&quot;&gt;instanceof&lt;/span&gt; BlockFenceGate) || (par1.getBlockMetadata(par2, par3, par4 - 1) &amp;amp; 1) == 1);
        &lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt; var9 = &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.func_149826_e(par1, par2, par3, par4 + 1) &amp;amp;&amp;amp; (!(par1.getBlock(par2, par3, par4 + 1) &lt;span class=&quot;code-keyword&quot;&gt;instanceof&lt;/span&gt; BlockFenceGate) || (par1.getBlockMetadata(par2, par3, par4 + 1) &amp;amp; 1) == 1);
        &lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt; var10 = &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.func_149826_e(par1, par2 - 1, par3, par4) &amp;amp;&amp;amp; (!(par1.getBlock(par2 - 1, par3, par4) &lt;span class=&quot;code-keyword&quot;&gt;instanceof&lt;/span&gt; BlockFenceGate) || (par1.getBlockMetadata(par2 - 1, par3, par4) &amp;amp; 1) == 0);
        &lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt; var11 = &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.func_149826_e(par1, par2 + 1, par3, par4) &amp;amp;&amp;amp; (!(par1.getBlock(par2 + 1, par3, par4) &lt;span class=&quot;code-keyword&quot;&gt;instanceof&lt;/span&gt; BlockFenceGate) || (par1.getBlockMetadata(par2 + 1, par3, par4) &amp;amp; 1) == 0);
.
.
.

    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; void setBlockBoundsBasedOnState(IBlockAccess par1, &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; par2, &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; par3, &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; par4)
    {
        &lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt; var5 = &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.func_149826_e(par1, par2, par3, par4 - 1) &amp;amp;&amp;amp; (!(par1.getBlock(par2, par3, par4 - 1) &lt;span class=&quot;code-keyword&quot;&gt;instanceof&lt;/span&gt; BlockFenceGate) || (par1.getBlockMetadata(par2, par3, par4 - 1) &amp;amp; 1) == 1);
        &lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt; var6 = &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.func_149826_e(par1, par2, par3, par4 + 1) &amp;amp;&amp;amp; (!(par1.getBlock(par2, par3, par4 + 1) &lt;span class=&quot;code-keyword&quot;&gt;instanceof&lt;/span&gt; BlockFenceGate) || (par1.getBlockMetadata(par2, par3, par4 + 1) &amp;amp; 1) == 1);
        &lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt; var7 = &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.func_149826_e(par1, par2 - 1, par3, par4) &amp;amp;&amp;amp; (!(par1.getBlock(par2 - 1, par3, par4) &lt;span class=&quot;code-keyword&quot;&gt;instanceof&lt;/span&gt; BlockFenceGate) || (par1.getBlockMetadata(par2 - 1, par3, par4) &amp;amp; 1) == 0);
        &lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt; var8 = &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.func_149826_e(par1, par2 + 1, par3, par4) &amp;amp;&amp;amp; (!(par1.getBlock(par2 + 1, par3, par4) &lt;span class=&quot;code-keyword&quot;&gt;instanceof&lt;/span&gt; BlockFenceGate) || (par1.getBlockMetadata(par2 + 1, par3, par4) &amp;amp; 1) == 0);
.
.
.
   &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt; func_149826_e(IBlockAccess par1, &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; par2, &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; par3, &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; par4)
    {
        Block var5 = par1.getBlock(par2, par3, par4);
        
        &lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt; ret = (var5 == &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;);
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (!ret)
        {
	        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (var5 &lt;span class=&quot;code-keyword&quot;&gt;instanceof&lt;/span&gt; BlockFence)
	        {
	        	ret = &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockMaterial == var5.blockMaterial;
	        }
	        &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (var5 &lt;span class=&quot;code-keyword&quot;&gt;instanceof&lt;/span&gt; BlockFenceGate)
	        {
	        	ret = &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;;
	        }
	        &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (var5.blockMaterial.isOpaque() &amp;amp;&amp;amp; var5.renderAsNormalBlock())
	        {
	        	ret = var5.blockMaterial != Material.field_151572_C; &lt;span class=&quot;code-comment&quot;&gt;//don&apos;t connect to melons or pumpkins
&lt;/span&gt;	        	ret = ret &amp;amp;&amp;amp; var5 != Blocks.hay_block;
	        }
        }
        &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;code-comment&quot;&gt;//always connect to self
&lt;/span&gt;        {
        	ret = &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;;
        }
        
        &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; ret;
    }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-style: solid;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeHeader panelHeader&quot; style=&quot;border-bottom-width: 1px;border-bottom-style: solid;&quot;&gt;&lt;b&gt;client/renderer/RenderBlocks.java&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt; renderBlockFence(BlockFence par1, &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; par2, &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; par3, &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; par4)
    {
.
.
.
				Block nearBlock = &lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;;

        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (par1.func_149826_e(&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockAccess, par2 - 1, par3, par4) || par1.func_149826_e(&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockAccess, par2 + 1, par3, par4))
        {
            &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (!(&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockAccess.getBlock(par2 - 1, par3, par4) &lt;span class=&quot;code-keyword&quot;&gt;instanceof&lt;/span&gt; BlockFenceGate) || (&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockAccess.getBlockMetadata(par2 - 1, par3, par4) &amp;amp; 1) == 0)
            {
            	var8 = &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;;
            }
            &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (!(&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockAccess.getBlock(par2 + 1, par3, par4) &lt;span class=&quot;code-keyword&quot;&gt;instanceof&lt;/span&gt; BlockFenceGate) || (&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockAccess.getBlockMetadata(par2 + 1, par3, par4) &amp;amp; 1) == 0)
            {
            	var8 = &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;;
            }
        }

        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (par1.func_149826_e(&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockAccess, par2, par3, par4 - 1) || par1.func_149826_e(&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockAccess, par2, par3, par4 + 1))
        {
            &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (!(&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockAccess.getBlock(par2, par3, par4 - 1) &lt;span class=&quot;code-keyword&quot;&gt;instanceof&lt;/span&gt; BlockFenceGate) || (&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockAccess.getBlockMetadata(par2, par3, par4 - 1) &amp;amp; 1) == 1)
            {
            	var9 = &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;;
            }
            &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (!(&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockAccess.getBlock(par2, par3, par4 + 1) &lt;span class=&quot;code-keyword&quot;&gt;instanceof&lt;/span&gt; BlockFenceGate) || (&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockAccess.getBlockMetadata(par2, par3, par4 + 1) &amp;amp; 1) == 1)
            {
            	var9 = &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;;
            }
				}

        &lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt; var10 = par1.func_149826_e(&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockAccess, par2 - 1, par3, par4) &amp;amp;&amp;amp; (!(&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockAccess.getBlock(par2 - 1, par3, par4) &lt;span class=&quot;code-keyword&quot;&gt;instanceof&lt;/span&gt; BlockFenceGate) || (&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockAccess.getBlockMetadata(par2 - 1, par3, par4) &amp;amp; 1) == 0);
        &lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt; var11 = par1.func_149826_e(&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockAccess, par2 + 1, par3, par4) &amp;amp;&amp;amp; (!(&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockAccess.getBlock(par2 + 1, par3, par4) &lt;span class=&quot;code-keyword&quot;&gt;instanceof&lt;/span&gt; BlockFenceGate) || (&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockAccess.getBlockMetadata(par2 + 1, par3, par4) &amp;amp; 1) == 0); 
        &lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt; var12 = par1.func_149826_e(&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockAccess, par2, par3, par4 - 1) &amp;amp;&amp;amp; (!(&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockAccess.getBlock(par2, par3, par4 - 1) &lt;span class=&quot;code-keyword&quot;&gt;instanceof&lt;/span&gt; BlockFenceGate) || (&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockAccess.getBlockMetadata(par2, par3, par4 - 1) &amp;amp; 1) == 1);
        &lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt; var13 = par1.func_149826_e(&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockAccess, par2, par3, par4 + 1) &amp;amp;&amp;amp; (!(&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockAccess.getBlock(par2, par3, par4 + 1) &lt;span class=&quot;code-keyword&quot;&gt;instanceof&lt;/span&gt; BlockFenceGate) || (&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockAccess.getBlockMetadata(par2, par3, par4 + 1) &amp;amp; 1) == 1);
.
.
.&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Sorry to dump this on you - I hope your open to coding changes with actual code examples. I &lt;b&gt;just&lt;/b&gt; &lt;a href=&quot;https://www.reddit.com/r/minecraftsuggestions/comments/2a9o1k/make_fences_and_walls_not_connect_to_gates_on/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;made a suggestion&lt;/a&gt; in reddit/minecraftSuggestions about this very issue.&lt;/p&gt;

&lt;p&gt;This same code can be used to fix BlockWall as well.&lt;/p&gt;

&lt;p&gt;Note that changes to BlockFence.java/func_149826_e contain some alterations to make fences not connect to melons or hay blocks; exclude that at your preference.&lt;/p&gt;</comment>
                            <comment id="157030" author="bl4ckscor3" created="Sun, 11 May 2014 09:57:20 +0200"  >&lt;p&gt;Confirmed for 14w18b and 14w19a&lt;/p&gt;</comment>
                            <comment id="147608" author="garyclosse" created="Sun, 16 Mar 2014 18:29:55 +0100"  >&lt;p&gt;Confirmed for 1.7.5 and 14w11b&lt;/p&gt;</comment>
                            <comment id="107681" author="banana478" created="Sun, 29 Sep 2013 22:28:51 +0200"  >&lt;p&gt;Please do not mark &lt;em&gt;unreleased versions&lt;/em&gt; (anything starting with &quot;Future Version&quot;) as affected. You &lt;b&gt;don&apos;t&lt;/b&gt; have access to them yet.&lt;/p&gt;</comment>
                            <comment id="45029" author="banana478" created="Sun, 10 Feb 2013 17:07:48 +0100"  >&lt;p&gt;Confirmed.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="33333">MC-17287</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="40221">MC-21266</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="44931">MC-25519</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="78226">MC-52191</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="96024">MC-68438</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="98415">MC-70732</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="98484">MC-70793</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="101127">MC-73212</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="21564" name="does.png" size="279262" author="bl4ckscor3" created="Sun, 10 Feb 2013 16:58:22 +0100"/>
                            <attachment id="21565" name="should.png" size="52861" author="bl4ckscor3" created="Sun, 10 Feb 2013 16:58:22 +0100"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sun, 10 Feb 2013 21:19:00 +0100</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10303"><![CDATA[Confirmed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_11700" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i04y8n:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>