[1.10.2] Item Goes Away after Rightclickt
-
Recently Browsing
- No registered users viewing this page.
-
Posts
-
Found the solution! Instead of using PlayerEvent.Clone to sync capabilities with a client use EntityJoinWorldEvent! That's how CapabilitySync class should look like: public class CapabilitySync { @SubscribeEvent public void EntityJoinWorldEvent(EntityJoinWorldEvent event) { Entity entity = event.getEntity(); if (entity.world.isRemote || !(entity instanceof EntityPlayerMP)) return; EntityPlayer player = (EntityPlayer) entity; NetworkHandler.channel.sendTo(new ServerToClient(player), (EntityPlayerMP) player); } @SubscribeEvent public void onPlayerClone(PlayerEvent.Clone event) { EntityPlayer player = event.getEntityPlayer(); IFolder folder = player.getCapability(FolderProvider.FOLDER_CAP, null); IFolder oldfolder = event.getOriginal().getCapability(FolderProvider.FOLDER_CAP, null); folder.setFolders(oldfolder.getFolders()); } } Here is a full code if you need one! https://github.com/R4L34/capabilitynetworking
-
By vinnyg0621 · Posted
can someone please help me, I really want to play my modded game again! -
At the risk of intruding into another's thread, I've lost my ability to read crash reports sometime after 1.12.2. If I may ask, what was it that pointed to those particular mods as the culprit? I see just enough guns in the stack trace, but only in conjunction with other, presumably unrelated mods (like a caves generation mod). What narrows it down?
-
By EpicMugBoi · Posted
Surprisingly it was both and thank you for your time i would have never thought it jeg -
By ctrl_alt_del_myself · Posted
Just got forge on a new laptop and everything seemed alright apart from me not being able to hold left click and shift and move many items from my hotbar to my regular inventory, or be able to quickly take items from chests by holding shift and left click and dragging my mouse over them. Does anyone have any idea why this happens / a possible fix? Ive checked touchscreen mode is disabled and my shift keys work fine, i can shift click individual items around and theyll move quickly but not a group of them, only one at a time. Ive checked it wasn't any mods by running vanilla minecraft through forge but still no luck.
-
-
Topics
-
Who's Online (See full list)
- There are no registered users currently online
Recommended Posts
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.