[1.12.2] Вылетает из-за этого кода (metaFromState и stateFromMeta)

Версия Minecraft
1.12.2
API
Forge
39
2
0
Вылетает из-за этого кода и крашлог ссылается на конструктор класса (если что пожалуйста не ругайтесь за колхоз)
getMetaFromState и getStateFromMeta:
public int getMetaFromState(IBlockState state)
    {
        int i = super.getMetaFromState(state);
        if(state.getValue(OPEN))
            i+=100;
        if(state.getValue(HALF)==UPPER)
            i+=10;
        return i;
    }
    public IBlockState getStateFromMeta(int meta)
    {
        boolean isOpen = false;
        if(meta>99) {
            meta -= 100;
            isOpen=true;
        }
        EnumDoorHalf enumDoorHalf = LOWER;
        if(meta>9) {
            meta -= 10;
            enumDoorHalf = UPPER;
        }
        return this.getDefaultState().withProperty(FACING, EnumFacing.getHorizontal(meta)).withProperty(HALF, enumDoorHalf).withProperty(OPEN, isOpen);
    }

Если понадобится весь класс, то держите что я жоска нагеймдевил

Нагеймдевлено:
package com.dakotabearr.ebmod.blocks;

import com.dakotabearr.ebmod.blocks.collision.CollisionHelper;
import com.dakotabearr.ebmod.blocks.myblocks.FacingBlock;
import net.minecraft.block.Block;
import net.minecraft.block.SoundType;
import net.minecraft.block.material.EnumPushReaction;
import net.minecraft.block.material.Material;
import net.minecraft.block.properties.IProperty;
import net.minecraft.block.properties.PropertyBool;
import net.minecraft.block.properties.PropertyEnum;
import net.minecraft.block.state.BlockFaceShape;
import net.minecraft.block.state.BlockStateContainer;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.EnumHand;
import net.minecraft.util.IStringSerializable;
import net.minecraft.util.math.AxisAlignedBB;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;

import java.util.List;

import static com.dakotabearr.ebmod.blocks.DoorClass.EnumDoorHalf.LOWER;
import static com.dakotabearr.ebmod.blocks.DoorClass.EnumDoorHalf.UPPER;

public class DoorClass extends FacingBlock {
    public static final PropertyBool OPEN = PropertyBool.create("open");
    public static final PropertyEnum<EnumDoorHalf> HALF = PropertyEnum.create("half", EnumDoorHalf.class);

    public DoorClass(String name, Material material, SoundType soundType, float hardness, float resistance, String toolClass, int level) {
        super(name, material, soundType, hardness, resistance, toolClass, level, false, false,true); //isFullCube=false, isOpaqueCube=false, true - в какую вкладку в креативе добавлять     <----Для читающих
                                                                         
        this.setDefaultState(this.blockState.getBaseState().withProperty(OPEN, false));
    }
    public void onBlockPlacedBy(World worldIn, BlockPos pos, IBlockState state, EntityLivingBase placer, ItemStack stack)
    {
        EnumFacing facing = state.getValue(FACING);
        worldIn.setBlockState(pos, this.getDefaultState().withProperty(FACING, facing).withProperty(HALF, EnumDoorHalf.LOWER), 2);
        worldIn.setBlockState(pos.up(), this.getDefaultState().withProperty(FACING, facing).withProperty(HALF, EnumDoorHalf.UPPER), 2);
    }
    private int getCloseSound() //Заменить
    {
        return 1005;
    }  
    private int getOpenSound() //Заменить
    {
        return 1011;
    }  
    public boolean onBlockActivated(World worldIn, BlockPos pos, IBlockState state, EntityPlayer playerIn, EnumHand hand, EnumFacing facing, float hitX, float hitY, float hitZ) {
        if(playerIn.getHeldItemMainhand().toString().contains("keys") || playerIn.getHeldItemOffhand().toString().contains("keys") || state.getValue(OPEN)) {
            //pos - позиция нижней части двери
            BlockPos posUp = pos.up();
            if (state.getValue(HALF) == UPPER) {
                pos = pos.down();
                posUp = posUp.down();
            }
            IBlockState stateLower = worldIn.getBlockState(pos);
            IBlockState stateUp = worldIn.getBlockState(posUp);

            if (stateUp.getBlock() != this || stateLower.getBlock() != this)
                return false;

            stateUp = stateUp.cycleProperty(OPEN);
            stateLower = stateLower.cycleProperty(OPEN);
            worldIn.setBlockState(pos, stateLower, 10);
            worldIn.setBlockState(posUp, stateUp, 10);
            worldIn.playEvent(playerIn, state.getValue(OPEN) ? this.getOpenSound() : this.getCloseSound(), pos, 0);

            return true;
        }
        return false;
    }
    public void neighborChanged(IBlockState state, World worldIn, BlockPos pos, Block blockIn, BlockPos fromPos)
    {
        IBlockState iblockstate = worldIn.getBlockState(pos.down());

        if (state.getValue(HALF) == EnumDoorHalf.UPPER)
        {
            if (iblockstate.getBlock() != this)
            {
               worldIn.setBlockToAir(pos);
            }
        }
        else
        {
            if(!isTopSolid(iblockstate)) {
                worldIn.setBlockToAir(pos);
                this.dropBlockAsItem(worldIn, pos, state, 0);
            }
            else if(worldIn.getBlockState(pos.up()).getBlock() != this)
                worldIn.setBlockToAir(pos);

        }
    }
    public boolean canPlaceBlockAt(World worldIn, BlockPos pos)
    {
        if (pos.getY() >= worldIn.getHeight() - 1)
        {
            return false;
        }
        else
        {
            IBlockState state = worldIn.getBlockState(pos.down());
            return (state.isTopSolid() || state.getBlockFaceShape(worldIn, pos.down(), EnumFacing.UP) == BlockFaceShape.SOLID) && super.canPlaceBlockAt(worldIn, pos) && super.canPlaceBlockAt(worldIn, pos.up());
        }
    }
    public void onBlockHarvested(World worldIn, BlockPos pos, IBlockState state, EntityPlayer player)
    {
        if(state.getValue(HALF)==UPPER)
            worldIn.setBlockToAir(pos.down());

        else
            worldIn.setBlockToAir(pos.up());
        if (!worldIn.isRemote && !player.capabilities.isCreativeMode)
            this.dropBlockAsItem(worldIn, pos, state, 0);

    }
    public EnumPushReaction getMobilityFlag(IBlockState state)
    {
        return EnumPushReaction.DESTROY;
    }
    public int getMetaFromState(IBlockState state) //Вот это вылетает
    {
        int i = super.getMetaFromState(state);
        if(state.getValue(OPEN))
            i+=100;
        if(state.getValue(HALF)==UPPER)
            i+=10;
        return i;
    }
    public IBlockState getStateFromMeta(int meta)
    {
        boolean isOpen = false;
        if(meta>99) {
            meta -= 100;
            isOpen=true;
        }
        EnumDoorHalf enumDoorHalf = LOWER;
        if(meta>9) {
            meta -= 10;
            enumDoorHalf = UPPER;
        }
        return this.getDefaultState().withProperty(FACING, EnumFacing.getHorizontal(meta)).withProperty(HALF, enumDoorHalf).withProperty(OPEN, isOpen);
    }  // Тут заканчивается что вылетает
    protected BlockStateContainer createBlockState()
    {
        return new BlockStateContainer(this, new IProperty[] {FACING, HALF,  OPEN});
    }
    public static enum EnumDoorHalf implements IStringSerializable
    {
        UPPER,
        LOWER;

        public String toString()
        {
            return this.getName();
        }

        public String getName()
        {
            return this == UPPER ? "upper" : "lower";
        }
    }



    private static double x1 = 7*0.0625, y1 = 0, z1 = 0, x2 = 8*0.0625, y2 = 1, z2 = 1;
    public static final AxisAlignedBB BOUNDING_BOX_NORTH = CollisionHelper.getBlockBounds(EnumFacing.NORTH, x1, y1, z1, x2, y2, z2);
    public static final AxisAlignedBB BOUNDING_BOX_EAST = CollisionHelper.getBlockBounds(EnumFacing.EAST, x1, y1, z1, x2, y2, z2);
    public static final AxisAlignedBB BOUNDING_BOX_SOUTH = CollisionHelper.getBlockBounds(EnumFacing.SOUTH, x1, y1, z1, x2, y2, z2);
    public static final AxisAlignedBB BOUNDING_BOX_WEST = CollisionHelper.getBlockBounds(EnumFacing.WEST, x1, y1, z1, x2, y2, z2);

    private static double xX1 = 8*0.0625, yY1 = 0, zZ1 = 15*0.0625, xX2 = -8*0.0625, yY2 = 1, zZ2 = 1;
    public static final AxisAlignedBB BOUNDING_BOX_NORTH_OPEN = CollisionHelper.getBlockBounds(EnumFacing.NORTH, xX1, yY1, zZ1, xX2, yY2, zZ2);
    public static final AxisAlignedBB BOUNDING_BOX_EAST_OPEN = CollisionHelper.getBlockBounds(EnumFacing.EAST, xX1, yY1, zZ1, xX2, yY2, zZ2);
    public static final AxisAlignedBB BOUNDING_BOX_SOUTH_OPEN = CollisionHelper.getBlockBounds(EnumFacing.SOUTH, xX1, yY1, zZ1, xX2, yY2, zZ2);
    public static final AxisAlignedBB BOUNDING_BOX_WEST_OPEN = CollisionHelper.getBlockBounds(EnumFacing.WEST, xX1, yY1, zZ1, xX2, yY2, zZ2);

    public AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess source, BlockPos pos) {
        EnumFacing facing = state.getValue(FACING);
        boolean isOpen = state.getValue(OPEN);
        if(isOpen){
            switch (facing) {
                case SOUTH:
                    return BOUNDING_BOX_NORTH_OPEN;
                case NORTH:
                    return BOUNDING_BOX_SOUTH_OPEN;
                case EAST:
                    return BOUNDING_BOX_WEST_OPEN;
                default:
                    return BOUNDING_BOX_EAST_OPEN;
            }
        }
        else{
            switch (facing) {
                case SOUTH:
                    return BOUNDING_BOX_NORTH;
                case NORTH:
                    return BOUNDING_BOX_SOUTH;
                case EAST:
                    return BOUNDING_BOX_WEST;
                default:
                    return BOUNDING_BOX_EAST;
            }
        }
    }

    @Override
    public void addCollisionBoxToList(IBlockState state, World worldIn, BlockPos pos, AxisAlignedBB entityBox, List<AxisAlignedBB> collidingBoxes, Entity entityIn, boolean p_185477_7_) {
        AxisAlignedBB box;
        EnumFacing facing = state.getValue(FACING);
        boolean isOpen = state.getValue(OPEN);
        if(isOpen){
            switch (facing) {
                case SOUTH:
                    box = BOUNDING_BOX_NORTH_OPEN;
                    break;
                case NORTH:
                    box = BOUNDING_BOX_SOUTH_OPEN;
                    break;
                case EAST:
                    box = BOUNDING_BOX_WEST_OPEN;
                    break;
                default:
                    box = BOUNDING_BOX_EAST_OPEN;
                    break;
            }
        }
        else{
            switch (facing) {
                case SOUTH:
                    box = BOUNDING_BOX_NORTH;
                    break;
                case NORTH:
                    box = BOUNDING_BOX_SOUTH;
                    break;
                case EAST:
                    box = BOUNDING_BOX_WEST;
                    break;
                default:
                    box = BOUNDING_BOX_EAST;
                    break;
            }
        }
        addCollisionBoxToList(pos, entityBox, collidingBoxes, box);
    }
}
 
Краш-лог
---- Minecraft Crash Report ----
// This doesn't make any sense!

Time: 12/19/22 8:03 PM
Description: There was a severe problem during mod loading that has caused the game to fail

net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from EB Mod (ebmod)
Caused by: java.lang.ExceptionInInitializerError
at com.dakotabearr.ebmod.proxy.CommonProxy.preInit(CommonProxy.java:16)
at com.dakotabearr.ebmod.proxy.ClientProxy.preInit(ClientProxy.java:15)
at com.dakotabearr.ebmod.Main.preInit(Main.java:38)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:639)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
at com.google.common.eventbus.EventBus.post(EventBus.java:217)
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:219)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
at com.google.common.eventbus.EventBus.post(EventBus.java:217)
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:136)
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:629)
at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:252)
at net.minecraft.client.Minecraft.init(Minecraft.java:467)
at net.minecraft.client.Minecraft.run(Minecraft.java:378)
at net.minecraft.client.main.Main.main(Main.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraftforge.legacydev.Main.start(Main.java:86)
at net.minecraftforge.legacydev.MainClient.main(MainClient.java:29)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 112
at net.minecraft.block.Block.setHarvestLevel(Block.java:2047)
at net.minecraft.block.Block.setHarvestLevel(Block.java:2028)
at com.dakotabearr.ebmod.blocks.myblocks.MyBlock.<init>(MyBlock.java:21)
at com.dakotabearr.ebmod.blocks.myblocks.FacingBlock.<init>(FacingBlock.java:22)
at com.dakotabearr.ebmod.blocks.DoorClass.<init>(DoorClass.java:38)
at com.dakotabearr.ebmod.register.BlocksRegister.<clinit>(BlocksRegister.java:71)
... 50 more


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_352, Amazon.com Inc.
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Amazon.com Inc.
Memory: 452559024 bytes (431 MB) / 1255145472 bytes (1197 MB) up to 3817865216 bytes (3641 MB)
JVM Flags: 1 total; -Xmx4096M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP 9.42 Powered by Forge 14.23.5.2860 5 mods loaded, 5 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

| State | ID | Version | Source | Signature |
|:----- |:--------- |:------------ |:------------------------------------------------------------------ |:--------- |
| LCH | minecraft | 1.12.2 | minecraft.jar | None |
| LCH | mcp | 9.42 | minecraft.jar | None |
| LCH | FML | 8.0.99.99 | forge-1.12.2-14.23.5.2860_mapped_snapshot_20171003-1.12-recomp.jar | None |
| LCH | forge | 14.23.5.2860 | forge-1.12.2-14.23.5.2860_mapped_snapshot_20171003-1.12-recomp.jar | None |
| LCE | ebmod | 0.0.15 | main | None |

Loaded coremods (and transformers):
GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 512.59' Renderer: 'NVIDIA GeForce GTX 1050/PCIe/SSE2'
Краш-лог:
---- Minecraft Crash Report ----
// This doesn't make any sense!

Time: 12/19/22 8:03 PM
Description: There was a severe problem during mod loading that has caused the game to fail

net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from EB Mod (ebmod)
Caused by: java.lang.ExceptionInInitializerError
	at com.dakotabearr.ebmod.proxy.CommonProxy.preInit(CommonProxy.java:16)
	at com.dakotabearr.ebmod.proxy.ClientProxy.preInit(ClientProxy.java:15)
	at com.dakotabearr.ebmod.Main.preInit(Main.java:38)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:639)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
	at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
	at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
	at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
	at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
	at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
	at com.google.common.eventbus.EventBus.post(EventBus.java:217)
	at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:219)
	at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:197)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
	at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
	at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
	at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
	at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
	at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
	at com.google.common.eventbus.EventBus.post(EventBus.java:217)
	at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:136)
	at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:629)
	at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:252)
	at net.minecraft.client.Minecraft.init(Minecraft.java:467)
	at net.minecraft.client.Minecraft.run(Minecraft.java:378)
	at net.minecraft.client.main.Main.main(Main.java:118)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at net.minecraftforge.legacydev.Main.start(Main.java:86)
	at net.minecraftforge.legacydev.MainClient.main(MainClient.java:29)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 112
	at net.minecraft.block.Block.setHarvestLevel(Block.java:2047)
	at net.minecraft.block.Block.setHarvestLevel(Block.java:2028)
	at com.dakotabearr.ebmod.blocks.myblocks.MyBlock.<init>(MyBlock.java:21)
	at com.dakotabearr.ebmod.blocks.myblocks.FacingBlock.<init>(FacingBlock.java:22)
	at com.dakotabearr.ebmod.blocks.DoorClass.<init>(DoorClass.java:38)
	at com.dakotabearr.ebmod.register.BlocksRegister.<clinit>(BlocksRegister.java:71)
	... 50 more


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
	Minecraft Version: 1.12.2
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 1.8.0_352, Amazon.com Inc.
	Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Amazon.com Inc.
	Memory: 452559024 bytes (431 MB) / 1255145472 bytes (1197 MB) up to 3817865216 bytes (3641 MB)
	JVM Flags: 1 total; -Xmx4096M
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	FML: MCP 9.42 Powered by Forge 14.23.5.2860 5 mods loaded, 5 mods active
	States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

	| State | ID        | Version      | Source                                                             | Signature |
	|:----- |:--------- |:------------ |:------------------------------------------------------------------ |:--------- |
	| LCH   | minecraft | 1.12.2       | minecraft.jar                                                      | None      |
	| LCH   | mcp       | 9.42         | minecraft.jar                                                      | None      |
	| LCH   | FML       | 8.0.99.99    | forge-1.12.2-14.23.5.2860_mapped_snapshot_20171003-1.12-recomp.jar | None      |
	| LCH   | forge     | 14.23.5.2860 | forge-1.12.2-14.23.5.2860_mapped_snapshot_20171003-1.12-recomp.jar | None      |
	| LCE   | ebmod     | 0.0.15       | main                                                               | None      |

	Loaded coremods (and transformers): 
	GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 512.59' Renderer: 'NVIDIA GeForce GTX 1050/PCIe/SSE2'
Сверху