28Smiles
Members-
Posts
12 -
Joined
-
Last visited
Converted
-
Gender
Male
-
Personal Text
Wtf?! Let's code it again...
28Smiles's Achievements
Tree Puncher (2/8)
0
Reputation
-
Hello, I want to try out the new Block Animation Framework for a mod of mine, but I have no idea how the Animation works.. I have a correct Blockstate, with static Propertie and so on, it is working fine, but my animation json are not working as expected. One box of the animated model is deplaced and the rest isn't doing anything... My idea here is that the shaftmodel should start spinning if the state changed to moving: Armature -- https://pastebin.com/tvkWbZHf Blockstate -- https://pastebin.com/5tgjM3zb ASMS -- https://pastebin.com/W7czgwjq BoxModel -- https://pastebin.com/bM6YXdup ShaftModel -- https://pastebin.com/T9AG68RV (Should rotate) In my tile I did this: https://pastebin.com/nMY5LvUC Please help me.. Explain the Animation System to me.. PLS PS: I have read all the examples made by Forge and Others and also the grammar.js
-
I am trying to make a spinning block with an obj model. So far it went quite well: But if I try to start the block to spin around via. TRSRTransformation the block stops the model rendering and displays a normal block with missing texture. Block: public class BlockPylon extends Block implements ITileEntityProvider { public static final BlockPylon INSTANCE = new BlockPylon(); public static final String name = "pylon"; public ExtendedBlockState state = new ExtendedBlockState(this, new IProperty[0], new IUnlistedProperty[] {OBJModel.OBJProperty.INSTANCE}); public BlockPylon() { super(Material.rock); setUnlocalizedName(Ragnarok.MODID + ":" + name); setCreativeTab(CreativeTabs.tabBlock); } @Override public TileEntity createNewTileEntity(World world, int meta) { return new TilePylon(); } @Override public boolean isOpaqueCube(IBlockState state) { return false; } @Override public boolean isFullCube(IBlockState state) { return false; } @Override public boolean hasTileEntity(IBlockState state) { return true; } @Override public IBlockState getExtendedState(IBlockState state, IBlockAccess world, BlockPos pos) { if (world.getTileEntity(pos) != null && world.getTileEntity(pos) instanceof TilePylon) { TilePylon te = (TilePylon) world.getTileEntity(pos); if (te.state != null) { return ((IExtendedBlockState) this.state.getBaseState()).withProperty(OBJModel.OBJProperty.INSTANCE, te.state); } } return state; } @Override protected BlockStateContainer createBlockState() { return new ExtendedBlockState(this, new IProperty[0], new IUnlistedProperty[] {OBJModel.OBJProperty.INSTANCE}); } } Tile: public class TilePylon extends TileEntity implements ITickable { public OBJModel.OBJState state; private double anglePitch = 0D; private double step = 0; public TilePylon() { this.state = new OBJModel.OBJState(Lists.newArrayList(OBJModel.Group.ALL), true); } @Override public void update() { step += Math.PI / 80; if(step >= Math.PI / 2) step = step - Math.PI; anglePitch = step; if (this.worldObj.isRemote) { Quat4f rot = new Quat4f(0, 0, 0, 1); AxisAngle4d pitch = new AxisAngle4d(1, 0, 0, -anglePitch); Quat4f pitchQuat = new Quat4f(); pitchQuat.set(pitch); rot.mul(pitchQuat); Matrix4f matrix = new Matrix4f(); matrix.setIdentity(); matrix.setRotation(rot); TRSRTransformation transform = new TRSRTransformation(matrix); transform = TRSRTransformation.blockCenterToCorner(transform); this.state = new OBJModel.OBJState(Lists.newArrayList(OBJModel.Group.ALL), true, transform); //this.worldObj.setBlockState(pos, BlockPylon.INSTANCE.getExtendedState(worldObj.getBlockState(pos), worldObj, pos)); this.worldObj.markBlockRangeForRenderUpdate(pos, pos); } } } Loader: @EventHandler public void preInit(FMLPreInitializationEvent event) { BlockPylon.INSTANCE.setRegistryName(BlockPylon.name); GameRegistry.register(BlockPylon.INSTANCE); ItemBlock item = new ItemBlock(BlockPylon.INSTANCE); item.setRegistryName(BlockPylon.name); GameRegistry.register(item); GameRegistry.registerTileEntity(TilePylon.class, "pylon"); if (event.getSide() == Side.CLIENT) clientPreInit(); } private void clientPreInit() { OBJLoader.INSTANCE.addDomain(MODID.toLowerCase()); Item item = Item.getItemFromBlock(BlockPylon.INSTANCE); ModelLoader.setCustomModelResourceLocation(item, 0, new ModelResourceLocation(MODID.toLowerCase() + ":" + BlockPylon.name, "inventory")); }
-
Thank's to all and especially to elix I missed the *.png at the end for those who are interested in the project here is a picture:
-
Yes it's easy but just for 1.7.10, in 1.8(look in the Subject) it isn't. My Problem is that the Texture isn't found, I get the missing texture.... Altrough thanks, but the Problem isn't solved
-
Hello, I've some trouble with my Fluidtank. It dousen't find the Texture of Water here the nessesary code: ResourceLocation fluidTexture = fluidTank.getFluid().getFluid().getStill(fluidTank.getFluid()); fluidTexture = new ResourceLocation(fluidTexture.getResourceDomain(), "textures/" + fluidTexture.getResourcePath()); Minecraft.getMinecraft().renderEngine.bindTexture(fluidTexture); parent.setGLColorFromInt(fluidTank.getFluid().getFluid().getColor()); parent.drawSizedTexturedModalRect((int)position.getX() + 1 + (int)topLeft.getX(), (int)position.getY() + (int)topLeft.getY() + 59 - (int)((58F / 10F) * (((float)fluidTank.getFluidAmount()) / 1000F)), 0, 0, 16, (int)((58F / 10F) * (((float)fluidTank.getFluidAmount()) / 1000F)), 16F, 16F); Java Debugger: fluidTexture := "minecraft:textures/blocks/water_still"; color := r: 255 g: 255 b: 255 a: 1.0F fluid := water Exception: [10:31:32] [Client thread/WARN]: Failed to load texture: minecraft:textures/blocks/water_still java.io.FileNotFoundException: minecraft:textures/blocks/water_still at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:70) ~[FallbackResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[simpleReloadableResourceManager.class:?] at net.minecraft.client.renderer.texture.SimpleTexture.loadTexture(SimpleTexture.java:34) ~[simpleTexture.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:70) [TextureManager.class:?] at net.minecraft.client.renderer.texture.TextureManager.bindTexture(TextureManager.java:44) [TextureManager.class:?] at technocore.client.gui.elements.ElementFluidTank.draw(ElementFluidTank.java:38) [ElementFluidTank.class:?] at technocore.client.gui.TechnoCoreGui.drawGuiContainerBackgroundLayer(TechnoCoreGui.java:87) [TechnoCoreGui.class:?] at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:95) [GuiContainer.class:?] at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:460) [ForgeHooksClient.class:?] at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1137) [EntityRenderer.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1114) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:376) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_51] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?] at GradleStart.main(Unknown Source) [start/:?] And I also tried another variant: ResourceLocation fluidTexture = fluidTank.getFluid().getFluid().getStill(fluidTank.getFluid()); Minecraft.getMinecraft().renderEngine.bindTexture(fluidTexture); parent.setGLColorFromInt(fluidTank.getFluid().getFluid().getColor()); parent.drawSizedTexturedModalRect((int)position.getX() + 1 + (int)topLeft.getX(), (int)position.getY() + (int)topLeft.getY() + 59 - (int)((58F / 10F) * (((float)fluidTank.getFluidAmount()) / 1000F)), 0, 0, 16, (int)((58F / 10F) * (((float)fluidTank.getFluidAmount()) / 1000F)), 16F, 16F); Java Debugger: fluidTexture := "minecraft:blocks/water_still"; color := r: 255 g: 255 b: 255 a: 1.0F fluid := water Exception: [10:31:53] [Client thread/WARN]: Failed to load texture: minecraft:blocks/water_still java.io.FileNotFoundException: minecraft:blocks/water_still at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:70) ~[FallbackResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[simpleReloadableResourceManager.class:?] at net.minecraft.client.renderer.texture.SimpleTexture.loadTexture(SimpleTexture.java:34) ~[simpleTexture.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:70) [TextureManager.class:?] at net.minecraft.client.renderer.texture.TextureManager.bindTexture(TextureManager.java:44) [TextureManager.class:?] at technocore.client.gui.elements.ElementFluidTank.draw(ElementFluidTank.java:38) [ElementFluidTank.class:?] at technocore.client.gui.TechnoCoreGui.drawGuiContainerBackgroundLayer(TechnoCoreGui.java:87) [TechnoCoreGui.class:?] at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:95) [GuiContainer.class:?] at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:460) [ForgeHooksClient.class:?] at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1137) [EntityRenderer.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1114) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:376) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_51] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_51] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?] at GradleStart.main(Unknown Source) [start/:?]
-
[1.7.10] Multiblock Tile Entity Losing Data on Unload
28Smiles replied to turbodiesel4598's topic in Modder Support
You have to Sync the Server Tile with the client Tile (Commonly you just send the nessesary data from Server to Client). You can use Netty-IO: http://www.minecraftforge.net/wiki/Netty_Packet_Handling or TileEntityPackets: public Packet getDescriptionPacket() and public void onDataPacket(NetworkManager net, S35PacketUpdateTileEntity pkt) -
[1.7.10] Checking Bow enchantment & teleport player to arrow
28Smiles replied to a topic in Modder Support
1. Look with something like JDecompiler at the EnderPearl 2. If you wan't to make this you may have to make a new Arrow and/or Bow -
[1.8] [Unsolved] Tutorial Ore Generation
28Smiles replied to UnknownAssassin's topic in Modder Support
I see you are from germany.. So wenn du noch Hilfe brauchst dann melde dich bei mir und ich erklär dir den Fehler. -
I know.... Oh sorry here See: public class Boiler extends Block implements ITileEntityProvider { public static final PropertyInteger STATE = PropertyInteger.create("state", 0, 15); protected Boiler() { super(Material.iron); setUnlocalizedName("boiler"); this.setDefaultState(this.blockState.getBaseState().withProperty(STATE, 0)); } @Override public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumFacing arg4, float arg5, float arg6, float arg7) { TileEntity tile = world.getTileEntity(pos); if(tile != null) return ((TileEntityBoiler)tile).onBlockActivated(world, pos, state, player, arg4, arg5, arg6, arg7); else return false; } @Override public void onNeighborBlockChange(World world, BlockPos pos, IBlockState bs, Block block) { TileEntity tile = world.getTileEntity(pos); if(tile != null) { ((TileEntityBoiler)tile).onNeighborBlockChange(world, pos, bs, block); } } @Override public void onBlockAdded(World world, BlockPos pos, IBlockState arg2) { TileEntity tile = world.getTileEntity(pos); if(tile != null) { ((TileEntityBoiler)tile).onBlockPlaced(world, pos); } } @Override public void onBlockHarvested(World arg0, BlockPos arg1, IBlockState arg2, EntityPlayer arg3) { TileEntity tile = arg0.getTileEntity(arg1); if(tile != null) { ((TileEntityBoiler)tile).onBlockDestroyed(arg0, arg1);; } } @Override public boolean isOpaqueCube() { return false; } @Override public boolean isFullCube() { return false; } @Override public int getMetaFromState(IBlockState state) { return ((Integer) state.getValue(STATE)).intValue(); } @Override protected BlockState createBlockState() { return new BlockState(this, new IProperty[] { STATE }); } @Override public TileEntity createNewTileEntity(World world, int i) { return new TileEntityBoiler(); } } I had implemented this, so this is not the problem!
-
I've programmed an Multiblock but my variable is empty public class Boiler extends Block implements ITileEntityProvider { public static final PropertyInteger STATE = PropertyInteger.create("state", 0, 15); protected Boiler() { super(Material.iron); setUnlocalizedName("boiler"); this.setDefaultState(this.blockState.getBaseState().withProperty(STATE, 0)); } @Override public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumFacing arg4, float arg5, float arg6, float arg7) { TileEntity tile = world.getTileEntity(pos); if(tile != null) return ((TileEntityBoiler)tile).onBlockActivated(world, pos, state, player, arg4, arg5, arg6, arg7); else return false; } @Override public void onNeighborBlockChange(World world, BlockPos pos, IBlockState bs, Block block) { TileEntity tile = world.getTileEntity(pos); if(tile != null) { ((TileEntityBoiler)tile).onNeighborBlockChange(world, pos, bs, block); } } @Override public void onBlockAdded(World world, BlockPos pos, IBlockState arg2) { TileEntity tile = world.getTileEntity(pos); if(tile != null) { ((TileEntityBoiler)tile).onBlockPlaced(world, pos); } } @Override public void onBlockHarvested(World arg0, BlockPos arg1, IBlockState arg2, EntityPlayer arg3) { TileEntity tile = arg0.getTileEntity(arg1); if(tile != null) { ((TileEntityBoiler)tile).onBlockDestroyed(arg0, arg1);; } } @Override public boolean isOpaqueCube() { return false; } @Override public boolean isFullCube() { return false; } @Override public int getMetaFromState(IBlockState state) { return ((Integer) state.getValue(STATE)).intValue(); } @Override protected BlockState createBlockState() { return new BlockState(this, new IProperty[] { STATE }); } @Override public TileEntity createNewTileEntity(World world, int i) { return new TileEntityBoiler(); } } public class TileEntityBoiler extends TileEntity implements IHeatSink, IUpdatePlayerListBox { private int waterTemp = 0; private int waterHeat = 0; private int waterAmmount = 0; private static final int MJpKpmB = 1000; private boolean isInventoryOpen = false; @Override public void readFromNBT(NBTTagCompound nbttc) { waterTemp = nbttc.getInteger("waterTemp"); waterHeat = nbttc.getInteger("waterHeat"); waterAmmount = nbttc.getInteger("waterAmmount"); int j = nbttc.getInteger("boiler_contingent_size"); boiler_contingent = new ArrayList<BlockPos>(); for(int i = 0; i < j; i++) boiler_contingent.add(new BlockPos(nbttc.getInteger("boiler_contingent_x_" + i), nbttc.getInteger("boiler_contingent_y_" + i), nbttc.getInteger("boiler_contingent_z_" + i))); super.readFromNBT(nbttc); for(BlockPos bpos : boiler_contingent) System.out.println(bpos); System.out.println(j); System.out.println(waterTemp); System.out.println(waterHeat); System.out.println(waterAmmount); } @Override public void writeToNBT(NBTTagCompound nbttc) { nbttc.setInteger("waterTemp", waterTemp); nbttc.setInteger("waterHeat", waterHeat); nbttc.setInteger("waterAmmount", waterAmmount); for(int i = 0; i < boiler_contingent.size(); i++) { nbttc.setInteger("boiler_contingent_x_" + i, boiler_contingent.get(i).getX()); nbttc.setInteger("boiler_contingent_y_" + i, boiler_contingent.get(i).getY()); nbttc.setInteger("boiler_contingent_z_" + i, boiler_contingent.get(i).getZ()); } nbttc.setInteger("boiler_contingent_size", boiler_contingent.size()); super.writeToNBT(nbttc); } public void onNeighborBlockChange(World world, BlockPos newPos, IBlockState bs, Block block) { int i = 0; if(world.getBlockState(pos.north()).getBlock() instanceof Boiler) i += 1; if(world.getBlockState(pos.south()).getBlock() instanceof Boiler) i += 2; if(world.getBlockState(pos.east()).getBlock() instanceof Boiler) i += 4; if(world.getBlockState(pos.west()).getBlock() instanceof Boiler) i += 8; world.setBlockState(pos, world.getBlockState(pos).withProperty(Boiler.STATE, i)); } public void onBlockPlaced(World world, BlockPos pos) { createNewBoilerContingent(world, pos, world.getBlockState(pos)); } public List<BlockPos> boiler_contingent = new ArrayList<BlockPos>(); private boolean master = false; public void createNewBoilerContingent(World world, BlockPos pos, IBlockState bs) { master = true; boiler_contingent = new ArrayList<BlockPos>(); searchForBoilers(world, pos); for(BlockPos bp : boiler_contingent) { TileEntityBoiler boiler = (TileEntityBoiler)world.getTileEntity(bp); boiler.boiler_contingent = boiler_contingent; boiler.resetSearch(); } master = false; System.out.println("New Boiler Contingent size:" + boiler_contingent.size()); for(BlockPos bPos: boiler_contingent) ((TileEntityBoiler)world.getTileEntity(bPos)).boiler_contingent = boiler_contingent; } public void onBlockDestroyed(World world, BlockPos pos) { System.out.println("Destroyed!"); this.founded = true; for(BlockPos bpos: boiler_contingent) { System.out.println("Old Boiler: " + bpos); if(bpos != pos) if(world.getBlockState(bpos).getBlock() instanceof Boiler) { System.out.println("Found Boiler for new Contingent: " + bpos); ((TileEntityBoiler)world.getTileEntity(bpos)).createNewBoilerContingent(world, bpos, world.getBlockState(bpos)); break; } } } public int getWaterTemp() { return waterTemp; } public void setWaterTemp(int waterTemp) { this.waterTemp = waterTemp; } public int getWaterHeat() { return waterHeat; } public void setWaterHeat(int waterHeat) { this.waterHeat = waterHeat; } public int getWaterAmmount() { return waterAmmount; } public void setWaterAmmount(int waterAmmount) { this.waterAmmount = waterAmmount; } public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumFacing facing, float arg5, float arg6, float arg7) { for(BlockPos bpos : boiler_contingent) System.out.println(bpos); return true; } private boolean founded = false; public void searchForBoilers(World world, BlockPos sourceBlock) { if(!founded) ((TileEntityBoiler)world.getTileEntity(sourceBlock)).boiler_contingent.add(pos); founded = true; BlockPos bPos = new BlockPos(pos.getX() - 1, pos.getY(), pos.getZ()); if(world.getBlockState(bPos).getBlock() instanceof Boiler) if(!((TileEntityBoiler)world.getTileEntity(bPos)).isMaster()) if(!((TileEntityBoiler)world.getTileEntity(bPos)).isInContingent()) ((TileEntityBoiler)world.getTileEntity(bPos)).searchForBoilers(world, sourceBlock); bPos = new BlockPos(pos.getX() + 1, pos.getY(), pos.getZ()); if(world.getBlockState(bPos).getBlock() instanceof Boiler) if(!((TileEntityBoiler)world.getTileEntity(bPos)).isMaster()) if(!((TileEntityBoiler)world.getTileEntity(bPos)).isInContingent()) ((TileEntityBoiler)world.getTileEntity(bPos)).searchForBoilers(world, sourceBlock); bPos = new BlockPos(pos.getX(), pos.getY() - 1, pos.getZ()); if(world.getBlockState(bPos).getBlock() instanceof Boiler) if(!((TileEntityBoiler)world.getTileEntity(bPos)).isMaster()) if(!((TileEntityBoiler)world.getTileEntity(bPos)).isInContingent()) ((TileEntityBoiler)world.getTileEntity(bPos)).searchForBoilers(world, sourceBlock); bPos = new BlockPos(pos.getX(), pos.getY() + 1, pos.getZ()); if(world.getBlockState(bPos).getBlock() instanceof Boiler) if(!((TileEntityBoiler)world.getTileEntity(bPos)).isMaster()) if(!((TileEntityBoiler)world.getTileEntity(bPos)).isInContingent()) ((TileEntityBoiler)world.getTileEntity(bPos)).searchForBoilers(world, sourceBlock); bPos = new BlockPos(pos.getX(), pos.getY(), pos.getZ() - 1); if(world.getBlockState(bPos).getBlock() instanceof Boiler) if(!((TileEntityBoiler)world.getTileEntity(bPos)).isMaster()) if(!((TileEntityBoiler)world.getTileEntity(bPos)).isInContingent()) ((TileEntityBoiler)world.getTileEntity(bPos)).searchForBoilers(world, sourceBlock); bPos = new BlockPos(pos.getX(), pos.getY(), pos.getZ() + 1); if(world.getBlockState(bPos).getBlock() instanceof Boiler) if(!((TileEntityBoiler)world.getTileEntity(bPos)).isMaster()) if(!((TileEntityBoiler)world.getTileEntity(bPos)).isInContingent()) ((TileEntityBoiler)world.getTileEntity(bPos)).searchForBoilers(world, sourceBlock); } public void resetSearch() { founded = false; } public boolean isInContingent() { return founded; } public boolean isMaster() { return master; } @Override public void update() { } @Override public void onDataPacket(NetworkManager net, S35PacketUpdateTileEntity pkt) { System.out.println("Packet received! At: " + pkt.func_179823_a()); NBTTagCompound tagCom = pkt.getNbtCompound(); this.readFromNBT(tagCom); } @Override public Packet getDescriptionPacket() { NBTTagCompound tagCom = new NBTTagCompound(); this.writeToNBT(tagCom); return new S35PacketUpdateTileEntity(pos, getBlockMetadata(), tagCom); } @Override public boolean canHeatUp(int temp) { return false; } @Override public int heatUp(int heat, int temp) { return 0; } } If I build an 1x2x2 boiler and ownly the upper blocks have the filled boiler_contingent variable, if the last placed block is the deeper block. Or if I place the upper last ownly the deeper have a filled Array. Console: [16:02:29] [server thread/INFO]: [de.ecraft.tileentitys.TileEntityBoiler:createNewBoilerContingent:109]: New Boiler Contingent size:4 [16:02:29] [Client thread/INFO]: [de.ecraft.tileentitys.TileEntityBoiler:onDataPacket:215]: Packet received! At: BlockPos{x=-253, y=71, z=183} 0 0 0 0 [16:02:29] [Client thread/INFO]: [de.ecraft.tileentitys.TileEntityBoiler:onDataPacket:215]: Packet received! At: BlockPos{x=-254, y=71, z=183} 0 0 0 0 !! 4 Blocks: 1. BlockPos{x=-253, y=70, z=183} 2. BlockPos{x=-254, y=70, z=183} 3. BlockPos{x=-253, y=71, z=183} 4. BlockPos{x=-254, y=71, z=183}
-
If I test my Mod in eclipse the Server has to be in offline mode !? But, also in online mode this is not working.
-
If I start Minecraft in eclipse everything works great, but if I connect to my server(in offline mode) I become an Error. ---- Minecraft Crash Report ---- // Oh - I know what I did wrong! Time: 14.07.14 17:50 Description: Ticking screen java.lang.NullPointerException at java.net.URLEncoder.encode(URLEncoder.java:205) at net.minecraft.client.multiplayer.NetClientHandler.urlEncode(NetClientHandler.java:336) at net.minecraft.client.multiplayer.NetClientHandler.sendSessionRequest(NetClientHandler.java:318) at net.minecraft.client.multiplayer.NetClientHandler.handleServerAuthData(NetClientHandler.java:299) at net.minecraft.network.packet.Packet253ServerAuthData.processPacket(Packet253ServerAuthData.java:51) at net.minecraft.network.TcpConnection.processReadPackets(TcpConnection.java:462) at net.minecraft.client.multiplayer.NetClientHandler.processReadPackets(NetClientHandler.java:281) at net.minecraft.client.multiplayer.GuiConnecting.updateScreen(GuiConnecting.java:51) at net.minecraft.client.Minecraft.runTick(Minecraft.java:1578) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:908) at net.minecraft.client.Minecraft.run(Minecraft.java:836) at net.minecraft.client.main.Main.main(Main.java:93) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) at net.minecraft.launchwrapper.Launch.main(Launch.java:27) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at java.net.URLEncoder.encode(URLEncoder.java:205) at net.minecraft.client.multiplayer.NetClientHandler.urlEncode(NetClientHandler.java:336) at net.minecraft.client.multiplayer.NetClientHandler.sendSessionRequest(NetClientHandler.java:318) at net.minecraft.client.multiplayer.NetClientHandler.handleServerAuthData(NetClientHandler.java:299) at net.minecraft.network.packet.Packet253ServerAuthData.processPacket(Packet253ServerAuthData.java:51) at net.minecraft.network.TcpConnection.processReadPackets(TcpConnection.java:462) at net.minecraft.client.multiplayer.NetClientHandler.processReadPackets(NetClientHandler.java:281) at net.minecraft.client.multiplayer.GuiConnecting.updateScreen(GuiConnecting.java:51) -- Affected screen -- Details: Screen name: net.minecraft.client.multiplayer.GuiConnecting Stacktrace: at net.minecraft.client.Minecraft.runTick(Minecraft.java:1578) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:908) at net.minecraft.client.Minecraft.run(Minecraft.java:836) at net.minecraft.client.main.Main.main(Main.java:93) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) at net.minecraft.launchwrapper.Launch.main(Launch.java:27) -- System Details -- Details: Minecraft Version: 1.6.4 Operating System: Windows 7 (x86) version 6.1 Java Version: 1.7.0_21, Oracle Corporation Java VM Version: Java HotSpot Client VM (mixed mode), Oracle Corporation Memory: 994378040 bytes (948 MB) / 1046937600 bytes (998 MB) up to 1046937600 bytes (998 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Suspicious classes: FML and Forge are installed IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v8.11 FML v6.4.3.883 Minecraft Forge 9.11.0.883 4 mods loaded, 4 mods active mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available FML{6.4.3.883} [Forge Mod Loader] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available Forge{9.11.0.883} [Minecraft Forge] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available MS{1.0.0} [skill-Mod] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available Launched Version: 1.6 LWJGL: 2.9.0 OpenGL: GeForce GT 430/PCIe/SSE2 GL version 4.4.0, NVIDIA Corporation Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Pack: Default Current Language: English (US) Profiler Position: N/A (disabled) Vec3 Pool Size: ~~ERROR~~ NullPointerException: null