mirror of
https://github.com/Wurst-Imperium/Wurst7.git
synced 2024-09-20 01:12:13 +02:00
Update to 1.16-pre1
This commit is contained in:
parent
9de49290c9
commit
1810694fae
@ -4,15 +4,15 @@ org.gradle.jvmargs=-Xmx1G
|
||||
# Fabric Properties
|
||||
# check these on https://modmuss50.me/fabric.html and
|
||||
# https://www.curseforge.com/minecraft/mc-mods/fabric-api
|
||||
minecraft_version=20w22a
|
||||
yarn_mappings=20w22a+build.1
|
||||
loader_version=0.8.4+build.198
|
||||
minecraft_version=1.16-pre1
|
||||
yarn_mappings=1.16-pre1+build.4
|
||||
loader_version=0.8.7+build.201
|
||||
|
||||
#Fabric api
|
||||
fabric_version=0.10.11+build.348-1.16
|
||||
fabric_version=0.11.6+build.355-1.16
|
||||
|
||||
# Mod Properties
|
||||
mod_version = v7.1.2-MC20w22a
|
||||
mod_version = v7.1.2-MC1.16-pre1
|
||||
maven_group = net.wurstclient
|
||||
archives_base_name = Wurst-Client
|
||||
|
||||
|
@ -58,7 +58,7 @@ public enum WurstClient
|
||||
public static final IMinecraftClient IMC = (IMinecraftClient)MC;
|
||||
|
||||
public static final String VERSION = "7.1.2";
|
||||
public static final String MC_VERSION = "20w22a";
|
||||
public static final String MC_VERSION = "1.16-pre1";
|
||||
|
||||
private WurstAnalytics analytics;
|
||||
private EventManager eventManager;
|
||||
|
@ -261,8 +261,8 @@ public final class KillauraHack extends Hack
|
||||
RenderUtils.applyRenderOffset();
|
||||
|
||||
Box box = new Box(BlockPos.ORIGIN);
|
||||
float p = (renderTarget.getMaximumHealth() - renderTarget.getHealth())
|
||||
/ renderTarget.getMaximumHealth();
|
||||
float p = (renderTarget.getMaxHealth() - renderTarget.getHealth())
|
||||
/ renderTarget.getMaxHealth();
|
||||
float red = p * 2F;
|
||||
float green = 2 - red;
|
||||
|
||||
|
@ -288,8 +288,8 @@ public final class KillauraLegitHack extends Hack
|
||||
RenderUtils.applyRenderOffset();
|
||||
|
||||
Box box = new Box(BlockPos.ORIGIN);
|
||||
float p = (target.getMaximumHealth() - target.getHealth())
|
||||
/ target.getMaximumHealth();
|
||||
float p = (target.getMaxHealth() - target.getHealth())
|
||||
/ target.getMaxHealth();
|
||||
float red = p * 2F;
|
||||
float green = 2 - red;
|
||||
|
||||
|
@ -181,7 +181,7 @@ public final class SearchHack extends Hack
|
||||
// 20w21a: Assuming class_5321 is the new Dimension and using its
|
||||
// toString() as an ID. Not sure why it has two Identifiers, but the
|
||||
// combination should be unique for every dimension.
|
||||
int dimensionId = MC.world.method_27983().toString().hashCode();
|
||||
int dimensionId = MC.world.getRegistryKey().toString().hashCode();
|
||||
|
||||
addSearchersInRange(center, range, currentBlock, dimensionId);
|
||||
removeSearchersOutOfRange(center, range);
|
||||
|
Loading…
Reference in New Issue
Block a user