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. @mazetar last paragraph of OP only OP knows what hes talking about i guess
  2. not really, like i said i tried to change the right click distance because i prsonally wanted to be able to cast spells with lockon but i didnt actually try it if you look at my post lex was talking like there was a way but then lex doesnt give a shit about a lot of thing, so i cant say
  3. you said that there wemas subblocks, i imagine youre getting those with the god mode inventory. did you check that the meta was correct upon placement ? like a println in onBlockPlaced or something
  4. well... well how can there be blocks with meta other then 0 if nothing is changing it i am super confused by this ??? ??? (im not accusing you btw im just really wondering how is iteven happening )
  5. is there anything that changes the meta of a block ? or it depends on how it was crafted/created
  6. heu ok.. im not sure what you want to happen so when a block has 1 side obstructed it becomes all darkened ? <- you want this ? and when you obscure 1 side, the obscured side is the right color but not the other sides ? <- this is happening instead ?
  7. someones gonna have to make a tutorial for this because the question gets asked WAY too often
  8. well to give you a comparison, these subject are given in the 2nd class of java at my university, so that after 45h of class, this is in no way to discourage you. But as you can see to understand fully what you are doing you need to study a lot. its not my style to give answer you can copy paste, but maybe someone in the forums is nicer then me and will. but if you copy paste their answer you wont understand it. so no i cannot walk you through the solution because it would take more time then i can afford, if however you want explanation on a certain subject i would gladly help explain it but you MUST have made some research before. not just come here and say "hey teach me everything about objects"
  9. you read both and you understand both perfectly ? if after reading what an interface is you dont understand it. then you might have to learn about: [lmgtfy]java abstract class[/lmgtfy] [lmgtfy]java casting[/lmgtfy] [lmgtfy]java class[/lmgtfy] [lmgtfy]java static and not static[/lmgtfy] [lmgtfy]java public and private[/lmgtfy] all these are actually very important to understand what you're doing
  10. setting yourself on fire is a way to learn that fire is hot... but its not necessarelly a good way [lmgtfy]java interface[/lmgtfy] <- to learn a bit more about java [lmgtfy]minecraft forge javadoc IPlayerTracker[/lmgtfy] <- the class you should be using
  11. *facepalm* learn a bit more java okay, itll help you a lot to make awesome mode with beautifull code, faster i was saying this because this is the method you need to call to make it longer, but you need a variable entityPlayerMP of type EntityPlayerMP .. maybe a IPlayerTracker would be a good place to do this
  12. statement 1 and 2 are exactly the same
  13. [lmgtfy]java primitive types[/lmgtfy]
  14. well the block part there already something for that (i forgot what it is but its just a method you call) but for the attack range you will need to make a core mod because its not possible with forge currently but lex doesnt like the idea anyway see: http://www.minecraftforge.net/forum/index.php/topic,9059.msg45909.html#msg45909 EDIT: entityPlayerMP.theItemInWorldManager.setBlockReachDistance(double);
  15. reach distance of what ? attacks ? mining ?
  16. "flamebreath" is the name
  17. new to coding, or only with forge because at the top of this screen theres a button labelled "wiki" and theres a tutorial for it
  18. did you instanciate your block in your preinit ? like i said ?
  19. i can 100% guarantee you that it doesnt work like you want it to but since you're confident i wont talk about it for IExtendedProperty, make a class that implements it and attach it to an entity. this way you will be noticed when an entity is saved to the NBT and you can add your gold there ps: [lmgtfy]how to use hashmap in java[/lmgtfy], trust me it will help
  20. package dissapear when you obfuscate net.minecraft.client.Minecraft become just "at" (or wtv, 2-3 letter name) if you open minecraft.jar you will see that there is no folder but like 1000 file just laying at the root of the jar, that cuz theres no pkg
  21. well i cant say for sure its not that but i know its not "package.classname" since i have no idea (and i think anyway you're suppose to use Forge not Modloader (even if they are merge a little)) heres my code to register entities :\ EntityRegistry.registerModEntity(EntityFlameBreath.class, "flamebreath", 6, this, 350, 2, false); sorry about that
  22. yeah i think that would make more sens nope i digged in the code a little and realise im a fucking retard, that not it
  23. if the code you are replacing is calling something that can be obfuscated/deobfus and that part isnt change it will also fuck. example (pseudo code, not real) Minecraft.getMinecraft() is also obfuscated, so basicly inserting thsi in obfuscated code will refer to a function that doesnt exists, in a obf envir
  24. i edited my post sorry

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.