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.

MultiMote

Forge Modder
  • Joined

  • Last visited

Everything posted by MultiMote

  1. http://up42.ru/u/p/_________________2014-07-15_20_43_09.png[/img] u CAN'T use this at server
  2. Player sends packet. Server gets packet sender.
  3. mouseOverObject is client-side only. You must to send packet with object coords/id.
  4. Start of schematic is one of bottom corners.
  5. http://www.minecraftforge.net/wiki/Creating_NBT_for_items At the end of page.
  6. Easy to use + all minecraft data stores in NBT.
  7. GL11.glColor4f(1F, 1F, 1F, 1F); Minecraft.getMinecraft().renderEngine.bindTexture(yourResLocation); this.drawTexturedModalRect(x, y, xOnTexture(u), yOnTexure(v), width, height); Texture must be 256x256 for this render method.
  8. I'm using NBT https://gist.github.com/9e322275b48c317eacab
  9. It must be in build/tmp/recompSrc
  10. Thank you, I did't know about Ctrl+N
  11. GL11.glPushMatrix(); Minecraft.getMinecraft().renderEngine.bindTexture(yourfacelocation); GL11.glTranslatef(faceX, faceY, 0); float scale = 3F; GL11.glScalef(scale, scale, scale); drawTexturedModalRect(0, 0, 8, 8, 8, ; //correct if wrong GL11.glPopMatrix();
  12. public Item getItemDropped(int p_149650_1_, Random rnd, int p_149650_3_) { return youritem; }
  13. I don't know what's wrong In my case it's works.
  14. InputStream returns null because it can't find file. IDK. Recheck schematic path...
  15. Replace InputStream is = Schematic.class.getClass().getClassLoader().getResourceAsStream("assets" + File.separator + MhytRPG.MODID + File.separator + "schematics" + File.separator + schemname +".schematic"); With String temp = "assets" + File.separator + MhytRPG.MODID + File.separator + "schematics" + File.separator + schemname +".schematic"; System.out.println("Trying to load " + temp); InputStream is = Schematic.class.getClass().getClassLoader().getResourceAsStream(temp); And look at log before crash.
  16. Just put it in your main mod class public static DamageSource mySource = new DamageSource("mySourceName"); And attack entity with this source.
  17. Maybe schematic is corrupt? If InputStream can't find file it throws FileNotFound exception. But in your case it's NullPointerException => CompressedStreamTools can't read stream correctly.
  18. public ResourceLocation getSkin(String name){ ResourceLocation resourcelocation = AbstractClientPlayer.locationStevePng; if (name.length() > 0) { resourcelocation = AbstractClientPlayer.getLocationSkin(name); AbstractClientPlayer.getDownloadImageSkin(resourcelocation, name); } return resourcelocation; }
  19. Which class calling this method?
  20. It's in your main mod class @EventHandler public void load(FMLInitializationEvent event) { KeyBind.init(); }
  21. So i can't see the successful load message too (System.out.println("schem size:" + width + " x " + height + " x " + length).
  22. @SideOnly(Side.CLIENT) public String getItemIconName() { return "yourmod:nameInIconsFolderWithoutExtention"; }

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.