Posted February 14, 20187 yr I want fences to stop connecting to my blocks. So I override this method: Override public boolean canBeConnectedTo(IBlockAccess world, BlockPos pos, EnumFacing facing) { return false; } But that didnt work. Now I tried this: @Override public boolean isFullCube(IBlockState state) { return false; } Because it was in the glass block class, but that doesnt seem to work either.. This is my whole block class: Hastebin: https://hastebin.com/ugunowidax.java Thanks Edited February 14, 20187 yr by MinecraftMart
February 14, 20187 yr Author 15 minutes ago, diesieben07 said: Problematic code, issue 4. Override getBlockFaceShape. Works like a charm! Thanks for pointing out the issue too Edited February 14, 20187 yr by MinecraftMart
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.