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.

hydroflame

Members
  • Joined

  • Last visited

Everything posted by hydroflame

  1. depending on whats "advance modding" you should still start by learning java completelly *inheritance *abstraction *encapsulation
  2. %appdata%/.minecraft/mods/mymod.jar/assets/*modid*/textures/blocks/*.png
  3. yeah, but in theory you could catch those, obviously you wouldn't be able to cancel those or get any relevent information out of it because it's different between every TE, but you could catch the "update" part
  4. in theorie you could catch some changes by hooking markBlockForUpdate serverside, since modders have to call this to propagate the changes to the clients BUT it could also be called for no reason (and no change)
  5. yes, brain not working too well so late but your custom enum armor material should override public int getDurability(int par1) { return ItemArmor.getMaxDamageArray()[par1] * this.maxDamageFactor; } and that could return Integer.MAX_VALUE the armor wouldnt be unbreakable... but it would sure take a super long time to break other then that i kinda agree with Mazetar, or make a TickHandler that restore this armor type to max durability
  6. ahaha, that jack ( i made those tutorial btw
  7. oh ... well if its the amount it absorbs .. just make it Integer.MAX_VALUE wtf am i saying?
  8. public ItemArmor(int par1, EnumArmorMaterial par2EnumArmorMaterial, int par3, int par4) { super(par1); this.material = par2EnumArmorMaterial; this.armorType = par4; this.renderIndex = par3; this.damageReduceAmount = par2EnumArmorMaterial.getDamageReductionAmount(par4); this.setMaxDamage(par2EnumArmorMaterial.getDurability(par4)); this.maxStackSize = 1; this.setCreativeTab(CreativeTabs.tabCombat); BlockDispenser.dispenseBehaviorRegistry.putObject(this, field_96605_cw); } just saying you could return 0 to that ....
  9. can you make println to see where its failing ?
  10. well ... this is getting hard besaude its like 1 line to switch or not, so either wait til i have time to do it manually or try to play around to make it fit correctly okay ? :\
  11. my job is to make those kind of things .....
  12. oh GL11.glRotatef(-player.rotationYaw, 0.0F, 0.0F, 1.0F); you had that ^ i copied it without thinking change it to thjat GL11.glRotatef(-player.rotationYaw, 0.0F, 1.0F, 0.0F);
  13. kindof like the difference between bukkit and forge, its so much easier in bukkit because you have to take care of 1 side, commands only but forge is way better because we can create menu, make things intutive etc
  14. ohhhhhhh, well then, i can guarantee you that what you're generally trying to do is harder then making a menu
  15. try this instead, if that acts weird, switch the line commented "noted 1" and "noted 2"
  16. aaahhh i see are you rotatin translating or translating rotating whatever it is, try the other, see how it affects the result
  17. contradicts my core only notify server side, but you could always send a packet
  18. just saying my menu thing wouldnt be that bad
  19. actually when using IC2 or EE theres was a LOT of item i wanted to know why what they were doing, before i had them
  20. make sure your mod runs after everyone else, make a menu with a search bar (like creative) and all ALL the items in it
  21. can you show an image, not sure wtfbbq
  22. yes but i dont think you can make a generic method for everything to give you an idea, i have a LOT of object, and i would deff do it
  23. *releif* yes, well if you have experience with java you probably already know that javadocs are super usefull, so if you google "minecraft forge javadoc" youll find (obviously ) the forge javadoc go there whenever you want a quick overlook of what a certain class does, also, take a look at the tutorials on the forge wiki as a LOT of them help understand the basic mechanics of modding to answer to your specific question research: -packet handling -RenderGameOverlayEvent -Tessellator -Proxies also feel free to naviguate the minecraft source (since you have access with mcp) because you will learn a F***ING lot from understanding the mechs of the game and most importantly gl hf welcome
  24. the member entityPlayer is the player being rendered since its a client side method you can use Minecraft.getMinecraft().thePlayer to get who is the player rendering the others thsi problem smells like packets

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.