Class BlockContainer

    • Constructor Detail

      • BlockContainer

        protected BlockContainer​(Material materialIn)
      • BlockContainer

        protected BlockContainer​(Material parMaterial,
                                 MapColor parMapColor)
    • Method Detail

      • func_181086_a

        protected boolean func_181086_a​(World parWorld,
                                        BlockPos parBlockPos,
                                        EnumFacing parEnumFacing)
      • func_181087_e

        protected boolean func_181087_e​(World parWorld,
                                        BlockPos parBlockPos)
      • getRenderType

        public int getRenderType()
        + The type of render function called. 3 for standard block models, 2 for TESR's, 1 for liquids, -1 is no render
        Overrides:
        getRenderType in class Block
      • onBlockEventReceived

        public boolean onBlockEventReceived​(World worldIn,
                                            BlockPos pos,
                                            IBlockState state,
                                            int eventID,
                                            int eventParam)
        + Called on both Client and Server when World#addBlockEvent is called
        Overrides:
        onBlockEventReceived in class Block