diff --git a/src/main/java/electroblob/wizardry/block/BlockVanishingCobweb.java b/src/main/java/electroblob/wizardry/block/BlockVanishingCobweb.java index 131134db..e37165a9 100644 --- a/src/main/java/electroblob/wizardry/block/BlockVanishingCobweb.java +++ b/src/main/java/electroblob/wizardry/block/BlockVanishingCobweb.java @@ -24,8 +24,9 @@ public class BlockVanishingCobweb extends BlockContainer { super(material); } + @Override @SideOnly(Side.CLIENT) - public BlockRenderLayer getBlockLayer(){ + public BlockRenderLayer getRenderLayer(){ return BlockRenderLayer.CUTOUT; } diff --git a/src/main/java/electroblob/wizardry/registry/WizardryBlocks.java b/src/main/java/electroblob/wizardry/registry/WizardryBlocks.java index bc3df4af..bb2a0db0 100644 --- a/src/main/java/electroblob/wizardry/registry/WizardryBlocks.java +++ b/src/main/java/electroblob/wizardry/registry/WizardryBlocks.java @@ -60,11 +60,11 @@ public final class WizardryBlocks { /** * Sets both the registry and unlocalised names of the given block, then registers it with the given registry. Use - * this instead of {@link Block#setRegistryName(String)} and {@link Block#setUnlocalizedName(String)} during + * this instead of {@link Block#setRegistryName(String)} and {@link Block#setTranslationKey(String)} during * construction, for convenience and consistency. * * @param registry The registry to register the given block to. - * @param item The block to register. + * @param block The block to register. * @param name The name of the block, without the mod ID or the .name stuff. The registry name will be * {@code ebwizardry:[name]}. The unlocalised name will be {@code tile.ebwizardry:[name].name}. */