Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/11/19 in all areas

  1. Override GuiScreen#mouseClicked and pass it to your text field.
    1 point
  2. the exception was caught at not enough items mod (nei), try removing it and trying again may I suggest just enough items (jei)
    1 point
  3. You need - the SoundHandler instance from getSoundHandler - Field Objects for sndManager and playingSounds Then get the value of each field using Field#get on the appropriate instance. Critique: Why do you store this in a variable? You only use it once Why is this fully qualified? Isn’t this method public? What is soundH? The SoundHandler doesn’t have this value, the SoundManager does. The SoundHandler has an instance of the SoundManager which you need to get though (sndManager). You also need to use the SRG name of the field which you can look up at many places.
    1 point
  4. Sorry totally managed to misread that! I currently cannot test for 1.13.2 (gradle hates me :/), but the code should not change to my knowledge. If it does not work, what methods are missing/what is the error? I have read through the notes and have not seen any changes to IProperty or any non-deprecated methods.
    1 point
  5. And I dont know who you think you are to call a mod shit and say it should never be released or encouraged... The idea of modding is allowing people to work creativly on whatever they want to do.... I am LexManos, the lead developer of the most popular modding api for the Minecraft environment. I have over 4 years of experience working with Minecraft mods and the community. As well as over 20 years of development and modding experience in non-Minecraft realms. THAT is who I am. The ability for mods to kill the client SILENTLY was removed because people like YOU abused it for egotistical and petty reasons which harmed the end user and purposefully sent users to the wrong place for the cause. I have NOT removed any functionality. I have NOT hindered any mod in any way. You can still stop the process of you wish. I simply force the log to capture the correct cause so that the end user, and us here doing support, know how to handle it.
    1 point
  6. @SubscribeEvent public void addEntityDrop50(LivingDropsEvent event) { if (event.getEntity() instanceof EntityCow) { if (event.getSource() != null && event.getSource().getEntity() instanceof EntityPlayer) { EntityPlayer player = ((EntityPlayer) event.getSource().getEntity()); if (player != null) { ItemStack holding = player.inventory.getStackInSlot(player.inventory.currentItem); if (holding != null && holding.getItem() instanceof MASoulHarvester) { ItemStack itemstack = new ItemStack(MASouls.CowSoul, 1); event.getDrops().add(new EntityItem(event.getEntity().worldObj, event.getEntity().posX, event.getEntity().posY, event.getEntity().posZ, itemstack)); } } } } } Jeeezz... Go back to Java tutorials. (I am serious dude, you won't get far with copy pasting from forums, and "that's how I learn" is no excuse).
    1 point
  7. Yes, opaque is true. How exactly was that constructive criticism? Sounded to me more like being completely off-topic.
    1 point
×
×
  • Create New...

Important Information

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