Everything posted by hydroflame
-
[Solved] Furnace Recipe (2 inputs) addRecipe
@mazetar last paragraph of OP only OP knows what hes talking about i guess
-
Changing player's reach distance?
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
-
Issue with metadata and getLightValue
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
-
Issue with metadata and getLightValue
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 )
-
Issue with metadata and getLightValue
is there anything that changes the meta of a block ? or it depends on how it was crafted/created
-
Issue with metadata and getLightValue
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 ?
-
3 input furnace?
someones gonna have to make a tutorial for this because the question gets asked WAY too often
-
Changing player's reach distance?
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"
-
Changing player's reach distance?
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
-
Changing player's reach distance?
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
-
Changing player's reach distance?
*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
-
Changing player's reach distance?
statement 1 and 2 are exactly the same
-
Changing player's reach distance?
[lmgtfy]java primitive types[/lmgtfy]
-
Changing player's reach distance?
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);
-
Changing player's reach distance?
reach distance of what ? attacks ? mining ?
-
Custom Entity Name Not Showing
"flamebreath" is the name
-
Custom Creative Tabs
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
-
[SOLVED] [1.5.2] When enabling my mod Minecraft crashes { ... }
did you instanciate your block in your preinit ? like i said ?
-
[SOLVED] [1.5.2] When enabling my mod Minecraft crashes { ... }
are you filling every possible block ?
-
Saving data to players on lan
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
-
How do I edit a class without being able to edit it?
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
-
Custom Entity Name Not Showing
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
-
Custom Entity Name Not Showing
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
-
How do I edit a class without being able to edit it?
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
-
Custom Entity Name Not Showing
i edited my post sorry
IPS spam blocked by CleanTalk.