Everything posted by Animefan8888
-
Edit or override vanilla inventory
Yes there is, but it will not work for the player inventory, or at least not how you expect. As far as the server is concerned you are always interacting with a Container, if it's not a chest or something you are interacting with the inventory container. The server does not actually have any idea whether you are currently actually looking at the inventory screen or not. That is actually good to know, thanks for the information.
-
[1.9.4] Overriding the EntityPlayer class.
You would not override the EntityPlayer class you would need to use Capabilities and subscribe to the RenderPlayerEvent.Pre (i think it would be Pre) and override the rendering there.
-
Edit or override vanilla inventory
I believe there is a OpenContainerEvent or similar name same function. *Edit You can not use OpenContainerEvent as for why Diesieben explains just below this.
-
[1.8] Item Model does not load
You should post updated code and the log if there are any errors.
-
[1.7.10] launcher to start game without showing main menu
First off wrong forum for this as it would not use forge and 1.7 is no longer supported on this forum.
-
[1.10.2] Where Have Vanilla Assets Gone?
I always open the jar file to look at them and have extracted them from timw to time using winrar or 7-zip
-
[1.8.9] making blocks place based on orientation
1) I will look into removing the long decimals after I can 2 to stop happening. 2) Minecraft no longer loads, I should have been more clear sorry about that. 3) I will make the mod in 1.10 but I want to get the basic features of my down first before I start porting to new versions, this means play testing with other mods and the version that I play right now is 1.8.9 because haven't had the time to go though what mods I need to have and update. Minecraft no longer starts...how do we help if we do not have the crash report?
-
[1.10.2][UNSOLVED] Registering EntityItems with Forge
Since I've tried setting the motion and all that in the constructor and it didn't work (or at least I don't know how to make it work), could you please explain to me how I would manually save and load the entity from NBT to and from the world (to achieve basically the same thing as the registration does, just without the whole 'setting up the motion and fixing the weird teleportation glitch' shenanigans). Also where and how would you set the basic motion to correct this? Because I've tried overriding the dropBlockAsItemWithChance and implementing my own version of spawnAsEntity where I only changed the entity construction invocation, and I also tried copying the motion formation code from several sources and placing it in createNewEntity in my custom item class and nothing worked. Does your EntityItem extend EntityItem?
-
[1.10.2] TE rendering update
Did you override getUpdatePacket(...) and handleUpdatePacket(...) or something like that.
-
[1.10.2] TE rendering update
You need to sync the inventory using markDirty() meaning call markDirty() after removing/adding the item.
-
[1.8] [Solved] methods #onEntityWalking #onEntityCollideWithBlock
It may have something to do with canCollideCheck(...)
-
[1.7.10] IMessage Event?
1.7 is no longer supported here, once a moderator sees this thread it will be locked and you will be asked to update, so just update.
-
[1.10.2][UNSOLVED] Registering EntityItems with Forge
I beleive you want to copy the motion of the entity aswell as the positions.
-
[1.10.2] [Solved] Lines render black in the world
Instead use the DrawBlockHighlightEvent.
-
[1.10] Glowing effect client-side?
You will have to render it yourself then using RenderPlayerEvent.Pre
-
WorldGend Block Replacment 1.10
Do you want to replace all coal ore o just some coal ore?
-
[1.10] Glowing effect client-side?
Look at what getting hit by a spectral arrow does then only do that client side on the client you want. Or you could just manually draw the same effect when your condition is met.
-
[1.8] Item Model does not load
You shoudl be using ModelLoader.setCustomModelResourceLocation(...) instead of the ItemModelMesher.register(...) and it belongs in preInit.
-
[1.8] Item Model does not load
Add an inventory tag ie "inventory": "modid:texture location"
-
[1.10.2] [SOLVED] Obtaining an int[] of the player's skin ingame
You can use Reflection to access this private field.
-
[1.10.2] Problems with TE and GUI
I didn't see a register call for your GuiHandler you need to do NetworkRegisty.INSTANCE(instance()).registerGuiHandler(...);
-
[1.10.2][SOLVED] TESR not rendering entities
Did you register the renderer?
-
[Solved] 1.10.2 Randomised Tool Material
You will have to write the data the tool material stores to nbt and read the data from nbt in the methods that call for them.
-
Damage subject
Call damageItem instead
-
[1.10.2] ItemStack from BreakEvent
Do you mean a new ItemStack?
IPS spam blocked by CleanTalk.