-
Recently Browsing
No registered users viewing this page.
-
Posts
-
I've tried installing Forge multiple times through Google Chrome and Microsoft Edge, and it never becomes an installer, it just becomes one of those blank sheets of paper/blank file icons. Right now, it's showing Winrar because I right-clicked on it and hit "open with Winrar" which then changed its icon from the blank sheet to the Winrar icon. Whenever I try to install it, it tells me that it's a virus and I have to manually continue the download which I'm unsure if that has anything to do with it. I'm trying to download version 1.16.5. I also tried to download earlier versions too (1.16.4, 1.16.3) and they're all doing it. I tried installing from "http://www.mc-mod.net/minecraft-forge/" and "http://www.9minecraft.net/minecraft-forge/", and tried all servers. Here's the image: https://imgur.com/a/hL5AJPn
-
By diesieben07 · Posted
When calling openGui, write the entity ID (Entity#getEntityId) to the PacketBuffer. Then in your IContainerFactory read it back from the buffer and use World#getEntityByID to get the entity. -
my bad I was looking at the wrong project, it was my 1.8 project found it in the 1.16 one thanks!
-
this is all I could find in TextureAtlasSprite : TextureUtil.uploadTextureMipmap
-
Ok i messed up few things, idk where did i get a player inventory parameter in openGui. So thanks it's working now But how i can correctly get the entity inside the container class to get capabilities to add a slot. I know how to do it with the player i can just get the player from the player inventory but with a mob i am not sure. Should i get the entity from world somehow?
-
-
Topics
-
Who's Online (See full list)