Jump to content

Kloonder

Members
  • Posts

    171
  • Joined

  • Last visited

Everything posted by Kloonder

  1. No I don't think its useless, 'because' I need the Entity to synchro the coords, and then I don't have to call it, anyway, I don't need to save it, 'because' after the player takes the item out of hand or disconnects, the block should fall to the ground and crate a new block, anyway, its the same question, I want to know if there is a way to faster synchro the entity so it does not take 1 sec to synchro. Do you have any idea how to synchro it faster, that it does not take 1 sek?
  2. Hm, I show you: public Entity entity; @Override public boolean onItemUse(ItemStack stack, EntityPlayer player, World world, BlockPos pos, EnumFacing side, float hitX, float hitY, float hitZ) { System.out.println(world.getBlockState(pos).getBlock()); Block block = world.getBlockState(pos).getBlock(); world.setBlockToAir(pos); IBlockState state = world.getBlockState(pos); EntityBlock entityfallingblock = new EntityBlock(world, (double)player.posX + 0.5D, (double)player.posY, (double)player.posZ + 0.5D, BlockSand.getStateById(2)); entity = entityfallingblock; world.spawnEntityInWorld(entityfallingblock); return true; } @Override public void onUpdate(ItemStack stack, World worldIn, Entity player, int itemSlot, boolean isSelected) { if(!stack.hasTagCompound()){ stack.setTagCompound(new NBTTagCompound()); } if(player instanceof EntityPlayer){ if(entity != null){ if(player.rayTrace(5, 1) != null){ if(player.rayTrace(5, 1).hitVec != null){ entity.setPositionAndUpdate(player.rayTrace(5, 1).hitVec.xCoord, player.rayTrace(5, 1).hitVec.yCoord, player.rayTrace(5, 1).hitVec.zCoord); } } } } } The Entity need more than 1 sec to teleport to the crosshair position, so its really bad, even the block falls, although: public class EntityBlock extends EntityFallingBlock{ public EntityBlock(World world){ super(world); } public EntityBlock(World worldIn, double x, double y, double z, IBlockState fallingBlockState) { super(worldIn, x, y, z, fallingBlockState); } @Override public void onUpdate() { System.out.println(posX + "\t" + posY + "\t" + posZ); } } It can't fall cuz theres no method for calling a fall
  3. So I don't know if I should register my entity at all, but if, I don't know how to do this correctly this??? EntityRegistry.registerGlobalEntityID(EntityBlock.class, MODID + "Block Entity", 24324983); or that?? EntityRegistry.registerModEntity(EntityBlock.class, "MODID + "Block Entity", 0, this, 80, 3, true); cuz if I do it that way, it doesn't seem to update at all
  4. I want to spawn such an cool block how these adventure maps can, when they spawn for example a falling diamond Block I tried this: EntityFallingBlock entityfallingblock = new EntityFallingBlock(world, (double)pos.getX() + 0.5D, (double)pos.getY(), (double)pos.getZ() + 0.5D, world.getBlockState(pos)); world.spawnEntityInWorld(entityfallingblock); Its just a copy of the code in the BlockSand, but it doesn't work, it won't get spawned
  5. I got some code nearly working, but it does strangely only work in x and y positive direction, and also upwards sight, I cant figure outr why, but I think its a problem with the world.getBlockState if((player.rayTrace(200, 1.0F) != null)){ int blockHitX = (int) player.rayTrace(200, 1.0F).hitVec.xCoord; int blockHitY = (int) player.rayTrace(200, 1.0F).hitVec.yCoord; int blockHitZ = (int) player.rayTrace(200, 1.0F).hitVec.zCoord; System.out.println(blockHitX + " " + blockHitY + "\t"+ blockHitZ); BlockPos pos = new BlockPos(player.rayTrace(10, 1).hitVec); System.out.println(world.getBlockState(new BlockPos(player.posX, player.posY, player.posZ))); System.out.println(world.getBlockState(pos)); }
  6. Does somebody know how to overwrite the vanilla rendering of my custom armor? 1.7.10
  7. I fixed that crashing somehow, I don't know, but It doesn't synchro the slots, I mean its working fine when the mod is the only mod, but here, look: @Override public void updateEntity() { System.out.println(slots[0]); // if(theUser != null){ // finishedNBT.setBoolean(theUser.getDisplayName(), true); // } // // Side side = FMLCommonHandler.instance().getEffectiveSide(); // if(side == Side.CLIENT){ // if(System.currentTimeMillis() - 750 >= switchingTimer){ // if(switcherNumber == 3){ // switcherNumber = 0; // }else{ // switcherNumber++; // } // switchingTimer = System.currentTimeMillis(); // if(isRecipeinModifierFieldShown){ // putRecipeinModifierField(currentShownRecipeID); // } // } // if(synchronize){ // if(areItemStackSaved){ // loadSaveBack(); // areItemStackSaved = false; // } // if(theUser != null){ // handleResearchState(); // } // if(theUser != null){ // ItemStack[] sl = new ItemStack[10]; // for(int i = 0; i < sl.length; i++){ // sl[i] = slots[i+3]; // slots[12] = rh2.update(sl, theUser); // if(slots[12] != null){ // if(slots[12].getItem() instanceof ModArmor){ // if(!slots[12].hasTagCompound()){ // slots[12].setTagCompound(new NBTTagCompound()); // } // slots[12].getTagCompound().setBoolean(theUser.getDisplayName(), true); // slots[12].getTagCompound().setBoolean("FullNow", true); // } // } // } // slots[2] = null; // if(theUser != null){ // handleModificationSystem(); // } // } // } // } // if(side == Side.SERVER){ // if(theUser != null){ // int research = PlayerProperties.get(theUser).getResearchState(); // handleResearchState(); // } // if(theUser != null){ // ItemStack[] sl = new ItemStack[10]; // for(int i = 0; i < sl.length; i++){ // sl[i] = slots[i+3]; // } // slots[12] = rh2.update(sl, theUser); // if(slots[12] != null){ // if(slots[12].getItem() instanceof ModArmor){ // if(!slots[12].hasTagCompound()){ // slots[12].setTagCompound(new NBTTagCompound()); // } // slots[12].getTagCompound().setBoolean(theUser.getDisplayName(), true); // slots[12].getTagCompound().setBoolean("FullNow", true); // } // } // } // slots[2] = null; // if(theUser != null){ // handleModificationSystem(); // } // } } Client: [15:07:58] [Client thread/INFO] [sTDOUT]: [de.intektor.modarmor.tileentity.TileEntityArmorModifier:updateEntity:87]: 64xtile.stonebrick@0 Server: [15:08:38] [server thread/INFO] [sTDOUT]: [de.intektor.modarmor.tileentity.TileEntityArmorModifier:updateEntity:87]: null
  8. So I figured now out how this is happening, not why, when there are another mods installed, it seems like it doesn't sychronize the slots with the server anymnore, why I know this? In fact I installed those mods in my developement mods folder and debuged, but I think, some mod has bad code, ore my mod is bad, so please if you have any Idea why my mod stops synchro, please tell
  9. I think I'm justr stupid ok, but it seems like my Server is loading this class, but it should only be loaded on Client at all I think, network = NetworkRegistry.INSTANCE.newSimpleChannel("Intektor" + "Swago"); network.registerMessage(ClientToServerHandler.class, ClientToServerMessage.class, 0, Side.SERVER); network.registerMessage(MessageToClientHandler.class, MessageToClient.class, 1, Side.CLIENT); network.registerMessage(ClimbingMessageHandler.class, ClimbingMessage.class, 2, Side.SERVER); network.registerMessage(ResearchMessageStateHandler.class, ResearchMessageStateMessage.class, 3, Side.CLIENT); network.registerMessage(MessageToClientHandler2.class, MessageToClient2.class, 4, Side.CLIENT); @Override public IMessage onMessage(MessageToClient message, MessageContext ctx) { EntityPlayer player = null; try{ // That doesn't work, the error comes while loading I think player = Minecraft.getMinecraft().thePlayer; }catch(Exception e){ } if(player.getDisplayName().equals(message.player)){ PlayerProperties.get(player).setResearchState(message.r); if(ResearchSaver.hasPlayerResearch(player)){ ResearchSaver.setResearchStateByPlayer(player, message.r); }else{ ResearchSaver.addPlayerResearch(player, message.r); } } return null; }
  10. hm ok, but why the hell is it 0 then
  11. properties.getInteger("Research"); #setInteger thanks, but it won't cfhange anything if there is every time a new instance created
  12. First of all, this line of code PlayerProperties.get((EntityPlayer) event.entity) == null should make sure to only create a new instance of the properties, if there isn't already one, shouldn't it? Also, when I use my update method @Override public void updateEntity() { if(theUser != null){ finishedNBT.setBoolean(theUser.getDisplayName(), true); System.out.println(PlayerProperties.get(theUser).researchState + "" + FMLCommonHandler.instance().getEffectiveSide()); } } it prints 0 on both Client and Server, although PlayerProperties.get(theUser).researchState++; ModArmMod.network.sendToServer(new ClientToServerMessage(7, new int[]{tileEntity.xCoord, tileEntity.yCoord, tileEntity.zCoord})); in my gui if(message.ID == 7){ TileEntityArmorModifier tileEntity = (TileEntityArmorModifier) ctx.getServerHandler().playerEntity.getEntityWorld().getTileEntity(message.extra[0], message.extra[1], message.extra[2]); PlayerProperties.get(tileEntity.theUser).researchState++; } and thats it
  13. I used this tutorial from CoolAlias, taht one with the Extended Player Properties, but it seems like the event is fired, but it doesn't save the NBT, and I can't figure out why public class PlayerProperties implements IExtendedEntityProperties { public final static String EXT_PROP_NAME = "IntektorsProperties"; private final EntityPlayer player; public int researchState; public PlayerProperties(EntityPlayer player) { this.player = player; } public static final void register(EntityPlayer player) { player.registerExtendedProperties(PlayerProperties.EXT_PROP_NAME, new PlayerProperties(player)); } public static final PlayerProperties get(EntityPlayer player) { return (PlayerProperties) player.getExtendedProperties(EXT_PROP_NAME); } @Override public void saveNBTData(NBTTagCompound compound) { NBTTagCompound properties = new NBTTagCompound(); properties.getInteger("Research"); compound.setTag(EXT_PROP_NAME, properties); } @Override public void loadNBTData(NBTTagCompound compound) { NBTTagCompound properties = (NBTTagCompound) compound.getTag(EXT_PROP_NAME); this.researchState = properties.getInteger("Research"); } @Override public void init(Entity entity, World world) { } } The event is fireds, I checked this, but it creates the Properties every time again @SubscribeEvent public void onEntityContructionEvent(EntityConstructing event){ if(event.entity instanceof EntityPlayer && PlayerProperties.get((EntityPlayer) event.entity) == null){ PlayerProperties.register((EntityPlayer) event.entity); } }
  14. Its basicly the same package de.intektor.modarmor.advanced; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.inventory.IInventory; import net.minecraft.inventory.SlotFurnace; public class AdvancedResultSlot extends SlotFurnace{ private int xNormal; private int yNormal; public AdvancedResultSlot(EntityPlayer player, IInventory p_i45793_2_, int slotIndex, int xPosition, int yPosition) { super(player, p_i45793_2_, slotIndex, xPosition, yPosition); xNormal = xPosition; yNormal = yPosition; } public int getNormalX(){ return xNormal; } public int getNormalY(){ return yNormal; } public void setNormalX(int x){ xNormal = x; } public void setNormalY(int y){ yNormal = y; } public void shootToMoon(){ this.xDisplayPosition = 100000; this.yDisplayPosition = 100000; } public void setNormal(){ this.xDisplayPosition = xNormal; this.yDisplayPosition = yNormal; } }
  15. Hm, every time I take something out of the furnance slot it crashes
  16. I'm sorry package de.intektor.modarmor.advanced; import net.minecraft.inventory.IInventory; import net.minecraft.inventory.Slot; public class AdvancedSlot extends Slot{ private int xNormal; private int yNormal; public AdvancedSlot(IInventory inventoryIn, int index, int xPosition, int yPosition) { super(inventoryIn, index, xPosition, yPosition); xNormal = xPosition; yNormal = yPosition; } public int getNormalX(){ return xNormal; } public int getNormalY(){ return yNormal; } public void setNormalX(int x){ xNormal = x; } public void setNormalY(int y){ yNormal = y; } public void shootToMoon(){ this.xDisplayPosition = 100000; this.yDisplayPosition = 100000; } public void setNormal(){ this.xDisplayPosition = xNormal; this.yDisplayPosition = yNormal; } }
  17. I have a few problems with my mod while testing it with other mods when I'm trying to do something in my container, it gives me a little error that causes disconnecting It is in my container, while taking somethibng out of my Furnance slot java.lang.IndexOutOfBoundsException: Index: 47, Size: 45 at java.util.ArrayList.rangeCheck(Unknown Source) ~[?:1.8.0_51] at java.util.ArrayList.get(Unknown Source) ~[?:1.8.0_51] at net.minecraft.inventory.Container.func_75144_a(SourceFile:206) ~[zs.class:?] at net.minecraft.network.NetHandlerPlayServer.func_147351_a(NetHandlerPlayServer.java:883) ~[nh.class:?] at net.minecraft.network.play.client.C0EPacketClickWindow.func_148833_a(SourceFile:32) ~[ix.class:?] at net.minecraft.network.play.client.C0EPacketClickWindow.func_148833_a(SourceFile:10) ~[ix.class:?] at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212) ~[ej.class:?] at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:165) [nc.class:?] at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:659) [MinecraftServer.class:?] at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:334) [lt.class:?] at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685) [li.class:?] [11:17:06] [server thread/INFO] [net.minecraft.network.NetHandlerPlayServer]: Intektor lost connection: TextComponent{text='Internal server error', siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null}} package de.intektor.modarmor.container; import de.intektor.modarmor.advanced.AdvancedContainer; import de.intektor.modarmor.advanced.AdvancedResultSlot; import de.intektor.modarmor.advanced.AdvancedSlot; import de.intektor.modarmor.tileentity.TileEntityArmorModifier; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.InventoryPlayer; import net.minecraft.init.Items; import net.minecraft.inventory.Slot; import net.minecraft.item.ItemStack; import net.minecraft.item.crafting.FurnaceRecipes; import net.minecraft.tileentity.TileEntityFurnace; public class ContainerArmorModifier extends AdvancedContainer{ ItemStack spaceHolderStack = new ItemStack(Items.bed); public ContainerArmorModifier(InventoryPlayer invPlayer, TileEntityArmorModifier te) { tileEntity = te; te.container = this; theUser = invPlayer.player; tileEntity.specialEvent(2, theUser); this.addSlotToContainer(new AdvancedSlot(te, 0, 48, 35)); this.addSlotToContainer(new AdvancedSlot(te, 1, 79, 14)); this.addSlotToContainer(new AdvancedResultSlot(invPlayer.player, te, 2, 108, 36)); int i; int j; for (i = 0; i < 3; ++i) { for (j = 0; j < 3; ++j) { this.addSlotToContainer(new AdvancedSlot(te, j + i * 3 + 3, 30 + j * 18, 17 + i * 18)); } } this.addSlotToContainer(new AdvancedResultSlot(invPlayer.player, te, 12, 124, 35)); for (i = 0; i < 3; ++i) { for (j = 0; j < 9; ++j) { this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); } } for (i = 0; i < 9; ++i) { this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142)); } } @Override public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int p_82846_2_) { ItemStack itemstack = null; Slot slot = (Slot)this.inventorySlots.get(p_82846_2_); if (slot != null && slot.getHasStack()) { ItemStack itemstack1 = slot.getStack(); itemstack = itemstack1.copy(); if (p_82846_2_ == 2) { if (!this.mergeItemStack(itemstack1, 3, 39, true)) { return null; } slot.onSlotChange(itemstack1, itemstack); } else if (p_82846_2_ != 1 && p_82846_2_ != 0) { if (FurnaceRecipes.smelting().getSmeltingResult(itemstack1) != null) { if (!this.mergeItemStack(itemstack1, 0, 1, false)) { return null; } } else if (TileEntityFurnace.isItemFuel(itemstack1)) { if (!this.mergeItemStack(itemstack1, 1, 2, false)) { return null; } } else if (p_82846_2_ >= 3 && p_82846_2_ < 30) { if (!this.mergeItemStack(itemstack1, 30, 39, false)) { return null; } } else if (p_82846_2_ >= 30 && p_82846_2_ < 39 && !this.mergeItemStack(itemstack1, 3, 30, false)) { return null; } } else if (!this.mergeItemStack(itemstack1, 3, 39, false)) { return null; } if (itemstack1.stackSize == 0) { slot.putStack((ItemStack)null); } else { slot.onSlotChanged(); } if (itemstack1.stackSize == itemstack.stackSize) { return null; } slot.onPickupFromSlot(p_82846_1_, itemstack1); } return itemstack; } @Override public boolean canInteractWith(EntityPlayer playerIn) { return true; System.cu } @Override public ItemStack slotClick(int num1, int num2, int num3, EntityPlayer player) { tileEntity.specialEvent(2, theUser); if(tileEntity instanceof TileEntityArmorModifier){ TileEntityArmorModifier tileEntity = (TileEntityArmorModifier) this.tileEntity; if(player.inventory.getItemStack() == null){ if(num1 == 2 || num1 == 12){ if(num1 == 2){ if(tileEntity.slots[2] != null){ // ModArmMod.network.sendToServer(new ClientToServerMessage(1)); tileEntity.specialEvent(0, null); } }else if (num1 == 12){ if(tileEntity.slots[12] != null){ tileEntity.specialEvent(1, null); } } } } } super.slotClick(num1, num2, num3, player); return null; } } The whole thing does only happen while plaing with other mods, thats why I didn't see it while coding whole log
  18. I am using a very cheaty method I think public long thingStuffyHandler; public boolean allowInteract; public method methody(parameter, parameter2){ //on activated if(allowInteract){ doStuff(); thingStuffyHAndler = System.currentTimeMillis(); allowInteract = false; } //Update if(System.currenTimeMillis() - 1000 > thingStuffyHandler){ allowInteract = true; } }
  19. I mean youre right, but it doesn't even create a .gradle in my User Folder for me, thats fucking weird Ok I think I got it, it's mutherfucking comodo bitch, best protection system, disables everything in my copmputer No chances for hackers, no chances for me modding
  20. I mean youre right, but it doesn't even create a .gradle in my User Folder for me, thats fucking weird
  21. Ok ok, I wanted to downgrade my 1.8 mod for some of my friends, so I decided to install 1.7.10 on my computer, but then the ERROR: .project is missing! I had this error some times before also, but then I tried to delete .gradle and installed the whole thingy again, then it worked, but now, when I deleted .gradle and reinstalled everything again, it didn't even recreated .gradle, luckily I had a save of .gradle, so I put it back again, the 1.8 is working fine, but 1.7.10 not. So I deleted the the whole folder with the eclipse, gradle and src over and over agian, and installed it over and over again, I tried really every command, its not working for me. HELP!!!!!!!!!!!!!!!!!!! I'm running on windows 10 if this helps in any way
  22. Thats fucking annoying, I won't work right public BlockPos pos; public int r; public MessageToClient(BlockPos pos, int number){ this.pos = pos; r = number; } public MessageToClient(){ } @Override public void fromBytes(ByteBuf buf) { pos = new BlockPos(buf.getInt(0), buf.getInt(1), buf.getInt(2)); r = buf.getInt(3); } @Override public void toBytes(ByteBuf buf) { buf.writeInt(pos.getX()); buf.writeInt(pos.getY()); buf.writeInt(pos.getZ()); buf.writeInt(r); } @Override public IMessage onMessage(MessageToClient message, MessageContext ctx) { TileEntityArmorModifier tileEntity = (TileEntityArmorModifier) Minecraft.getMinecraft().theWorld.getTileEntity(message.pos); System.out.println(message.r); tileEntity.research = message.r; return null; }
  23. Only the server knows about the world and therefor NBT. Only the server calls readNBT. You can send as many things as you want in the packet. Also you don't need to send the world, only the position. The client only has one world. Hm that sound good, I tried it now with the package public BlockPos pos; public int r; public MessageToClient(BlockPos pos, int number){ this.pos = pos; r = number; } public MessageToClient(){ } @Override public void fromBytes(ByteBuf buf) { NBTTagCompound nbt = ByteBufUtils.readTag(buf); int[] integer = nbt.getIntArray("Array"); pos = new BlockPos(integer[0], integer[1], integer[2]); r = integer[3]; } @Override public void toBytes(ByteBuf buf) { NBTTagCompound nbt = new NBTTagCompound(); nbt.setIntArray("Array", (new int[]{pos.getX(), pos.getY(), pos.getZ(), r})); ByteBufUtils.writeTag(buf, nbt); } @Override public IMessage onMessage(MessageToClient message, MessageContext ctx) { TileEntityArmorModifier tileEntity = (TileEntityArmorModifier) Minecraft.getMinecraft().theWorld.getTileEntity(message.pos); System.out.println(message.r); tileEntity.research = message.r; return null; } public void update() { ModArmMod.network.sendToAll(new MessageToClient(this.getPos(), research)); } But I get this error every time it loops Aug 02, 2015 5:24:10 PM io.netty.channel.embedded.EmbeddedChannel recordException WARNUNG: More than one exception was raised. Will report only the first one and log others. java.lang.NullPointerException at net.minecraftforge.fml.common.network.FMLOutboundHandler$OutboundTarget$5.selectNetworks(FMLOutboundHandler.java:132) at net.minecraftforge.fml.common.network.FMLOutboundHandler.write(FMLOutboundHandler.java:276) at io.netty.channel.DefaultChannelHandlerContext.invokeWrite(DefaultChannelHandlerContext.java:645) at io.netty.channel.DefaultChannelHandlerContext.write(DefaultChannelHandlerContext.java:699) at io.netty.channel.DefaultChannelHandlerContext.write(DefaultChannelHandlerContext.java:638) at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:115) at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) at io.netty.channel.DefaultChannelHandlerContext.invokeWrite(DefaultChannelHandlerContext.java:645) at io.netty.channel.DefaultChannelHandlerContext.write(DefaultChannelHandlerContext.java:699) at io.netty.channel.DefaultChannelHandlerContext.writeAndFlush(DefaultChannelHandlerContext.java:689) at io.netty.channel.DefaultChannelHandlerContext.writeAndFlush(DefaultChannelHandlerContext.java:718) at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:893) at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendToAll(SimpleNetworkWrapper.java:182) at de.intektor.modarmor.tileentity.TileEntityArmorModifier.update(TileEntityArmorModifier.java:105) at net.minecraft.world.World.updateEntities(World.java:1879) at net.minecraft.client.Minecraft.runTick(Minecraft.java:2184) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1087) at net.minecraft.client.Minecraft.run(Minecraft.java:376) at net.minecraft.client.main.Main.main(Main.java:117) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) at GradleStart.main(Unknown Source) [17:24:10] [Client thread/ERROR] [FML]: FMLIndexedMessageCodec exception caught java.lang.NullPointerException at net.minecraftforge.fml.common.network.FMLOutboundHandler$OutboundTarget$5.selectNetworks(FMLOutboundHandler.java:132) ~[FMLOutboundHandler$OutboundTarget$5.class:?] at net.minecraftforge.fml.common.network.FMLOutboundHandler.write(FMLOutboundHandler.java:276) ~[FMLOutboundHandler.class:?] at io.netty.channel.DefaultChannelHandlerContext.invokeWrite(DefaultChannelHandlerContext.java:645) ~[DefaultChannelHandlerContext.class:4.0.15.Final] at io.netty.channel.DefaultChannelHandlerContext.write(DefaultChannelHandlerContext.java:699) ~[DefaultChannelHandlerContext.class:4.0.15.Final] at io.netty.channel.DefaultChannelHandlerContext.write(DefaultChannelHandlerContext.java:638) ~[DefaultChannelHandlerContext.class:4.0.15.Final] at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:115) ~[MessageToMessageEncoder.class:4.0.15.Final] at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:4.0.15.Final] at io.netty.channel.DefaultChannelHandlerContext.invokeWrite(DefaultChannelHandlerContext.java:645) ~[DefaultChannelHandlerContext.class:4.0.15.Final] at io.netty.channel.DefaultChannelHandlerContext.write(DefaultChannelHandlerContext.java:699) ~[DefaultChannelHandlerContext.class:4.0.15.Final] at io.netty.channel.DefaultChannelHandlerContext.writeAndFlush(DefaultChannelHandlerContext.java:689) ~[DefaultChannelHandlerContext.class:4.0.15.Final] at io.netty.channel.DefaultChannelHandlerContext.writeAndFlush(DefaultChannelHandlerContext.java:718) ~[DefaultChannelHandlerContext.class:4.0.15.Final] at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:893) ~[DefaultChannelPipeline.class:4.0.15.Final] at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:240) ~[AbstractChannel.class:4.0.15.Final] at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendToAll(SimpleNetworkWrapper.java:182) [simpleNetworkWrapper.class:?] at de.intektor.modarmor.tileentity.TileEntityArmorModifier.update(TileEntityArmorModifier.java:105) [TileEntityArmorModifier.class:?] at net.minecraft.world.World.updateEntities(World.java:1879) [World.class:?] at net.minecraft.client.Minecraft.runTick(Minecraft.java:2184) [Minecraft.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1087) [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/:?] [17:24:10] [Client thread/ERROR] [FML]: SimpleChannelHandlerWrapper exception
×
×
  • Create New...

Important Information

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