Jump to content

[1.8][SOLVED]Problems with blockstates and Property


Jacky2611

Recommended Posts

I just started updating my main mod to 1.8 but no matter what I do, minecraft always crashes with:

java.lang.IllegalArgumentException: Cannot set property PropertyDirection{name=facing, clazz=class net.minecraft.util.EnumFacing, values=[north, south, west, east]} as it does not exist in BlockState{block=null, properties=[]}

 

I want to make ( /update) a simple Block with textures that should rotate depending on a Direction.

 

Here is my main mod file:

 

 

package net.dimensionshift.mod;

import java.util.Iterator;

import net.dimensionshift.mod.block.BasicBlock;
import net.dimensionshift.mod.block.BlockAirDummy;
import net.dimensionshift.mod.block.BlockDummy;
import net.dimensionshift.mod.block.BlockGlassJar;
import net.dimensionshift.mod.block.BlockInvisibleBlock;
import net.dimensionshift.mod.block.BlockSimpleController;
import net.dimensionshift.mod.block.BlockSimpleTeleporter;
import net.dimensionshift.mod.block.BlockSunBlock;
import net.dimensionshift.mod.block.BlockTeleporter;
import net.dimensionshift.mod.enchantments.EnchantmentDimensionTravelingStabilisation;
import net.dimensionshift.mod.energy.BlockWire;
import net.dimensionshift.mod.energy.TileEntityBasicWire;
import net.dimensionshift.mod.event.EventHandlerDimensionShift;
import net.dimensionshift.mod.gui.GuiHandler;
import net.dimensionshift.mod.item.CustomItemBlock;
import net.dimensionshift.mod.item.ItemBasic;
import net.dimensionshift.mod.item.ItemDimensionIdentificationCrystal;
import net.dimensionshift.mod.item.ItemDust;
import net.dimensionshift.mod.proxies.DimensionShiftCommonProxy;
import net.dimensionshift.mod.tileentity.TileEntityAirDummy;
import net.dimensionshift.mod.tileentity.TileEntityGlassJar;
import net.dimensionshift.mod.tileentity.TileEntityInvisibleBlock;
import net.dimensionshift.mod.tileentity.TileEntitySimpleController;
import net.dimensionshift.mod.tileentity.TileEntitySimpleTeleporter;
import net.dimensionshift.mod.tileentity.TileEntityTeleporter;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.enchantment.Enchantment;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemFood;
import net.minecraft.item.ItemStack;
import net.minecraft.potion.Potion;
import net.minecraft.stats.Achievement;
import net.minecraftforge.common.AchievementPage;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.common.config.Configuration;
import net.minecraftforge.oredict.OreDictionary;
import net.minecraftforge.fml.common.FMLCommonHandler;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.Mod.Instance;
import net.minecraftforge.fml.common.SidedProxy;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.event.FMLServerStartingEvent;
import net.minecraftforge.fml.common.network.NetworkRegistry;
import net.minecraftforge.fml.common.registry.GameRegistry;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;

@Mod(modid = DimensionShift.MODID, name = "DimensionShift", version = DimensionShift.VERSION)
public class DimensionShift {

public static final String MODID = "dimensionshift"; // setting MODID
public static final String VERSION = "Experimental v0.312"; // setting MODID
@Instance(MODID)
public static DimensionShift instance;

@SidedProxy(clientSide = "net.dimensionshift.mod.proxies.DimensionShiftClientProxy", serverSide = "net.dimensionshift.mod.proxies.DimensionShiftCommonProxy")
public static DimensionShiftCommonProxy proxy;

public static CreativeTabs tabDimensionShift = new CreativeTabs("tabDimensionShift") {
	@Override
	@SideOnly(Side.CLIENT)
	public ItemStack getIconItemStack() {
		return new ItemStack(Items.ender_eye, 1, 0);
	}

	@Override
	public Item getTabIconItem() {
		return null;
	}

};

// BLOCKS
public static Block blockDummy;

public static Block blockMachineBlock;

public static Block blockGlassJar;

public static Block blockSimpleControllerIdle;
public static Block blockSimpleControllerActive;

public static Block blockSimpleTeleporterIdle;
public static Block blockSimpleTeleporterActive;

public static Block blockTeleporterIdle;
public static Block blockTeleporterActive;

public static Block blockSunBlockIdle;
public static Block blockSunBlockActive;

public static Block blockInvisibleBlock;
public static Block blockAirDummy;

public static Block blockWireBasic;

// ITEMS
public static Item itemEnderDust;

public static Item itemEnderCrystal;

public static Item itemEnderLense;

public static Item itemDimensionIdentificationCrystal;

// GUI
public static final int guiIdSimpleController = 0;

public static final int guiIdSimpleTeleporter = 1;

public static final int guiIdTeleporter = 2;

// Enchantments
public static final Enchantment enchantmentDimensionTravelingStabilisation = new EnchantmentDimensionTravelingStabilisation(84, 5);

// Achievements
public static Achievement achievementEnderDust;

// AchievementPage
public static AchievementPage achievementPageDimensionShift;

/*
 * CONFIG FILE:
 */

@EventHandler
public void preInit(FMLPreInitializationEvent event) {

	Configuration config = new Configuration(event.getSuggestedConfigurationFile());

	// loading the configuration from its file
	config.load();





	// saving the configuration to its file
	config.save();



	// BLOCKS

	/*
	blockDummy = new BlockDummy(Material.ground, "blockDummy").setStepSound(Block.soundTypeStone).setResistance(10F);
	GameRegistry.registerBlock(blockDummy, "blockDummy");

	blockMachineBlock = new BasicBlock(Material.rock, "blockMachineBlock").setStepSound(Block.soundTypeMetal).setResistance(80F).setHardness(3F);
	GameRegistry.registerBlock(blockMachineBlock, "blockMachineBlock");

	*/

	blockSimpleControllerIdle = new BlockSimpleController(false).setHardness(3.5F).setStepSound(Block.soundTypeMetal).setCreativeTab(DimensionShift.tabDimensionShift).setUnlocalizedName("blockSimpleController");
	blockSimpleControllerActive = new BlockSimpleController(true).setHardness(3.5F).setStepSound(Block.soundTypeMetal).setLightLevel(0.7F).setUnlocalizedName("blockSimpleControllerActive");
	GameRegistry.registerBlock(blockSimpleControllerIdle, "blockSimpleController");
	GameRegistry.registerBlock(blockSimpleControllerActive, "blockSimpleControllerActive");
	GameRegistry.registerTileEntity(TileEntitySimpleController.class, "tileEntitySimpleController");


	/*
	blockSimpleTeleporterIdle = new BlockSimpleTeleporter(false).setHardness(3.5F).setStepSound(Block.soundTypeMetal).setCreativeTab(DimensionShift.tabDimensionShift).setBlockName("blockSimpleTeleporter");
	blockSimpleTeleporterActive = new BlockSimpleTeleporter(true).setHardness(3.5F).setStepSound(Block.soundTypeMetal).setLightLevel(0.7F).setBlockName("blockSimpleTeleporterActive");
	GameRegistry.registerBlock(blockSimpleTeleporterIdle, "blockSimpleTeleporter");
	GameRegistry.registerBlock(blockSimpleTeleporterActive, "blockSimpleTeleporterActive");
	GameRegistry.registerTileEntity(TileEntitySimpleTeleporter.class, "tileEntitySimpleTeleporter");

	blockTeleporterIdle = new BlockTeleporter(false).setHardness(3.5F).setStepSound(Block.soundTypeMetal).setCreativeTab(DimensionShift.tabDimensionShift).setBlockName("blockTeleporter");
	blockTeleporterActive = new BlockTeleporter(true).setHardness(3.5F).setStepSound(Block.soundTypeMetal).setLightLevel(0.7F).setBlockName("blockTeleporterActive");
	GameRegistry.registerBlock(blockTeleporterIdle, "blockTeleporter");
	GameRegistry.registerBlock(blockTeleporterActive, "blockTeleporterActive");
	GameRegistry.registerTileEntity(TileEntityTeleporter.class, "tileEntityTeleporter");

	blockSunBlockIdle = new BlockSunBlock(false).setHardness(3.5F).setStepSound(Block.soundTypeMetal).setCreativeTab(DimensionShift.tabDimensionShift).setBlockName("blockSunBlock");
	blockSunBlockActive = new BlockSunBlock(true).setHardness(3.5F).setStepSound(Block.soundTypeMetal).setLightLevel(0.7F).setBlockName("blockSunBlockActive");
	GameRegistry.registerBlock(blockSunBlockIdle, "blockSunBlock");
	GameRegistry.registerBlock(blockSunBlockActive, "blockSunBlockActive");

	blockInvisibleBlock = new BlockInvisibleBlock(Material.rock);
	GameRegistry.registerBlock(blockInvisibleBlock, "blockInvisibleBlock");
	GameRegistry.registerTileEntity(TileEntityInvisibleBlock.class, "tileEntityStoneBricks");

	blockAirDummy = new BlockAirDummy();
	GameRegistry.registerBlock(blockAirDummy, "blockAirDummy");
	GameRegistry.registerTileEntity(TileEntityAirDummy.class, "tileEntityAirDummy");

	blockGlassJar = new BlockGlassJar(Material.glass).setStepSound(Block.soundTypeWood).setBlockName("blockGlassJar");
	GameRegistry.registerBlock(blockGlassJar, CustomItemBlock.class, "blockGlassJar");
	GameRegistry.registerTileEntity(TileEntityGlassJar.class, "tileEntityGlassJar");

	blockWireBasic = new BlockWire().setBlockName("wireBasic");
	GameRegistry.registerBlock(blockWireBasic, "wireBasic");

	GameRegistry.registerTileEntity(TileEntityBasicWire.class, MODID + ":" + "BasicPipe");

	*/



	// ITEMS

	itemEnderDust = new ItemDust(64, "itemEnderDust");
	GameRegistry.registerItem(itemEnderDust, "itemEnderDust");

	itemEnderLense = new ItemBasic(16, "itemEnderLense");
	GameRegistry.registerItem(itemEnderLense, "itemEnderLense");

	itemEnderCrystal = new ItemBasic(64, "itemEnderCrystal");
	GameRegistry.registerItem(itemEnderCrystal, "itemEnderCrystal");

	itemDimensionIdentificationCrystal = new ItemDimensionIdentificationCrystal(1, "itemDimensionIdentificationCrystal");
	GameRegistry.registerItem(itemDimensionIdentificationCrystal, "itemDimensionIdentificationCrystal");



	//NetworkRegistry.INSTANCE.registerGuiHandler(this, new GuiHandler());



	Iterator<Item> itItem = Item.itemRegistry.iterator();
	while (itItem.hasNext()) {
		Item itemFood = itItem.next();
		if (itemFood instanceof ItemFood) {
			GameRegistry.addShapelessRecipe(new ItemStack(itemFood), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(itemFood));
			GameRegistry.addShapelessRecipe(new ItemStack(itemFood), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(itemFood));
			GameRegistry.addShapelessRecipe(new ItemStack(itemFood), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(itemFood));
			GameRegistry.addShapelessRecipe(new ItemStack(itemFood), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(itemFood));
			GameRegistry.addShapelessRecipe(new ItemStack(itemFood), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(itemFood));
			GameRegistry.addShapelessRecipe(new ItemStack(itemFood), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(itemFood));
			GameRegistry.addShapelessRecipe(new ItemStack(itemFood), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(itemFood));
			GameRegistry.addShapelessRecipe(new ItemStack(itemFood), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.potionitem, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(itemFood));
		}
	}

	// BIOMES

	// CRAFTINGS

	/*
	GameRegistry.addShapelessRecipe(new ItemStack(itemEnderDust), new ItemStack(Items.redstone, 2), new ItemStack(Items.ender_pearl, 2));

	GameRegistry.addSmelting(itemEnderDust, new ItemStack(itemEnderCrystal, 1), 0.1f);

	GameRegistry.addRecipe(new ItemStack(itemEnderLense), " x ", "x x",
			'x', new ItemStack(itemEnderCrystal));

	GameRegistry.addRecipe(new ItemStack(blockMachineBlock), "xxx", "xyx", "xzx",
			'x', new ItemStack(Items.iron_ingot), 'y', new ItemStack(itemEnderDust), 'z', new ItemStack(Items.redstone));

	GameRegistry.addRecipe(new ItemStack(blockTeleporterIdle), "xcx", "xyx", "xzx",
			'x', new ItemStack(blockMachineBlock), 'y', new ItemStack(itemEnderDust), 'c', new ItemStack(itemEnderLense), 'z', new ItemStack(Items.redstone));

	GameRegistry.addRecipe(new ItemStack(blockSimpleControllerIdle), "xcx", "czc", "xyx", 'x', new ItemStack(blockMachineBlock), 'y', new ItemStack(blockTeleporterIdle), 'z', new ItemStack(Items.redstone), 'c', new ItemStack(itemEnderLense));

	GameRegistry.addRecipe(new ItemStack(blockSunBlockIdle), "xzx", "xcx", "yyy",
			'x', new ItemStack(blockMachineBlock), 'y', new ItemStack(itemEnderLense), 'z', new ItemStack(Items.redstone), 'c', new ItemStack(Blocks.glowstone));

	GameRegistry.addRecipe(new ItemStack(blockGlassJar), "xzx", "x x", "xxx",
			'x', new ItemStack(Blocks.glass), 'z', new ItemStack(Blocks.wooden_slab));


*/
	// POTIONS
	Potion[] potionTypes = null;
	/*
	 * for (Field f : Potion.class.getDeclaredFields()) {
	 * f.setAccessible(true); try { if (f.getName().equals("potionTypes") ||
	 * f.getName().equals("field_76425_a")) { Field modfield =
	 * Field.class.getDeclaredField("modifiers");
	 * modfield.setAccessible(true); modfield.setInt(f, f.getModifiers() &
	 * ~Modifier.FINAL);
	 * 
	 * potionTypes = (Potion[])f.get(null); final Potion[] newPotionTypes =
	 * new Potion[256]; System.arraycopy(potionTypes, 0, newPotionTypes, 0,
	 * potionTypes.length); f.set(null, newPotionTypes); } } catch
	 * (Exception e) {
	 * System.err.println("Severe error, please report this to the mod author:"
	 * ); System.err.println(e); } }
	 */

}

@EventHandler
public void Init(FMLInitializationEvent e) {

	// ACHIEVEMNET
	achievementEnderDust = new Achievement("achievementEnderDust", "enderDust", 0, 0, DimensionShift.itemEnderDust, null);

	// ACHIEVMENET PAGE
	achievementPageDimensionShift = new AchievementPage("Dimension Shift", achievementEnderDust);
	AchievementPage.registerAchievementPage(achievementPageDimensionShift);

}

@EventHandler
public void PostInit(FMLPostInitializationEvent e) {
	proxy.registerProxies();

	// EVENT HANDLER
	MinecraftForge.EVENT_BUS.register(new EventHandlerDimensionShift());
	FMLCommonHandler.instance().bus().register(new EventHandlerDimensionShift());

}

}

 

 

 

My block file:

 

 

 

package net.dimensionshift.mod.block;

import java.util.Random;

import net.dimensionshift.mod.DimensionShift;
import net.dimensionshift.mod.blockplacing.TeleportSimpleController;
import net.dimensionshift.mod.tileentity.TileEntitySimpleController;
import net.minecraft.block.Block;
import net.minecraft.block.BlockContainer;
import net.minecraft.block.material.Material;
import net.minecraft.block.properties.PropertyDirection;
import net.minecraft.block.state.BlockState;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.item.EntityItem;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.inventory.Container;
import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.InventoryHelper;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.server.MinecraftServer;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.tileentity.TileEntityFurnace;
import net.minecraft.util.BlockPos;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.EnumParticleTypes;
import net.minecraft.util.MathHelper;
import net.minecraft.world.World;
import net.minecraftforge.fml.common.FMLCommonHandler;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;

public class BlockSimpleController extends BlockContainer {

    public static final PropertyDirection FACING = PropertyDirection.create("facing", EnumFacing.Plane.HORIZONTAL);

private final boolean isActive;
private static boolean keepInventory;

private Random random = new Random();


public BlockSimpleController(boolean isActive) {
	super(Material.rock);

	this.setDefaultState(this.blockState.getBaseState().withProperty(FACING, EnumFacing.NORTH));
	this.isActive = isActive;

}


@Override
@SideOnly(Side.CLIENT)
public void randomDisplayTick(World world, BlockPos pos, IBlockState state, Random rand) {
	if (this.isActive) {

		float x1 = pos.getX() + random.nextFloat();
		float y1 = pos.getY() + 0.5F;
		float z1 = pos.getZ() + random.nextFloat();

		world.spawnParticle(EnumParticleTypes.PORTAL, x1, y1, z1, 0.0D, 0.0D, 0.0D);

	}
}

// always dropping not active version
@Override
public Item getItemDropped(IBlockState state, Random rand, int fortune) {
	return Item.getItemFromBlock(DimensionShift.blockSimpleControllerIdle);

}

// getting coordinates when added
@Override
public void onBlockAdded(World world, BlockPos pos, IBlockState state)  {
	super.onBlockAdded(world, pos, state);
	this.setDefaultDirection(world, pos, state);
}

@Override
public void breakBlock(World worldIn, BlockPos pos, IBlockState state) {
	if (!keepInventory) {// if block is not broken by update status function
            TileEntity tileentity = worldIn.getTileEntity(pos);

            if (tileentity instanceof TileEntityFurnace)
            {
                InventoryHelper.dropInventoryItems(worldIn, pos, (TileEntityFurnace)tileentity);
                worldIn.updateComparatorOutputLevel(pos, this);
            }
        }

	super.breakBlock(worldIn, pos, state);
}

private void setDefaultDirection(World worldIn, BlockPos pos, IBlockState state)
    {
        if (!worldIn.isRemote)
        {
            Block block = worldIn.getBlockState(pos.offsetNorth()).getBlock();
            Block block1 = worldIn.getBlockState(pos.offsetSouth()).getBlock();
            Block block2 = worldIn.getBlockState(pos.offsetWest()).getBlock();
            Block block3 = worldIn.getBlockState(pos.offsetEast()).getBlock();
            EnumFacing enumfacing = (EnumFacing)state.getValue(FACING);

            if (enumfacing == EnumFacing.NORTH && block.isFullBlock() && !block1.isFullBlock())
            {
                enumfacing = EnumFacing.SOUTH;
            }
            else if (enumfacing == EnumFacing.SOUTH && block1.isFullBlock() && !block.isFullBlock())
            {
                enumfacing = EnumFacing.NORTH;
            }
            else if (enumfacing == EnumFacing.WEST && block2.isFullBlock() && !block3.isFullBlock())
            {
                enumfacing = EnumFacing.EAST;
            }
            else if (enumfacing == EnumFacing.EAST && block3.isFullBlock() && !block2.isFullBlock())
            {
                enumfacing = EnumFacing.WEST;
            }

            worldIn.setBlockState(pos, state.withProperty(FACING, enumfacing), 2);
        }
    }

@Override
public boolean onBlockActivated(World worldIn, BlockPos pos, IBlockState state, EntityPlayer playerIn, EnumFacing side, float hitX, float hitY, float hitZ) {

	TileEntity tileEntity = worldIn.getTileEntity(pos);
	if (tileEntity == null || playerIn.isSneaking()) {
		return false;
	} else {
		playerIn.openGui(DimensionShift.instance, DimensionShift.guiIdSimpleController, worldIn, pos.getX(), pos.getY(), pos.getZ());

	}

	return true;

}

/**
 * Lets the block know when one of its neighbor changes. Doesn't know which
 * neighbor changed (coordinates passed are their own) Args: x, y, z,
 * neighbor Block
 */
@Override
public void onNeighborBlockChange(World worldIn, BlockPos pos, IBlockState state, Block neighborBlock) {
	if (!worldIn.isRemote) {
		if (worldIn.isBlockPowered(pos)) {
			TileEntity tileEntity = worldIn.getTileEntity(pos);
			if (tileEntity != null) {
				TileEntitySimpleController simpleController = (TileEntitySimpleController) tileEntity;
				if (simpleController.isReadyToTP()) {// checking if enough
														// energy is
														// available

					if (!worldIn.isRemote) {

						// reseting Energy
						simpleController.setDimensionEnergy(0);
						simpleController.setEnergy(0);

						MinecraftServer mServer = MinecraftServer.getServer();

						int dim = 0;

						if (worldIn.provider.getDimensionId() == 0) {
							dim = 9;
						}
						World dWorld = mServer.worldServerForDimension(dim);

						Side sidex = FMLCommonHandler.instance().getEffectiveSide();
						if (sidex == Side.SERVER) {

							TeleportSimpleController.start(worldIn, dWorld, pos.getX(), pos.getY(), pos.getZ());

						}
					}

				}
			}
		}
	}
}

// creating TileEntity
public TileEntity createNewTileEntity(World world) {
	return new TileEntitySimpleController();
}

    public IBlockState onBlockPlaced(World worldIn, BlockPos pos, EnumFacing facing, float hitX, float hitY, float hitZ, int meta, EntityLivingBase placer)
    {
        return this.getDefaultState().withProperty(FACING, placer.func_174811_aO().getOpposite());
    }

    public void onBlockPlacedBy(World worldIn, BlockPos pos, IBlockState state, EntityLivingBase placer, ItemStack stack)
    {
        worldIn.setBlockState(pos, state.withProperty(FACING, placer.func_174811_aO().getOpposite()), 2);

        if (stack.hasDisplayName())
        {
            TileEntity tileentity = worldIn.getTileEntity(pos);

            if (tileentity instanceof TileEntitySimpleController)
            {
                ((TileEntitySimpleController)tileentity).setCustomInventoryName(stack.getDisplayName());
            }
        }
    }

@Override
public TileEntity createNewTileEntity(World var1, int var2) {
	// TODO Auto-generated method stub
	return new TileEntitySimpleController();
}


public static void updateBlockType(boolean active, World worldIn, BlockPos pos)
    {
        IBlockState iblockstate = worldIn.getBlockState(pos);
        TileEntity tileentity = worldIn.getTileEntity(pos);
        keepInventory = true;

        if (active)
        {
            worldIn.setBlockState(pos, Blocks.lit_furnace.getDefaultState().withProperty(FACING, iblockstate.getValue(FACING)), 3);
            worldIn.setBlockState(pos, Blocks.lit_furnace.getDefaultState().withProperty(FACING, iblockstate.getValue(FACING)), 3);
        }
        else
        {
            worldIn.setBlockState(pos, Blocks.furnace.getDefaultState().withProperty(FACING, iblockstate.getValue(FACING)), 3);
            worldIn.setBlockState(pos, Blocks.furnace.getDefaultState().withProperty(FACING, iblockstate.getValue(FACING)), 3);
        }

        keepInventory = false;

        if (tileentity != null)
        {
            tileentity.validate();
            worldIn.setTileEntity(pos, tileentity);
        }
    }

@Override
public boolean hasComparatorInputOverride() {
	return true;
}

@Override
public int getComparatorInputOverride(World worldIn, BlockPos pos) {
	return Container.calcRedstoneFromInventory((IInventory) worldIn.getTileEntity(pos));
}

// idpicked????

}

 

 

 

My TE:

 

 

 

package net.dimensionshift.mod.tileentity;

import net.dimensionshift.mod.block.BlockSimpleController;
import net.dimensionshift.mod.energy.DimensionFuel;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.inventory.Container;
import net.minecraft.inventory.ContainerFurnace;
import net.minecraft.inventory.ISidedInventory;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList;
import net.minecraft.server.gui.IUpdatePlayerListBox;
import net.minecraft.tileentity.TileEntityLockable;
import net.minecraft.util.EnumFacing;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;

public class TileEntitySimpleController extends TileEntityLockable implements ISidedInventory, IUpdatePlayerListBox {

private String localizedName;

// What slots can be accesed from which side?
private static final int[] slots_top = new int[] { 0 };
// first take out items from slot 1, than from slot number 0
private static final int[] slots_bottom = new int[] { 1, 0 };
private static final int[] slots_sides = new int[] {};

// How many Slots does Block have
private ItemStack[] slots = new ItemStack[2];

// stored Dimension Energy
public int energy;

// stored Dimension Energy
public int dimensionEnergy;// = 0;

// needed Dimension Energy
public final int requiredDimensionEnergy = 2000;

// energy that has to be stored yet
public int dimensionEnergyCharging = 0;

// time until ready to tp
public final int tpTime = 1000;

// is receiving
public int timeUntillTp;

// needed to check if status has changed...
public boolean activeLastTick = false;

@Override
public void update() {

	// Will be set to true if anything has been done this round. Otherwise
	// it will be false
	boolean active = false;

	// getting rid of stack with size 0
	if (this.slots[1] != null) {
		if (this.slots[1].stackSize == 0) {
			this.slots[1] = this.slots[1].getItem().getContainerItem(this.slots[1]);
		}
	}

	// converting item to energy
	if (this.dimensionEnergyCharging > 0 && this.dimensionEnergy != this.requiredDimensionEnergy) {
		++this.dimensionEnergy;
		--this.dimensionEnergyCharging;

		active = true;
	}

	if (!this.worldObj.isRemote && this.slots[1] != null) {
		if (this.dimensionEnergyCharging == 0 && DimensionFuel.isItemFuel(slots[1])) {
			System.out.println("adding energy to charging and removing item from slot");
			this.dimensionEnergyCharging = DimensionFuel.getFuelValue(slots[1]);
			--this.slots[1].stackSize;
			active = true;
		}
	}

	// checking if status has changed
	if (active != this.activeLastTick) {
		BlockSimpleController.updateBlockType(active, this.worldObj, this.getPos());
		this.activeLastTick = active;
	}

}

@Override
public int getSizeInventory() {
	return this.slots.length;
}

@Override
public boolean hasCustomName() {
	return this.localizedName != null && this.localizedName.length() > 0;
}

@Override
public String getName() {
	return this.hasCustomName() ? this.localizedName : "container.simpleController";
}

public void setCustomInventoryName(String displayName) {
	this.localizedName = displayName;

}

@Override
public ItemStack getStackInSlot(int i) {
	return this.slots[i];
}

@Override
public ItemStack decrStackSize(int i, int j) {
	if (this.slots[i] != null) {
		ItemStack itemstack;

		if (this.slots[i].stackSize <= j) {
			itemstack = this.slots[i];

			this.slots[i] = null;
			return itemstack;
		} else {
			itemstack = this.slots[i].splitStack(j);

			if (this.slots[i].stackSize == 0) {
				this.slots[i] = null;
			}
			return itemstack;
		}
	}
	return null;
}

@Override
public ItemStack getStackInSlotOnClosing(int i) {
	if (this.slots[i] != null) {
		ItemStack itemstack = this.slots[i];
		this.slots[i] = null;
		return itemstack;
	}
	return null;
}

@Override
public void setInventorySlotContents(int i, ItemStack itemstack) {
	this.slots[i] = itemstack;

	if (itemstack != null && itemstack.stackSize > this.getInventoryStackLimit()) {
		itemstack.stackSize = this.getInventoryStackLimit();
	}
}


@Override
public int getInventoryStackLimit() {
	return 64;
}

@Override
public boolean isUseableByPlayer(EntityPlayer player) {
	return this.worldObj.getTileEntity(this.getPos()) != this ? false : player.getDistanceSq(this.getPos().getX() + 0.5D, this.getPos().getY() + 0.5D, this.getPos().getZ() + 0.5D) <= 64.0D;
}

@Override
public void openInventory(EntityPlayer playerIn) {

}

@Override
public void closeInventory(EntityPlayer playerIn) {

}

@Override
public boolean isItemValidForSlot(int i, ItemStack item) {

	if (i == 0) { // id card

		return true;
	} else if (i == 1) { // fuel
		return DimensionFuel.isItemFuel(item);
	} else {
		return false;
	}

}

@Override
public void writeToNBT(NBTTagCompound nbt) {
	super.writeToNBT(nbt);

	// saving energy
	nbt.setShort("DimensionEnergy", (short) this.dimensionEnergy);
	nbt.setShort("DimensionEnergyCharging", (short) this.dimensionEnergyCharging);
	nbt.setShort("Energy", (short) this.energy);

	// items
	NBTTagList list = new NBTTagList();
	for (int i = 0; i < slots.length; i++) {
		if (this.slots[i] != null) {
			NBTTagCompound compound = new NBTTagCompound();
			compound.setByte("Slot", (byte) i);
			this.slots[i].writeToNBT(compound);
			list.appendTag(compound);
		}
	}
	nbt.setTag("Items", list);

	if (this.hasCustomName()) {
		nbt.setString("CustomName", this.localizedName);
	}
	nbt.setBoolean("ActiveLastTick", this.activeLastTick);
}

@Override
public void readFromNBT(NBTTagCompound nbt) {
	super.readFromNBT(nbt);

	// items
	NBTTagList list = nbt.getTagList("Items", 10);
	this.slots = new ItemStack[this.getSizeInventory()];

	for (int i = 0; i < list.tagCount(); i++) {
		NBTTagCompound compound = list.getCompoundTagAt(i);
		byte b = compound.getByte("Slot");
		if (b >= 0 && b < this.slots.length) {
			this.slots[b] = ItemStack.loadItemStackFromNBT(compound);
		}

	}

	this.dimensionEnergy = nbt.getShort("DimensionEnergy");
	this.dimensionEnergyCharging = nbt.getShort("DimensionEnergyCharging");
	this.energy = nbt.getShort("Energy");

	if (nbt.hasKey("CustomName")) {
		this.localizedName = nbt.getString("CustomName");
	}
	this.activeLastTick = nbt.getBoolean("ActiveLastTick");

}

@Override
public int[] getSlotsForFace(EnumFacing side) {
	return side == EnumFacing.DOWN ? slots_bottom : (side == EnumFacing.UP ? slots_top : slots_sides);
}

@Override
public boolean canInsertItem(int index, ItemStack itemStackIn, EnumFacing direction) {
	return this.isItemValidForSlot(index, itemStackIn);
}

@Override
public boolean canExtractItem(int index, ItemStack itemStackIn, EnumFacing direction) {
	// if extracts from down slot 1(fuel) than true
	return direction == EnumFacing.DOWN || index == 1;
}

@SideOnly(Side.CLIENT)
public int getDimensionEnergyScaled(int heightDimensionEnergyBar) {
	return this.dimensionEnergy * heightDimensionEnergyBar / this.requiredDimensionEnergy;

}

public boolean isReadyToTP() {
	return this.dimensionEnergy == this.requiredDimensionEnergy;// &&
																// this.energy
																// ==
																// this.requiredEnergy;
}

public int getEnergy() {
	return energy;
}

public void setEnergy(int energy) {
	this.energy = energy;
}

public int getDimensionEnergy() {
	return dimensionEnergy;
}

public void setDimensionEnergy(int dimensionEnergy) {
	this.dimensionEnergy = dimensionEnergy;
}

@Override
public int getField(int id) {
	// TODO Auto-generated method stub
	return 0;
}

@Override
public void setField(int id, int value) {
	// TODO Auto-generated method stub

}

@Override
public int getFieldCount() {
	// TODO Auto-generated method stub
	return 0;
}

@Override
public void clear() {
        for (int i = 0; i < this.slots.length; ++i)
        {
            this.slots[i] = null;
        }

}

@Override
public Container createContainer(InventoryPlayer playerInventory,EntityPlayer playerIn) {
	return new ContainerFurnace(playerInventory, this);
}

@Override
public String getGuiID() {
	return "dimensionshift:simpleController";
}

}

 

 

 

Blockstates Active:

 

 

{
    "variants": {
    	"normal": { "model": "dimensionshift:blockSimpleControllerActive" },
    	"facing=north": { "model": "dimensionshift:blockSimpleControllerActive" },
    	"facing=south": { "model": "dimensionshift:blockSimpleControllerActive", "y": 180 },
    	"facing=west": { "model": "dimensionshift:blockSimpleControllerActive", "y": 270 },
    	"facing=east": { "model": "dimensionshift:blockSimpleControllerActive", "y": 90 },
}

}

 

 

 

Blockstates Idle:

 

 

{
    "variants": {
    	"normal": { "model": "dimensionshift:blockSimpleControllerIdle" },
    	"facing=north": { "model": "dimensionshift:blockSimpleControllerIdle" },
    	"facing=south": { "model": "dimensionshift:blockSimpleControllerIdle", "y": 180 },
    	"facing=west":  { "model": "dimensionshift:blockSimpleControllerIdle", "y": 270 },
    	"facing=east":  { "model": "dimensionshift:blockSimpleControllerIdle", "y": 90 },
}

}

 

 

 

BlockModel Active

 

 

{
    "parent": "block/orientable",
    "textures": {
        "top": "dimensionshift:blocks/blockSimpleController/top_active",
        "front": "dimensionshift:blocks/blockSimpleController/front",
        "side": "dimensionshift:blocks/blockSimpleController/side"
    }
}

 

 

 

 

BlockModel Idle

 

 

{
    "parent": "block/orientable",
    "textures": {
        "top": "dimensionshift:blocks/blockSimpleController/top_idle",
        "front": "dimensionshift:blocks/blockSimpleController/front",
        "side": "dimensionshift:blocks/blockSimpleController/side"
    }
}

 

 

 

 

 

Full crash:

 

 

16:16:07] [main/INFO] [GradleStart]: Extra: [--tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker]
[16:16:07] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, /Users/Jakob/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --accessToken, {REDACTED}, --version, 1.6, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker]
[16:16:07] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[16:16:07] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[16:16:07] [main/WARN] [LaunchWrapper]: Tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker has already been visited -- skipping
[16:16:07] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker
[16:16:07] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[16:16:07] [main/INFO] [FML]: Forge Mod Loader version 8.0.20.1290 for Minecraft 1.8 loading
[16:16:07] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_05, running on Mac OS X:x86_64:10.9.5, installed at /Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home/jre
[16:16:07] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[16:16:07] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker
[16:16:07] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[16:16:07] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[16:16:07] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[16:16:07] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[16:16:07] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[16:16:07] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[16:16:07] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[16:16:07] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[16:16:08] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[16:16:08] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[16:16:08] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[16:16:08] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[16:16:08] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[16:16:08] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[16:16:08] [Client thread/INFO]: Setting user: Player670
[16:16:10] [Client thread/INFO]: LWJGL Version: 2.9.2
[16:16:12] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[16:16:12] [Client thread/INFO] [FML]: MinecraftForge v11.14.0.1290 Initialized
[16:16:12] [Client thread/INFO] [FML]: Replaced 204 ore recipies
[16:16:12] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[16:16:12] [Client thread/INFO] [FML]: Searching /Users/Jakob/git/DimensionShiftCore/mods for mods
[16:16:14] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[16:16:14] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, dimensionshift] at CLIENT
[16:16:14] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, dimensionshift] at SERVER
[16:16:14] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:DimensionShift
[16:16:14] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[16:16:14] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations
[16:16:15] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[16:16:15] [Client thread/INFO] [FML]: Applying holder lookups
[16:16:15] [Client thread/INFO] [FML]: Holder lookups applied
[16:16:15] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue
[16:16:15] [Client thread/ERROR] [FML]: 
mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized
FML{8.0.20.1290} [Forge Mod Loader] (forgeSrc-1.8-11.14.0.1290-1.8.jar) Unloaded->Constructed->Pre-initialized
Forge{11.14.0.1290} [Minecraft Forge] (forgeSrc-1.8-11.14.0.1290-1.8.jar) Unloaded->Constructed->Pre-initialized
dimensionshift{Experimental v0.312} [DimensionShift] (bin) Unloaded->Constructed->Errored
[16:16:15] [Client thread/ERROR] [FML]: The following problems were captured during this phase
[16:16:15] [Client thread/ERROR] [FML]: Caught exception from dimensionshift
java.lang.IllegalArgumentException: Cannot set property PropertyDirection{name=facing, clazz=class net.minecraft.util.EnumFacing, values=[north, south, west, east]} as it does not exist in BlockState{block=null, properties=[]}
at net.minecraft.block.state.BlockState$StateImplementation.withProperty(BlockState.java:182) ~[forgeSrc-1.8-11.14.0.1290-1.8.jar:?]
at net.dimensionshift.mod.block.BlockSimpleController.<init>(BlockSimpleController.java:49) ~[bin/:?]
at net.dimensionshift.mod.DimensionShift.preInit(DimensionShift.java:165) ~[bin/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_05]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_05]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_05]
at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_05]
at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:515) ~[forgeSrc-1.8-11.14.0.1290-1.8.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_05]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_05]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_05]
at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_05]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) ~[forgeSrc-1.8-11.14.0.1290-1.8.jar:?]
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:187) ~[forgeSrc-1.8-11.14.0.1290-1.8.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_05]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_05]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_05]
at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_05]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118) [LoadController.class:?]
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:514) [Loader.class:?]
at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243) [FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.startGame(Minecraft.java:445) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:355) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_05]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_05]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_05]
at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_05]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?]
at GradleStart.main(GradleStart.java:45) [start/:?]
[16:16:15] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:func_179870_a:660]: ---- Minecraft Crash Report ----
// I bet Cylons wouldn't have this problem.

Time: 24.01.15 16:16
Description: Initializing game

java.lang.IllegalArgumentException: Cannot set property PropertyDirection{name=facing, clazz=class net.minecraft.util.EnumFacing, values=[north, south, west, east]} as it does not exist in BlockState{block=null, properties=[]}
at net.minecraft.block.state.BlockState$StateImplementation.withProperty(BlockState.java:182)
at net.dimensionshift.mod.block.BlockSimpleController.<init>(BlockSimpleController.java:49)
at net.dimensionshift.mod.DimensionShift.preInit(DimensionShift.java:165)
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:483)
at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:515)
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:483)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
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:483)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:514)
at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:445)
at net.minecraft.client.Minecraft.run(Minecraft.java:355)
at net.minecraft.client.main.Main.main(Main.java:117)
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:483)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78)
at GradleStart.main(GradleStart.java:45)

 

 

 

And here is a link to my github project: https://github.com/Jacky2611/DimensionShiftCore

 

Any ideas what I am doing wrong?

Here could be your advertisement!

Link to comment
Share on other sites

I already got everything working in 1.7.10. (2 block stuff, you should be able to change the branch on github to see it)

But now in 1.8 I have to change my texture rotation.

The problem is that minecraft crashes because something with my new blockstate property is not wrong.

Here could be your advertisement!

Link to comment
Share on other sites

I still have this problem.

Whenever I try to launch the game I get the error that there are no properties defined in my blockstate file. I already checked my path and the names.

Has anyone an idea why this is happening?

 

EDIT: Could it be that I have to register this property somewhere at the client side?

Here could be your advertisement!

Link to comment
Share on other sites

I already read your example mod (1-3) and tried to make my code as similar as just possible to yours. Was the first thing I did when I failed the first time.

 

EDIT: I register my blocks and the necessary client stuff in DimensionShiftBlocks. Please ignore the fact that everything related to my blockSimpleController is commented out.

https://github.com/Jacky2611/DimensionShiftCore/blob/master/src/main/java/net/dimensionshift/mod/DimensionShiftBlocks.java

Here could be your advertisement!

Link to comment
Share on other sites

  • 2 years later...
On 1/25/2015 at 5:29 PM, CoderAtParadise said:

To your block class you need to add

 


protected BlockState createBlockState()
    {
        return new BlockState(this, new IProperty[]{FACING});
    }
 

 

as you haven't told Minecraft that there actually is a blockstate for the block but you are using it anyway.

My code has that, but still doesn't load the block states. Here is my github, you could make a pull request if you find the error https://github.com/bignose956/bignose956

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • what's wrong here? info: [2024-05-08T11:50:59Z DEBUG rust_launcher::downloader] Downloading https://game-launcher.feathermc.com/release/version_index.json to C:\Users\Dell\AppData\Roaming\.minecraft\version_index.json... info: [2024-05-08T11:50:59Z DEBUG rust_launcher::downloader] Download from https://game-launcher.feathermc.com/release/version_index.json to C:\Users\Dell\AppData\Roaming\.minecraft\version_index.json completed. info: [2024-05-08T11:51:04Z ERROR rust_launcher::start::drm] Error while getting NTP time: Próba połączenia nie powiodła się, ponieważ połączona strona nie odpowiedziała poprawnie po ustalonym okresie czasu lub utworzone połączenie nie powiodło się, ponieważ połączony host nie odpowiedział. (os error 10060) info: CONNECTING TO SERVER undefined info: [2024-05-08T11:51:04Z INFO  rust_launcher::start::bindings] server: None info: [2024-05-08T11:51:04Z INFO  rust_launcher::start] Loading version info: {"versionSize":221968648,"state":{"VersionLoading":true},"currentDownloadRate":0,"expectedTasks":6,"downloadSpeed":0,"downloaded":0} info: [2024-05-08T11:51:04Z INFO  rust_launcher::start] Finished loading version info: [2024-05-08T11:51:04Z INFO  rust_launcher::start] Finished moving mods info: [2024-05-08T11:51:04Z INFO  rust_launcher::start] Preparing assets [2024-05-08T11:51:04Z INFO  rust_launcher::start] Preparing JRE info: {"versionSize":221968648,"state":{"Downloading":["Assets","Mods","Jre","Libraries"]},"currentDownloadRate":0,"expectedTasks":6,"downloadSpeed":0,"downloaded":75483} info: [2024-05-08T11:51:04Z DEBUG rust_launcher::start] Finished preparing JRE [2024-05-08T11:51:04Z INFO  rust_launcher::start] Preparing libraries info: [2024-05-08T11:51:04Z INFO  rust_launcher::start] Preparing mods [2024-05-08T11:51:04Z INFO  rust_launcher::start] Finished preparing mods info: {"versionSize":221968648,"state":{"Downloading":["Assets","Mods","Libraries"]},"currentDownloadRate":0,"expectedTasks":6,"downloadSpeed":0,"downloaded":43223364} info: {"versionSize":221968648,"state":{"Downloading":["Assets","Libraries"]},"currentDownloadRate":0,"expectedTasks":6,"downloadSpeed":0,"downloaded":43223364} info: {"versionSize":221968648,"state":{"Downloading":["Assets","Libraries"]},"currentDownloadRate":0,"expectedTasks":6,"downloadSpeed":0,"downloaded":132324388} info: {"versionSize":221968648,"state":{"Downloading":["Assets","Libraries"]},"currentDownloadRate":0,"expectedTasks":6,"downloadSpeed":0,"downloaded":361246457} info: [2024-05-08T11:51:07Z INFO  rust_launcher::start] Finished preparing libraries info: {"versionSize":221968648,"state":{"Downloading":["Assets"]},"currentDownloadRate":0,"expectedTasks":6,"downloadSpeed":0,"downloaded":628395692} info: {"versionSize":221968648,"state":{"Downloading":["Assets"]},"currentDownloadRate":0,"expectedTasks":6,"downloadSpeed":0,"downloaded":653786583} info: {"versionSize":221968648,"state":{"Downloading":["Assets"]},"currentDownloadRate":0,"expectedTasks":6,"downloadSpeed":0,"downloaded":678407583} info: {"versionSize":221968648,"state":{"Downloading":["Assets"]},"currentDownloadRate":0,"expectedTasks":6,"downloadSpeed":0,"downloaded":703052935} info: [2024-05-08T11:51:10Z INFO  rust_launcher::start] Finished preparing assets [2024-05-08T11:51:10Z INFO  rust_launcher::start] Preparing registry info: {"versionSize":221968648,"state":{"Jvm":true},"currentDownloadRate":0,"expectedTasks":6,"downloadSpeed":0,"downloaded":800814091} info: [2024-05-08T11:51:10Z INFO  rust_launcher::start] Finished preparing registry info: [2024-05-08T11:51:10Z INFO  rust_launcher::common::launch] starting JVM with arguments: ["-Djava.library.path=libraries/native\\net/digitalingot/fcef-windows/0.0.9\\extracted/;libraries/native\\net/digitalingot/fwebp-windows/0.0.2\\extracted/;libraries/native\\net/digitalingot/favif-windows/0.0.1\\extracted/;libraries/native\\com/discord/discord-game-sdk/3.2.1\\extracted/;libraries/native\\net/digitalingot/fdiscord/0.0.1\\extracted/;libraries/native\\net/digitalingot/fjni/0.0.1\\extracted/;libraries/native\\org/jitsi/jnopus/1.0\\extracted/;libraries/native\\org/lwjgl/lwjgl/3.3.1\\extracted/;libraries/native\\org/lwjgl/lwjgl-jemalloc/3.3.1\\extracted/;libraries/native\\org/lwjgl/lwjgl-openal/3.3.1\\extracted/;libraries/native\\org/lwjgl/lwjgl-opengl/3.3.1\\extracted/;libraries/native\\org/lwjgl/lwjgl-glfw/3.3.1\\extracted/;libraries/native\\org/lwjgl/lwjgl-stb/3.3.1\\extracted/;libraries/native\\org/lwjgl/lwjgl-tinyfd/3.3.1\\extracted/;libraries/native\\com/mojang/text2speech/1.13.9\\extracted/", "--add-opens=java.desktop/java.awt.event=ALL-UNNAMED", "--add-opens=java.desktop/java.awt.color=ALL-UNNAMED", "--add-opens=java.desktop/java.awt=ALL-UNNAMED", "--add-opens=java.base/java.lang=ALL-UNNAMED", "-Xmx4474M", "-XX:+UnlockExperimentalVMOptions", "-XX:+UseG1GC", "-XX:G1NewSizePercent=20", "-XX:G1ReservePercent=20", "-XX:MaxGCPauseMillis=50", "-XX:G1HeapRegionSize=32M", "-Dlog4j2.formatMsgNoLookups=true", "-XX:ErrorFile=feather/java_error.log", "-Djavax.accessibility.assistive_technologies=", "-Djavax.net.ssl.trustStoreType=WINDOWS-ROOT", "-cp", "libraries\\java\\net/minecraft/client/1.19.2/minecraft-1.19.2.jar;libraries\\java\\net/fabricmc/sponge-mixin/0.13.4+mixin.0.8.5/sponge-mixin-0.13.4+mixin.0.8.5.jar;libraries\\java\\org/ow2/asm/asm/9.6/asm-9.6.jar;libraries\\java\\org/ow2/asm/asm-analysis/9.6/asm-analysis-9.6.jar;libraries\\java\\org/ow2/asm/asm-commons/9.6/asm-commons-9.6.jar;libraries\\java\\org/ow2/asm/asm-tree/9.6/asm-tree-9.6.jar;libraries\\java\\org/ow2/asm/asm-util/9.6/asm-util-9.6.jar;libraries\\java\\net/fabricmc/intermediary/1.19.2/intermediary-1.19.2.jar;libraries/java\\net/fabricmc/fabric-loader/0.15.11/fabric-loader-0.15.11.jar;libraries\\java\\de/javagl/obj/0.3.0/obj-0.3.0.jar;libraries\\java\\net/digitalingot/fjni/0.0.1/fjni-0.0.1.jar;libraries\\java\\net/digitalingot/fdiscord/0.0.1/fdiscord-0.0.1.jar;libraries\\java\\software/bernie/geckolib/geckolib-fabric-1.19-3.5.0.jar;libraries\\java\\net/digitalingot/rust-extension/1.0.7/rust-extension-1.0.7.jar;libraries\\java\\net/digitalingot/fcef/0.0.6/fcef-0.0.6.jar;libraries\\java\\net/digitalingot/fwebp/0.0.1/fwebp-0.0.1.jar;libraries\\java\\net/digitalingot/favif/0.0.1/favif-0.0.1.jar;libraries\\java\\org/joml/joml/1.10.5/joml-1.10.5.jar;libraries\\java\\net/digitalingot/feather-server-api/messaging/0.0.4/messaging-0.0.4-SNAPSHOT.jar;libraries\\java\\org/jitsi/libjitsi/1.0-CUSTOM/libjitsi-1.0-CUSTOM.jar;libraries\\java\\org/jitsi/jitsi-utils/1.0-45-gc3afb76/jitsi-utils-1.0-45-gc3afb76.jar;libraries\\java\\org/capnproto/runtime/0.1.10/runtime-0.1.10.jar;libraries\\java\\com/google/inject/guice/5.1.0/guice-vendored-5.1.0.jar;libraries\\java\\javassist/javassist/3.12.1.GA/javassist-3.12.1.GA.jar;libraries\\java\\com/mojang/logging/1.0.0/logging-1.0.0.jar;libraries\\java\\com/mojang/blocklist/1.0.10/blocklist-1.0.10.jar;libraries\\java\\com/mojang/patchy/2.2.10/patchy-2.2.10.jar;libraries\\java\\com/github/oshi/oshi-core/5.8.5/oshi-core-5.8.5.jar;libraries\\java\\net/java/dev/jna/jna/5.10.0/jna-5.10.0.jar;libraries\\java\\net/java/dev/jna/jna-platform/5.10.0/jna-platform-5.10.0.jar;libraries\\java\\org/slf4j/slf4j-api/1.8.0-beta4/slf4j-api-1.8.0-beta4.jar;libraries\\java\\org/apache/logging/log4j/log4j-slf4j18-impl/2.17.0/log4j-slf4j18-impl-2.17.0.jar;libraries\\java\\com/ibm/icu/icu4j/70.1/icu4j-70.1.jar;libraries\\java\\com/mojang/javabridge/1.2.24/javabridge-1.2.24.jar;libraries\\java\\net/sf/jopt-simple/jopt-simple/5.0.4/jopt-simple-5.0.4.jar;libraries\\java\\io/netty/netty-codec-http/4.1.76.Final/netty-codec-http-4.1.76.Final.jar;libraries\\java\\io/netty/netty-common/4.1.76.Final/netty-common-4.1.76.Final.jar;libraries\\java\\io/netty/netty-buffer/4.1.76.Final/netty-buffer-4.1.76.Final.jar;libraries\\java\\io/netty/netty-codec/4.1.76.Final/netty-codec-4.1.76.Final.jar;libraries\\java\\io/netty/netty-handler/4.1.76.Final/netty-handler-4.1.76.Final.jar;libraries\\java\\io/netty/netty-resolver/4.1.76.Final/netty-resolver-4.1.76.Final.jar;libraries\\java\\io/netty/netty-transport/4.1.76.Final/netty-transport-4.1.76.Final.jar;libraries\\java\\io/netty/netty-transport-native-unix-common/4.1.76.Final/netty-transport-native-unix-common-4.1.76.Final.jar;libraries\\java\\io/netty/netty-transport-classes-epoll/4.1.76.Final/netty-transport-classes-epoll-4.1.76.Final.jar;libraries\\java\\com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar;libraries\\java\\com/google/guava/guava/31.0.1-jre/guava-31.0.1-jre.jar;libraries\\java\\org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar;libraries\\java\\commons-io/commons-io/2.11.0/commons-io-2.11.0.jar;libraries\\java\\commons-codec/commons-codec/1.15/commons-codec-1.15.jar;libraries\\java\\com/mojang/brigadier/1.0.18/brigadier-1.0.18.jar;libraries\\java\\com/mojang/datafixerupper/5.0.28/datafixerupper-5.0.28.jar;libraries\\java\\com/google/code/gson/gson/2.8.9/gson-2.8.9.jar;libraries\\java\\com/mojang/authlib/3.11.49/authlib-3.11.49.jar;libraries\\java\\org/apache/commons/commons-compress/1.21/commons-compress-1.21.jar;libraries\\java\\org/apache/httpcomponents/httpclient/4.5.13/httpclient-4.5.13.jar;libraries\\java\\commons-logging/commons-logging/1.2/commons-logging-1.2.jar;libraries\\java\\org/apache/httpcomponents/httpcore/4.4.14/httpcore-4.4.14.jar;libraries\\java\\it/unimi/dsi/fastutil/8.5.6/fastutil-8.5.6.jar;libraries\\java\\org/apache/logging/log4j/log4j-api/2.17.0/log4j-api-2.17.0.jar;libraries\\java\\org/apache/logging/log4j/log4j-core/2.17.0/log4j-core-2.17.0.jar;libraries\\java\\org/lwjgl/lwjgl/3.3.1/lwjgl-3.3.1.jar;libraries\\java\\org/lwjgl/lwjgl-jemalloc/3.3.1/lwjgl-jemalloc-3.3.1.jar;libraries\\java\\org/lwjgl/lwjgl-openal/3.3.1/lwjgl-openal-3.3.1.jar;libraries\\java\\org/lwjgl/lwjgl-opengl/3.3.1/lwjgl-opengl-3.3.1.jar;libraries\\java\\org/lwjgl/lwjgl-glfw/3.3.1/lwjgl-glfw-3.3.1.jar;libraries\\java\\org/lwjgl/lwjgl-stb/3.3.1/lwjgl-stb-3.3.1.jar;libraries\\java\\org/lwjgl/lwjgl-tinyfd/3.3.1/lwjgl-tinyfd-3.3.1.jar;libraries\\java\\com/mojang/text2speech/1.13.9/text2speech-1.13.9.jar", "-DFabricMcEmu= net.minecraft.client.main.Main ", "net.digitalingot.rustextension.ProxiedStart", "net.fabricmc.loader.launch.knot.KnotClient", "--username", "yeeeat", "--version", "1.19.2-feather", "--gameDir", "C:\\Users\\Dell\\AppData\\Roaming/.minecraft", "--assetsDir", "assets", "--assetIndex", "1.19-feather-game", "--uuid", "4820f9fb67c34cb6927e80e8a03a21c6", "--accessToken", "<hidden>", "--userType", "msa", "--versionType", "feather"] info: sending javaw pid info: starting cleanup info: [13:51:11] [main/INFO]: Loading Minecraft 1.19.2 with Fabric Loader 0.15.11 info: [13:51:12] [ForkJoinPool-1-worker-2/WARN]: Mod feather uses the version release/756b8dc6 which isn't compatible with Loader's extended semantic version format (Could not parse version number component 'release/756b8dc6'!), SemVer is recommended for reliably evaluating dependencies and prioritizing newer version info: [13:51:12] [main/INFO]: Loading 126 mods:     - appleskin 2.4.1+mc1.19     - architectury 6.5.85     - betterhurtcam 1.3.3+mc1.19.2     - boostedbrightness 2.1.2     - clearhitboxes 1.2     - cloth-config 8.2.88        \-- cloth-basic-math 0.6.1     - cmdkeybind 1.6.0-1.19        \-- kyrptconfig 1.4.14-1.19     - collective 6.61     - completeconfig 2.1.0        |-- coat 1.0.0-beta.19+mc22w17a        |-- completeconfig-base 2.1.0        |-- completeconfig-gui-cloth 2.1.0        |-- completeconfig-gui-coat 2.1.0        \-- completeconfig-gui-yacl 2.1.0     - cull-less-leaves 1.0.6        \-- conditional-mixin 0.3.0     - custom_hud 3.0.0+1.19.2     - darkkore 0.3.1-1.19        |-- com_electronwill_night-config_core 3.6.5        |-- com_electronwill_night-config_json 3.6.5        |-- com_electronwill_night-config_toml 3.6.5        |-- com_github_darkkronicle_konstruct_addons 2.0.3-build1        \-- com_github_darkkronicle_konstruct_core 2.0.3-build1     - debugify 2.8.0     - entitycollisionfpsfix 2.0.0.0     - entityculling 1.6.1-mc1.19.2     - exordium 1.0.2-mc1.19.2     - fabric-api 0.76.1+1.19.2        |-- fabric-api-base 0.4.15+8f4e8eb390        |-- fabric-api-lookup-api-v1 1.6.14+93d8cb8290        |-- fabric-biome-api-v1 9.1.1+16f1e31390        |-- fabric-block-api-v1 1.0.2+e415d50e90        |-- fabric-blockrenderlayer-v1 1.1.25+cafc6e8e90        |-- fabric-client-tags-api-v1 1.0.5+b35fea8390        |-- fabric-command-api-v1 1.2.16+f71b366f90        |-- fabric-command-api-v2 2.2.1+413cbbc790        |-- fabric-commands-v0 0.2.33+df3654b390        |-- fabric-containers-v0 0.1.42+df3654b390        |-- fabric-content-registries-v0 3.5.2+7c6cd14d90        |-- fabric-convention-tags-v1 1.3.0+4bc6e26290        |-- fabric-crash-report-info-v1 0.2.8+aeb40ebe90        |-- fabric-data-generation-api-v1 5.3.9+413cbbc790        |-- fabric-dimensions-v1 2.1.35+0d0f210290        |-- fabric-entity-events-v1 1.5.4+9244241690        |-- fabric-events-interaction-v0 0.4.34+562bff6e90        |-- fabric-events-lifecycle-v0 0.2.36+df3654b390        |-- fabric-game-rule-api-v1 1.0.24+b6b6abb490        |-- fabric-item-api-v1 1.6.6+b7d1888890        |-- fabric-item-groups-v0 0.3.39+9244241690        |-- fabric-key-binding-api-v1 1.0.25+5c4fce2890        |-- fabric-keybindings-v0 0.2.23+df3654b390        |-- fabric-lifecycle-events-v1 2.2.4+1b46dc7890        |-- fabric-loot-api-v2 1.1.13+83a8659290        |-- fabric-loot-tables-v1 1.1.16+9e7660c690        |-- fabric-message-api-v1 5.0.7+93d8cb8290        |-- fabric-mining-level-api-v1 2.1.24+33fbc73890        |-- fabric-models-v0 0.3.21+c6af733c90        |-- fabric-networking-api-v1 1.2.12+def3f86d90        |-- fabric-networking-v0 0.3.29+df3654b390        |-- fabric-object-builder-api-v1 4.2.2+d8ef690890        |-- fabric-particles-v1 1.0.14+4d0d570390        |-- fabric-recipe-api-v1 1.0.2+413cbbc790        |-- fabric-registry-sync-v0 0.9.33+9244241690        |-- fabric-renderer-api-v1 1.2.1+1adbf27790        |-- fabric-renderer-indigo 0.8.0+1adbf27790        |-- fabric-renderer-registries-v1 3.2.24+df3654b390        |-- fabric-rendering-data-attachment-v1 0.3.19+6e0787e690        |-- fabric-rendering-fluids-v1 3.0.11+4d0d570390        |-- fabric-rendering-v0 1.1.27+df3654b390        |-- fabric-rendering-v1 1.12.1+d8ef690890        |-- fabric-resource-conditions-api-v1 2.1.2+aae9039d90        |-- fabric-resource-loader-v0 0.8.4+edbdcddb90        |-- fabric-screen-api-v1 1.0.32+4d0d570390        |-- fabric-screen-handler-api-v1 1.3.8+1cc24b1b90        |-- fabric-sound-api-v1 1.0.2+c4f28df590        |-- fabric-textures-v0 1.0.24+aeb40ebe90        |-- fabric-transfer-api-v1 2.1.6+413cbbc790        \-- fabric-transitive-access-wideners-v1 1.3.3+08b73de490     - fabric-language-kotlin 1.9.5+kotlin.1.8.22        |-- org_jetbrains_kotlin_kotlin-reflect 1.8.22        |-- org_jetbrains_kotlin_kotlin-stdlib 1.8.22        |-- org_jetbrains_kotlin_kotlin-stdlib-jdk7 1.8.22        |-- org_jetbrains_kotlin_kotlin-stdlib-jdk8 1.8.22        |-- org_jetbrains_kotlinx_atomicfu-jvm 0.20.2        |-- org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm 1.7.1        |-- org_jetbrains_kotlinx_kotlinx-coroutines-jdk8 1.7.1        |-- org_jetbrains_kotlinx_kotlinx-datetime-jvm 0.4.0        |-- org_jetbrains_kotlinx_kotlinx-serialization-cbor-jvm 1.5.1        |-- org_jetbrains_kotlinx_kotlinx-serialization-core-jvm 1.5.1        \-- org_jetbrains_kotlinx_kotlinx-serialization-json-jvm 1.5.1     - fabricloader 0.15.11        \-- mixinextras 0.3.5     - feather release/756b8dc6     - ferritecore 5.0.3     - forcecloseloadingscreen 1.1.1     - ias 8.0.1     - inventoryhud 3.4.2     - itemmodelfix 1.0.3+1.19     - java 17     - kronhud 1.19.2-2.2.3     - lessglintythings 1.3.2     - memoryleakfix 1.1.1     - minecraft 1.19.2     - mixin-conflict-helper 1.2.0     - modmenu 4.2.0-beta.2     - morecosmetics 1.2     - nametagping 1.19.2-1.2     - optifabric 1.13.24        \-- mm 2.3     - perspektive 1.2.1     - recursiveresources 2.4.3+1.19        |-- cicada 0.4.0        \-- shared-resources-api 1.5.0     - shulkerboxtooltip 3.2.2+1.19.2     - slotlock 1.1.1-BETA+1.19     - timechanger 1.2.0        \-- midnightlib 0.5.2     - ukulib 0.6.1+1.19.2        |-- com_moandjiezana_toml_toml4j 0.7.2        \-- gs_mclo_java_mclogs-java 2.1.1     - waveycapes 1.3.2     - whoami 1.0     - xaerobetterpvp 24.1.1     - yet-another-config-lib 2.2.0-for-1.19.2 info: [13:51:13] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/C:/Users/Dell/AppData/Roaming/.minecraft/libraries/java/net/fabricmc/sponge-mixin/0.13.4+mixin.0.8.5/sponge-mixin-0.13.4+mixin.0.8.5.jar Service=Knot/Fabric Env=CLIENT info: [13:51:13] [main/INFO]: Compatibility level set to JAVA_16 info: [13:51:13] [main/INFO]: Compatibility level set to JAVA_17 info: [13:51:13] [main/INFO]: [Feather::EssentialMod] Installed: false info: [13:51:14] [main/WARN]: Reference map 'shared-resources-api-refmap.json' for shared-resources-api.mixins.json could not be read. If this is a development environment you can ignore this message info: [13:51:14] [main/WARN]: Error loading class: me/jellysquid/mods/sodium/client/gui/options/control/SliderControl (java.lang.ClassNotFoundException: me/jellysquid/mods/sodium/client/gui/options/control/SliderControl) info: [13:51:14] [main/WARN]: Error loading class: me/jellysquid/mods/sodium/client/gui/options/OptionImpl (java.lang.ClassNotFoundException: me/jellysquid/mods/sodium/client/gui/options/OptionImpl) info: [13:51:14] [main/WARN]: Force disabled MC-121772 because it only applies to OS: MAC [13:51:14] [main/WARN]: Force disabled MC-122477 because it only applies to OS: LINUX info: [13:51:14] [main/WARN]: Force disabled MC-22882 because it only applies to OS: MAC info: [13:51:14] [main/WARN]: Force disabled MC-228976 because it's conflicting with: entitycollisionfpsfix info: [13:51:14] [main/WARN]: Force disabled MC-249059 because it's conflicting with: forcecloseloadingscreen info: [13:51:15] [main/INFO]: [MemoryLeakFix] Will be applying 4 memory leak fixes! [13:51:15] [main/INFO]: [MemoryLeakFix] Currently enabled memory leak fixes: [targetEntityLeak, entityMemoriesLeak, biomeTemperatureLeak, hugeScreenshotLeak] info: [13:51:15] [main/WARN]: Error loading class: org/jetbrains/annotations/ApiStatus$Internal (java.lang.ClassNotFoundException: org/jetbrains/annotations/ApiStatus$Internal) error: Failed to setup optifine: java.lang.NoClassDefFoundError: net/fabricmc/tinyremapper/IMappingProvider     at me.modmuss50.optifabric.mod.OptifabricSetup.run(OptifabricSetup.java:46)     at java.base/java.util.ArrayList.forEach(Unknown Source)     at com.chocohead.mm.Plugin.getMixins(Plugin.java:340)     at org.spongepowered.asm.mixin.transformer.PluginHandle.getMixins(PluginHandle.java:128)     at org.spongepowered.asm.mixin.transformer.MixinConfig.postInitialise(MixinConfig.java:796)     at org.spongepowered.asm.mixin.transformer.MixinProcessor.prepareConfigs(MixinProcessor.java:568)     at org.spongepowered.asm.mixin.transformer.MixinProcessor.select(MixinProcessor.java:462)     at org.spongepowered.asm.mixin.transformer.MixinProcessor.checkSelect(MixinProcessor.java:438)     at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:290)     at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234)     at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202)     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:422)     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:323)     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218)     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:119)     at java.base/java.lang.ClassLoader.loadClass(Unknown Source)     at java.base/java.lang.Class.forName0(Native Method)     at java.base/java.lang.Class.forName(Unknown Source)     at net.fabricmc.loader.impl.util.DefaultLanguageAdapter.create(DefaultLanguageAdapter.java:50)     at net.fabricmc.loader.impl.entrypoint.EntrypointStorage$NewEntry.getOrCreate(EntrypointStorage.java:117)     at net.fabricmc.loader.impl.entrypoint.EntrypointContainerImpl.getEntrypoint(EntrypointContainerImpl.java:53)     at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:384)     at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:160)     at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68)     at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28)     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)     at java.base/java.lang.reflect.Method.invoke(Unknown Source)     at net.digitalingot.rustextension.ProxiedStart.main(ProxiedStart.java:16) Caused by: java.lang.ClassNotFoundException: net.fabricmc.tinyremapper.IMappingProvider     at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)     at java.base/java.lang.ClassLoader.loadClass(Unknown Source)     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:226)     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:119)     at java.base/java.lang.ClassLoader.loadClass(Unknown Source)     ... 30 more info: [13:51:15] [main/WARN]: Error loading class: net/optifine/Config (java.lang.ClassNotFoundException: net/optifine/Config) info: [13:51:15] [main/INFO]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.3.5). info: [13:51:15] [main/ERROR]: Minecraft has crashed! net.fabricmc.loader.impl.FormattedException: java.lang.RuntimeException: Mixin transformation of net.minecraft.class_155 failed     at net.fabricmc.loader.impl.FormattedException.ofLocalized(FormattedException.java:63) ~[fabric-loader-0.15.11.jar:?]     at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:472) ~[fabric-loader-0.15.11.jar:?]     at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.15.11.jar:?]     at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28) [fabric-loader-0.15.11.jar:?]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:?]     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?]     at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]     at net.digitalingot.rustextension.ProxiedStart.main(ProxiedStart.java:16) [rust-extension-1.0.7.jar:?] Caused by: java.lang.RuntimeException: Mixin transformation of net.minecraft.class_155 failed     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:427) ~[fabric-loader-0.15.11.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:323) ~[fabric-loader-0.15.11.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.15.11.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:119) ~[fabric-loader-0.15.11.jar:?]     at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:?]     at net.minecraft.client.main.Main.method_44604(Main.java:55) ~[minecraft-1.19.2.jar:?]     at net.minecraft.client.main.Main.main(Main.java:51) ~[minecraft-1.19.2.jar:?]     at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) ~[fabric-loader-0.15.11.jar:?]     ... 7 more Caused by: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered     at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:392) ~[sponge-mixin-0.13.4+mixin.0.8.5.jar:0.13.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234) ~[sponge-mixin-0.13.4+mixin.0.8.5.jar:0.13.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202) ~[sponge-mixin-0.13.4+mixin.0.8.5.jar:0.13.4+mixin.0.8.5]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:422) ~[fabric-loader-0.15.11.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:323) ~[fabric-loader-0.15.11.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.15.11.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:119) ~[fabric-loader-0.15.11.jar:?]     at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:?]     at net.minecraft.client.main.Main.method_44604(Main.java:55) ~[minecraft-1.19.2.jar:?]     at net.minecraft.client.main.Main.main(Main.java:51) ~[minecraft-1.19.2.jar:?]     at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) ~[fabric-loader-0.15.11.jar:?]     ... 7 more Caused by: java.lang.ClassCastException: class com.llamalad7.mixinextras.lib.apache.commons.tuple.ImmutablePair cannot be cast to class org.apache.commons.lang3.tuple.Pair (com.llamalad7.mixinextras.lib.apache.commons.tuple.ImmutablePair and org.apache.commons.lang3.tuple.Pair are in unnamed module of loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader @66a3ffec)     at ca.fxco.memoryleakfix.config.mixinExtension.UnMixinExtension.preApply(UnMixinExtension.java:23) ~[memoryleakfix-fabric-1.17+-1.1.1.temp.jar:?]     at org.spongepowered.asm.mixin.transformer.ext.Extensions.preApply(Extensions.java:156) ~[sponge-mixin-0.13.4+mixin.0.8.5.jar:0.13.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.TargetClassContext.preApply(TargetClassContext.java:414) ~[sponge-mixin-0.13.4+mixin.0.8.5.jar:0.13.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:401) ~[sponge-mixin-0.13.4+mixin.0.8.5.jar:0.13.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) ~[sponge-mixin-0.13.4+mixin.0.8.5.jar:0.13.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234) ~[sponge-mixin-0.13.4+mixin.0.8.5.jar:0.13.4+mixin.0.8.5]     at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202) ~[sponge-mixin-0.13.4+mixin.0.8.5.jar:0.13.4+mixin.0.8.5]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:422) ~[fabric-loader-0.15.11.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:323) ~[fabric-loader-0.15.11.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.15.11.jar:?]     at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:119) ~[fabric-loader-0.15.11.jar:?]     at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:?]     at net.minecraft.client.main.Main.method_44604(Main.java:55) ~[minecraft-1.19.2.jar:?]     at net.minecraft.client.main.Main.main(Main.java:51) ~[minecraft-1.19.2.jar:?]     at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) ~[fabric-loader-0.15.11.jar:?]     ... 7 more info: [2024-05-08T11:51:15Z INFO  rust_launcher::start::bindings] launch stalled  
    • Add PacketFixer: https://www.curseforge.com/minecraft/mc-mods/packet-fixer
    • torohealth and legendarytooltips are client-side-only mods Remove these from your server, keep these in your client
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.