Everything posted by Animefan8888
-
[solved] Having An Issue With My Entity Disappearing After Piercing An Entity
Override doCollisions and remove the code stopping/killing the entity when it collides.
-
IWorldGenerator
Now what is the problem?
-
IWorldGenerator
I'm pretty sure we need more information than that like code.
-
[Solved][1.10.2] Need help with HarvestDropsEvent...
Yeah I didn't notice this before, but making a github is recommended for later posts.
-
[Solved][1.10.2] Need help with HarvestDropsEvent...
By chance do you have a github or skype/discord? And do the Items exist in the game? *Edit you don't have @EventHandler above your load and postLoad methods.
-
[Solved][1.10.2] Need help with HarvestDropsEvent...
When I said use event.getDrops.add(...) did you remove the clear and the new List you made from the method? Is it dropping any Items at all?
-
[1.8.9]How send a Custom Packet on join server
PlayerLoggeInEvent should get called when the player joins the game both singleplayer and dedicated server.
-
How to alter a vanilla BiomeDecorator?
Try doing it in your preInit method, I will look more into this after you respond saying it doesn't work.
-
[1.10.2] No Axe Cooldown?
I'm pretty sure speed is the recovery time mainly what this thread is asking to fix.
-
[Solved] [1.9] GUI Container Crashes Game When Shift+Clicking
Cool alias has a sgood tutorial for overriding shift clicking here. http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/1571051-custom-container-how-to-properly-override-shift
-
[Solved][1.10.2] Need help with HarvestDropsEvent...
Try doing event.getDrops().add instead of resetting the list.
-
[Solved][1.10.2] Need help with HarvestDropsEvent...
That code should work and it should be in your load method. Can you be a little more detailed when explaining the problem?
-
[1.10.2] Constantly Update GUI
drawContainer.... is already called "every frame"
-
[1.10.2] Minecraft crashes when gui part is opened
Because you only call it once all rendering code needs to be in the rendering methods aka draw...
-
[1.10.2] Minecraft crashes when gui part is opened
What do you mean? Does it work?
-
[1.10.2] Minecraft crashes when gui part is opened
You are creating a variable named cookies then when you are creating it you try to reference it. cookies.getValueInt()
-
[1.10.2] Minecraft crashes when gui part is opened
May I see the crash report?
-
[1.10.2] Minecraft crashes when gui part is opened
The later (the second one).
-
[1.10.2] Minecraft crashes when gui part is opened
Like so String.valueOf(i);
-
[1.8] Help creating Custom Commands
In your MainMod class in the @Mod annotation set clientSideOnly = true not sure if that will fix it, but you should do that anyways.
-
[1.8] Help creating Custom Commands
There are two possible places for this, which are you referring to? Here if (ChatListener.isAFK = false) { ChatListener.isAFK = true; icommandsender.addChatMessage(new ChatComponentText("You are now AFK!")); return; } If this doesn't work it is not being called. I use that and it only comes up with the "Hello" message, not the "You are now AFK!". Then it is never making it into the if statement, or it can't send the message try removing the help message.
-
[1.10] How can I make minecraft vanilla blocks drop custom items?
When you setup the EventHandler you need to subscribe to HarvestDropsEvent, using the HarvestDropEvent parameter in your method you have access to the block and a list of dropped items you can modify to your liking.
-
[1.8] Help creating Custom Commands
There are two possible places for this, which are you referring to? Here if (ChatListener.isAFK = false) { ChatListener.isAFK = true; icommandsender.addChatMessage(new ChatComponentText("You are now AFK!")); return; } If this doesn't work it is not being called.
-
AL lib: (EE) alc_cleanup: 1 device not closed
You can look at the link in my signature and look at my RegistryHelper class for an example on how that is handled.
-
[1.10] How can I make minecraft vanilla blocks drop custom items?
EventHandler here is a great tutorial on it by cool alias. http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/1571567-forge-1-6-4-1-8-eventhandler-and
IPS spam blocked by CleanTalk.