Skip to content

Commit 8e769ce

Browse files
author
chrissx
committed
Renamed FastFall.factor to speed and added saving for it and made everything ready for 2.5.
1 parent ca70af5 commit 8e769ce

File tree

15 files changed

+3304
-2651
lines changed

15 files changed

+3304
-2651
lines changed

eclipse/.metadata/.log

+957
Large diffs are not rendered by default.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

eclipse/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs

+1-1
Large diffs are not rendered by default.

eclipse/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi

+2,309-2,627
Large diffs are not rendered by default.

eclipse/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
22
<qualifiedTypeNameHistroy>
3-
<fullyQualifiedTypeName name="java.nio.charset.StandardCharsets"/>
43
<fullyQualifiedTypeName name="com.google.common.io.Files"/>
54
<fullyQualifiedTypeName name="java.nio.charset.Charset"/>
65
<fullyQualifiedTypeName name="java.nio.ByteBuffer"/>
@@ -31,7 +30,6 @@
3130
<fullyQualifiedTypeName name="net.minecraft.network.NetworkManager"/>
3231
<fullyQualifiedTypeName name="java.lang.Exception"/>
3332
<fullyQualifiedTypeName name="com.jcraft.jorbis.Block"/>
34-
<fullyQualifiedTypeName name="net.minecraft.item.ItemStack"/>
3533
<fullyQualifiedTypeName name="net.minecraft.item.Item"/>
3634
<fullyQualifiedTypeName name="de.chrissx.locations.LocInt64"/>
3735
<fullyQualifiedTypeName name="net.minecraft.client.Minecraft"/>
@@ -50,7 +48,6 @@
5048
<fullyQualifiedTypeName name="net.minecraft.network.play.client.C03PacketPlayer.C06PacketPlayerPosLook"/>
5149
<fullyQualifiedTypeName name="net.minecraft.client.renderer.EnumFaceDirection"/>
5250
<fullyQualifiedTypeName name="net.minecraft.util.EnumFacing"/>
53-
<fullyQualifiedTypeName name="de.chrissx.util.Util"/>
5451
<fullyQualifiedTypeName name="de.chrissx.mods.movement.FastFall"/>
5552
<fullyQualifiedTypeName name="net.minecraft.network.play.client.C03PacketPlayer"/>
5653
<fullyQualifiedTypeName name="net.minecraft.client.entity.EntityPlayerSP"/>
@@ -60,4 +57,7 @@
6057
<fullyQualifiedTypeName name="de.chrissx.util.Consts"/>
6158
<fullyQualifiedTypeName name="net.minecraft.server.integrated.IntegratedServer"/>
6259
<fullyQualifiedTypeName name="java.lang.Throwable"/>
60+
<fullyQualifiedTypeName name="de.chrissx.mods.fun.AutoSwitch"/>
61+
<fullyQualifiedTypeName name="de.chrissx.util.Util"/>
62+
<fullyQualifiedTypeName name="net.minecraft.item.ItemStack"/>
6363
</qualifiedTypeNameHistroy>

eclipse/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml

+4-1
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,11 @@
4545
<section name="FatJarPackageWizard">
4646
<item value="C:\Users\chrissicx\Desktop\cxclient\eclipse.xml" key="FatJarPackageWizardPage.ANTSCRIPT_LOCATION"/>
4747
<item value="Client - Client" key="FatJarPackageWizardPage.LAUNCH_CONFIGURATION_SELECTION_NAME"/>
48-
<item value="D:\Bibliotheken\Desktop\cxclient-builds\cxclient_2.4.jar" key="FatJarPackageWizardPage.DESTINATION_PATH_SELECTION"/>
48+
<item value="D:\Bibliotheken\Desktop\cxclient-builds\cxclient_2.5.jar" key="FatJarPackageWizardPage.DESTINATION_PATH_SELECTION"/>
4949
<item value="false" key="FatJarPackageWizardPage.ANTSCRIPT_SAVE"/>
5050
<item value="1" key="FatJarPackageWizardPage.LIBRARY_HANDLING"/>
5151
<list key="FatJarPackageWizardPage.DESTINATION_NAMES_ID">
52+
<item value="D:\Bibliotheken\Desktop\cxclient-builds\cxclient_2.5.jar"/>
5253
<item value="D:\Bibliotheken\Desktop\cxclient-builds\cxclient_2.4.jar"/>
5354
<item value="D:\Bibliotheken\Desktop\cxclient-builds\cxclient_2.3.1.jar"/>
5455
<item value="D:\Bibliotheken\Desktop\cxclient-builds\cxclient_2.3.jar"/>
@@ -110,6 +111,8 @@
110111
</section>
111112
</section>
112113
<section name="completion_proposal_size">
114+
<item value="260" key="size.y"/>
115+
<item value="355" key="size.x"/>
113116
<item value="221" key="contextSelector.size.y"/>
114117
<item value="331" key="contextSelector.size.x"/>
115118
</section>

eclipse/.metadata/.plugins/org.eclipse.m2e.logback.configuration/0.log

+4
Original file line numberDiff line numberDiff line change
@@ -162,3 +162,7 @@
162162
2018-08-20 17:58:32,892 [Worker-4: Building workspace] WARN org.eclipse.jgit.util.FS_Win32 - null
163163
2018-08-20 23:26:08,856 [Worker-6: Loading available Gradle versions] INFO c.g.t.t.d.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read.
164164
2018-08-20 23:26:09,590 [Worker-5: Building workspace] WARN org.eclipse.jgit.util.FS_Win32 - null
165+
2018-08-21 23:08:08,496 [Worker-11: Loading available Gradle versions] INFO c.g.t.t.d.PublishedGradleVersions - Gradle version information cache is out-of-date. Trying to update.
166+
2018-08-21 23:08:09,064 [Worker-6: Building workspace] WARN org.eclipse.jgit.util.FS_Win32 - null
167+
2018-08-22 06:16:47,379 [Worker-8: Loading available Gradle versions] INFO c.g.t.t.d.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read.
168+
2018-08-22 06:16:47,778 [Worker-12: Building workspace] WARN org.eclipse.jgit.util.FS_Win32 - null

eclipse/.metadata/version.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
#Tue Aug 21 23:07:56 CEST 2018
1+
#Wed Aug 22 06:16:36 CEST 2018
22
org.eclipse.core.runtime=2
33
org.eclipse.platform=4.8.0.v20180611-0500
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{}
1+
[[{"location":"D:\\Bibliotheken\\Desktop\\cxclient\\eclipse\\Client","type":"PROJECT","hints":{"PROJECT_NAME":"Client"}},"ABSENT"]]
-7 Bytes
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,26 @@
11
package de.chrissx.mods.movement;
22

3+
import java.io.File;
4+
35
import de.chrissx.mods.Mod;
46
import de.chrissx.util.Util;
57

68
public class FastFall extends Mod {
79

8-
public double factor = -4;
10+
double speed = -4;
11+
File sf;
912

1013
public FastFall() {
1114
super("FastFall");
15+
sf = getApiFile("speed");
1216
}
1317

1418
@Override
1519
public void onTick()
1620
{
1721
if(enabled && !mc.thePlayer.onGround && mc.thePlayer.motionY < 0)
1822
{
19-
mc.thePlayer.motionY = factor;
23+
mc.thePlayer.motionY = speed;
2024
}
2125
}
2226

@@ -25,20 +29,25 @@ public void processCommand(String[] args)
2529
{
2630
if(args.length == 1)
2731
toggle();
28-
else if(args.length == 3 && args[1].equalsIgnoreCase("factor"))
32+
else if(args[1].equalsIgnoreCase("speed"))
2933
try
3034
{
3135
double d = Double.parseDouble(args[2]);
3236
if(d > 0)
33-
throw new Exception("Factor should be negative.");
34-
else
35-
factor = d;
37+
throw new Exception("Speed should be negative.");
38+
speed = d;
3639
}
3740
catch(Exception e)
3841
{
39-
Util.sendMessage("Error parsing factor: " + e.getMessage());
42+
Util.sendMessage("Error parsing speed: " + e.getMessage());
4043
}
4144
else
42-
Util.sendMessage("#fastfall to toggle, #fastfall factor <negative double> to set the factor");
45+
Util.sendMessage("#fastfall to toggle, #fastfall speed <negative double> to set the factor");
46+
}
47+
48+
@Override
49+
public void apiUpdate()
50+
{
51+
write(sf, speed);
4352
}
4453
}

src/minecraft/de/chrissx/util/Consts.java

+7-9
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ public class Consts {
2121
public static final String runningFile = Paths.get(eapiPath, "running").toString();
2222
public static final String hotkeyFile = Paths.get(configPath, "hotkeys.cfg").toString();
2323
public static final String clientName = "CXClient";
24-
public static final String version = "alpha 2509";
24+
public static final String version = "2.5";
2525
public static final String[] changelog = new String[] {
2626
clientName + " " + version + " Changelog:",
2727
"",
2828
"-Added a Lag mod that holds your packets back for as long as it's enabled",
29-
"-Added a ScaffoldWalk that does what a SW does...place blocks",
30-
"-Added a FastFall that sets your falling speed so you come to ground faster",
29+
"-Added a ScaffoldWalk mod that does what a SW does...place blocks",
30+
"-Added a FastFall mod that sets your falling speed so you come to ground faster",
3131
"-Added a FastEat mod that just lets you eat faster",
3232
"-Fixed hotkeys sometimes not working in SP (the disableHotkeys value was not set to false when loading a world)",
3333
"-Optimized a few of the Minecraft classes to improve performance a bit",
@@ -41,17 +41,15 @@ public class Consts {
4141
"Author: chrissx",
4242
"Released by: chrissx Media Inc.",
4343
"Licensed under: GNU GPLv3",
44-
"Official website (alpha): https://chrissxyt.github.io/CXClient/",
45-
"Source branch: https://github.com/chrissxYT/CXClient/tree/master",
44+
"Official website (alpha): https://tinyurl.com/cxclhmpg",
45+
"Source branch: https://tinyurl.com/cxclmstr",
4646
"",
4747
"Thanks to:",
4848
"",
4949
"-Garkolym for showing a few exploits in his videos (for example #text)",
5050
"-A few other people we stealt the Fly- and Speed-Bypasses from",
51-
"-The developers of Wurst for making another open source client, we looked"
52-
+ " at, when we needed ideas for hacks or when we just f*ed up",
53-
"-Trace (german hacking youtuber, quit around 01/2018) for showing a few exploits"
54-
+ "in his videos: https://www.youtube.com/channel/UClgCGHQcdKN7Rwfx1q_-UUw"
51+
"-The developers of Wurst for making another open source client, we looked at, when we needed ideas for hacks or when we just f*ed up",
52+
"-Trace (german hacking youtuber, quit around 01/2018) for showing a few exploits in his videos: https://tinyurl.com/trcechnl"
5553
};
5654

5755
public static final String help = "Commands: #text, #multitext, #killpotion, #spam, #clearspam, #twerk, #timer, #speedac1, #speedlegit, "

0 commit comments

Comments
 (0)