Everything posted by Differentiation
-
[1.10.2] [SOLVED] Checking for the Jump Boost level?
Hey! So for example, if I have to launch the player when they right click, I would launch them a certain amount, like so: @Override public ActionResult<ItemStack> onItemRightClick(ItemStack stack, World world, EntityPlayer player, EnumHand hand) { //Just showing an example, I know this looks stupid... player.motionY = 0.5D; player.fallDistance = 0; return new ActionResult<>(EnumActionResult.SUCCESS, stack); } But how do I edit the amount to satisfy all the levels of Jump Boost if the potion effect is active? (Level I, II, III, etc.) Please help
-
Forge 1.12.2 | Mod Error
^ Rename your modId to firstforgemod instead of firstForgeMod; you're not allowed to use capital letters in your modId. Problem solved.
-
[1.11.2][SOLVED] gradlew setupDecompWorkspace fails
Reinstall JDK.
-
Whats the best way to change vanilla blocks behaviour when events are not available?
Do what ben said...
-
Initializing game failed (forge 1.7+1.8)
There's your problem. Your CPS mod is errored, remove it. And seriously, update to 1.10.2+ please. Pssst.. Psssttt.. 1.8 will sooner or later not be supported on this Forum as well, just saying.
-
In this mod why won't my ItemBlock models register?
You're nice!
-
Changing players speed
Sorry Thanks for telling me.
-
Changing players speed
Or you can just do EntityPlayer::capabilities#setPlayerWalkSpeed(Float... amount);
-
[1.10.2] Different code formatting?
Thank you!
-
In this mod why won't my ItemBlock models register?
If you could give us a link to the specific files, then it probably wouldn't be such a pain to search for it
-
[1.10.2] Different code formatting?
I am using Eclipse, but how exactly do I do this?
- modpack
-
[1.10.2] Different code formatting?
Oh, I see. I find it better the first way as well because it looks more clean to me. Thanks!
- modpack
-
[1.10.2] Different code formatting?
Hey, I've noticed Minecraft's formatting for their code looks like this: @Override public boolean hitEntity(ItemStack stack, EntityLivingBase target, EntityLivingBase attacker) { if (attacker.isSneaking()) { if (target.hurtTime == target.maxHurtTime && target.deathTime <= 0) { target.addVelocity(0D, 0.5D, 0D) } } return super.hitEntity(stack, target, attacker); } It looks spread out, whereas there are some formats that look different like: @Override public boolean hitEntity(ItemStack stack, EntityLivingBase target, EntityLivingBase attacker) { if (attacker.isSneaking()) { if (target.hurtTime == target.maxHurtTime && target.deathTime <= 0) { target.addVelocity(0D, 0.5D, 0D) } } return super.hitEntity(stack, target, attacker); } The brackets are placed differently if you see what I mean. Does it have an effect on the code or is it just for convenience purpose? I'm just curious. Thanks!
-
modpack
Well, if I were you, I would pick 1.10.2 as it is a very stable and solid version as of today, and it's long since being forgotten. I would not pick 1.6.4-1.8.9 since they are old versions and are soon to be forgotten. Of course this is just my preference, other people have their own. Thanks!
-
modpack
You mean code a modpack? Or combine different compatible mods to make a modpack? Please be specific. Thanks!
-
[1.10.2] Event that fires when a player attempts to fly (hit space bar twice?)
Thanks guys, I got it! I just tested for the key bind twice by checking with int flags (the simple way out).
-
[1.10.2] [UNSOLVABLE] Make the player light like a torch?
Thanks! I'll definitely have a look.
-
[1.10.2] Event that fires when a player attempts to fly (hit space bar twice?)
Sorry, mate, just should've informed me.
-
[1.10.2] [UNSOLVABLE] Make the player light like a torch?
I mean, I see the point, but teleporting the block to the player every tick may lower the FPS and many people's computers can't handle that. Can I have a look at the tutorial for this (if you have one?) Thanks!
-
[1.10.2] Event that fires when a player attempts to fly (hit space bar twice?)
Hey, I was just curious, is there an event that fires when the player attempts to fly (even if the player is on survival)? Thanks!
-
[1.10.2] [SOLVED] Sending a chat message to all players on the Server?
So I would get MinecraftServer via FMLCommonHandler, got it. Thanks!
-
[1.10.2] [SOLVED] Sending a chat message to all players on the Server?
What would be the getter? PlayerList players = ?;
-
[1.10.2] [SOLVED] Sending a chat message to all players on the Server?
Well, what would be the getter for PlayerList?
IPS spam blocked by CleanTalk.