Everything posted by hydroflame
-
Modular Modding
meh, for the burger example, i would simply make a config files "id -> price" and if you want to check if something is installed: boolean economyPresent = false; try{ Class.forName("com.flenix.economy.Core") economyPresent = true; }catch(Exception e){ println("economy mod not present, skipping") } if(economyPresent){ loadEconomyMod() }
-
Probability affected by an external value java logic problem
are we talking about if else here ???
-
[1.7.2] Qadom - Classic Roleplaying Mod [v1.0.0]
interresting, we are similar yet somewhat different maybe (just maybe) we should cooperate ? my mod: http://www.minecraftforge.net/forum/index.php/topic,11435.0.html
-
Model Problems
*facepalm* dont use tile entities for thsi kind of thing, you're just going to make your server lag a lot, use meta please
-
[DOUBLE _ SOLVED] - Forge 1.6.2 Texturing Problem (Black/Purple)
this registers the icon/image its formed like this: "modid:imageName" in your case the modid is : "NonExistingTextures" which contains upper case letters also if you say @Mod(modid = "Wreck It Mod", name = "Wreck It Mod", version = "Version 1.0") then that mean your modid is "Wreck It Mod" and not "NonExistingTextures" so instead of "Wreck It Mod" or "NonExistingTextures" change both to "wreckitmod" the modid is not the mod name, so it wont show up anywhere visible to a normal player
-
ItemStack colours
doesnt matter case 1: shouldUpdate(){ return false;} update(){} case 2: update(){} if we run: for case 1 if(te.shouldUpdate()){ update(); } is the exact same as doing for cas 2 te.update(); you're still calling a method and doign nothing actually case 1 would be even slower becuase it return a value that needs to be compared plus even if magicly we wern't calling update, we would still be screwed with the massive traffic jam caused by this
-
[DOUBLE _ SOLVED] - Forge 1.6.2 Texturing Problem (Black/Purple)
modid cannot have upper case use code tag when required
-
ItemStack colours
its not a question of its not codable, its a question of the algorythm isn't made for that. whenever you have a tile entity the server will send an extra packet containing the information. so if you have a mansion made of those and someone logs in ... well you have to send him .. 500-600 packets , at once ! so yeah lag will and can happen as well as many wasted cycle "updating" those tile entity (even theres nothign happening inside the update method, its still a lot of method call)
-
ItemStack colours
yeah, youll have to bring it down to only 16 values per block...
-
ItemStack colours
~ meta + more block id, its a better solution
-
ItemStack colours
ok, the thing is tile entity are expensive and what you are doign is nto very different from another aesthetic block (gosh this is probably not how you spell that) your idea is nice, but probably expensive as peoepl wil be placing hundred of those all around meaning the load time will be huge, specially on a remote server :\
-
ItemStack colours
oooooh, fiouf ok but do you NEED a tile entity, because if its just the color cant you just use the meta ? ( i know its only 16 colour but it will be less cpu consuming :\ as well as require less network traffic)
-
[1.6.2] Solved Mob won't render correct
- ItemStack colours
do you mean like in game the dirt can look red/blue/green ? if yes .. how are you savign that information ? tile entity ? side data strcuture ?- Every Time I Try To Launch Minecraft I Get This Error...
the first error is the one you should be looking at in thsi case its a classnotfoundexception- [1.6.2] Broadcast message to All players
no sticky, not important enough, just use search next time also, equivalent : PacketDispatcher.sendPacket(new Packet3Message(String)); if you want bukkit like code:- [Solved] Opening a door through code
in this case no one cares and it shouldn't make a difference but in another example typing manually (also refered as "hardcoded") the id mean that everytime the iron door id changes you will have to manually change it. in this case the iron door id will probably never change so it technicly makes no difference. but hey if you don't want to follow convention and write crappy code, nobody is going to stop you...- Get entity being looked at
on the other hand you could make a coremods that increase the minimum interraction distance between you n the mobs so that the whole system takes care of that for your. the only thing is if you do that youll have to filter every other things to a smaller range (using event handlers)- Live tutor
i KNEW mazetar woudl bring his higly detaileld quide. i just knew it- Help for create custom item render 1024 textures or high
is 1024 the number of textures or the size of them, if ots the size youre doing it wrong use IItemRenderer instead. unless your goal is to make your mod unplayable on low hardware- Alternatives to Tick handlers
well if the methods of block dont satisfy you then theres no scalable solution- [solved] Need Help with onBlockDestroyed Method
no, it works in 1.6 too- Entity Need Help in noClip
"noClip" is not goign to magicly make mobs swim on sand, youll need a looooot more code then just switchign that boolean- [Solved][1.6.2] Disable lighting on normal (not custom model) Block
yeah isbrh are always more performant then tesr becausetesr requires a tile entity. if you dont have one you cannot use tesr. in term of how much gpu computation they both require, its almost the same. technicly tesr will take a tiny bit more computation because you can add animation n stuff but in that sens you shouldnt worry about it.- [SOLVED] Adding new Player-variable
client side you DONT want a list of all players, store the mana in the client proxy and only for local player - ItemStack colours
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.