This commit is contained in:
Corail31
2019-01-15 14:32:51 +01:00
parent 414b773da6
commit 54abdb6746
2 changed files with 4 additions and 3 deletions
@@ -24,8 +24,9 @@ public class BlockVanishingCobweb extends BlockContainer {
super(material);
}
@Override
@SideOnly(Side.CLIENT)
public BlockRenderLayer getBlockLayer(){
public BlockRenderLayer getRenderLayer(){
return BlockRenderLayer.CUTOUT;
}
@@ -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}.
*/