Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

loordgek

Members
  • Joined

  • Last visited

Everything posted by loordgek

  1. 1.13 will be loading faster, mods will load parallel
  2. your readNBT does nothing usefull you only read the nbt
  3. package loordgek.itemhandlerv2.captest; import net.minecraft.init.Items; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraftforge.event.AttachCapabilitiesEvent; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; public class lol { public static boolean somthing = false; public ItemStack createNewStack(){ somthing = true; ItemStack stack = new ItemStack(Items.ITEM_FRAME); if (!stack.hasTagCompound()) stack.setTagCompound(new NBTTagCompound()); stack.getTagCompound().setBoolean("somthing", true); somthing = false; return stack; } //note you should a bool to the rhe nbt of the sack if you want the cap to survive between saves @SubscribeEvent public void onAttachCapabilities(AttachCapabilitiesEvent<ItemStack> event) { if (event.getObject().hasTagCompound()){ if (event.getObject().getTagCompound().hasKey("somthing")) //add a cap here } if (somthing)// i made the stack { //add a cap here } } }
  4. did you read what Draco18s wrote ?? what you can do is add a cap using the event that allows adding/removing caps on the fly
  5. https://gist.github.com/Draco18s/2b02762b597e67a9b887aed241f25077#file-guimultilinetextfield-L23 ?
  6. update minecraft moreplayermodels is for 1.12.2 you have 1.8.9
  7. you have older mods in the mod folder where did you get the mods from
  8. can have your name so we can DM
  9. no you are not annoying me i am trying to help you
  10. yes stop. you have no idea what you are doing
  11. no that will return null EnumFacing orient = state.getValue(BlockDirectional.FACING); and you can get the state for world.getBlockStae
  12. that works but that is not the normal way you should do it like so EnumFacing orient = state.getValue(BlockDirectional.FACING);
  13. you get the facing form the blockstate but something else, BlockPhysics is using a lot of ASM hacks. do you know how ASM works if not please stop.
  14. try adding https://minecraft.curseforge.com/projects/craftstudio-api
  15. https://github.com/qdlmcfresh/smdimp/blob/master/JME20_SMD/src/com/base/model/parser/SMDParser.java google is your best friend use and abuse it
  16. the pr is in now https://github.com/MinecraftForge/MinecraftForge/commit/2a5268c6993f2de7612789bfac2b674d04c87e89
  17. you dont edit clean the clean needs to be there so gradle can make the patches
  18. hint: block
  19. dont look at optifine it really hacks into the forge render stuff dont use it
  20. what mc version are you modding
  21. there is none forgegradle is getting a rewrite https://github.com/amadornes/ForgeGradle that needs to be done first

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.