0
0
mirror of https://github.com/Wurst-Imperium/Wurst7.git synced 2024-09-19 17:02:13 +02:00

Update Fabric stuff

This commit is contained in:
Alexander01998 2020-10-07 19:48:31 +02:00
parent d30482c779
commit 94d5eb649f
14 changed files with 28 additions and 30 deletions

View File

@ -1,5 +1,5 @@
plugins {
id 'fabric-loom' version '0.4-SNAPSHOT'
id 'fabric-loom' version '0.5-SNAPSHOT'
id 'maven-publish'
}

View File

@ -5,11 +5,11 @@ org.gradle.jvmargs=-Xmx1G
# check these on https://modmuss50.me/fabric.html and
# https://www.curseforge.com/minecraft/mc-mods/fabric-api
minecraft_version=1.16.3
yarn_mappings=1.16.3+build.1
loader_version=0.9.3+build.207
yarn_mappings=1.16.3+build.28
loader_version=0.10.1+build.209
#Fabric api
fabric_version=0.20.2+build.402-1.16
fabric_version=0.23.0+build.410-1.16
# Mod Properties
mod_version = v7.5-MC1.16.3

View File

@ -26,10 +26,10 @@ import net.minecraft.entity.mob.EndermanEntity;
import net.minecraft.entity.mob.Monster;
import net.minecraft.entity.mob.WaterCreatureEntity;
import net.minecraft.entity.mob.ZombifiedPiglinEntity;
import net.minecraft.entity.passive.AbstractTraderEntity;
import net.minecraft.entity.passive.AnimalEntity;
import net.minecraft.entity.passive.GolemEntity;
import net.minecraft.entity.passive.HorseBaseEntity;
import net.minecraft.entity.passive.MerchantEntity;
import net.minecraft.entity.passive.PassiveEntity;
import net.minecraft.entity.passive.TameableEntity;
import net.minecraft.entity.player.PlayerEntity;
@ -290,7 +290,7 @@ public final class BowAimbotHack extends Hack
&& ((HorseBaseEntity)e).isTame()));
if(filterTraders.isChecked())
stream = stream.filter(e -> !(e instanceof AbstractTraderEntity));
stream = stream.filter(e -> !(e instanceof MerchantEntity));
if(filterGolems.isChecked())
stream = stream.filter(e -> !(e instanceof GolemEntity));

View File

@ -23,10 +23,10 @@ import net.minecraft.entity.mob.EndermanEntity;
import net.minecraft.entity.mob.Monster;
import net.minecraft.entity.mob.WaterCreatureEntity;
import net.minecraft.entity.mob.ZombifiedPiglinEntity;
import net.minecraft.entity.passive.AbstractTraderEntity;
import net.minecraft.entity.passive.AnimalEntity;
import net.minecraft.entity.passive.GolemEntity;
import net.minecraft.entity.passive.HorseBaseEntity;
import net.minecraft.entity.passive.MerchantEntity;
import net.minecraft.entity.passive.PassiveEntity;
import net.minecraft.entity.passive.TameableEntity;
import net.minecraft.entity.player.PlayerEntity;
@ -240,7 +240,7 @@ public final class ClickAuraHack extends Hack
&& ((HorseBaseEntity)e).isTame()));
if(filterTraders.isChecked())
stream = stream.filter(e -> !(e instanceof AbstractTraderEntity));
stream = stream.filter(e -> !(e instanceof MerchantEntity));
if(filterGolems.isChecked())
stream = stream.filter(e -> !(e instanceof GolemEntity));

View File

@ -21,10 +21,10 @@ import net.minecraft.entity.mob.EndermanEntity;
import net.minecraft.entity.mob.Monster;
import net.minecraft.entity.mob.WaterCreatureEntity;
import net.minecraft.entity.mob.ZombifiedPiglinEntity;
import net.minecraft.entity.passive.AbstractTraderEntity;
import net.minecraft.entity.passive.AnimalEntity;
import net.minecraft.entity.passive.GolemEntity;
import net.minecraft.entity.passive.HorseBaseEntity;
import net.minecraft.entity.passive.MerchantEntity;
import net.minecraft.entity.passive.PassiveEntity;
import net.minecraft.entity.passive.TameableEntity;
import net.minecraft.entity.player.PlayerEntity;
@ -234,7 +234,7 @@ public final class FightBotHack extends Hack
&& ((HorseBaseEntity)e).isTame()));
if(filterTraders.isChecked())
stream = stream.filter(e -> !(e instanceof AbstractTraderEntity));
stream = stream.filter(e -> !(e instanceof MerchantEntity));
if(filterGolems.isChecked())
stream = stream.filter(e -> !(e instanceof GolemEntity));

View File

@ -20,10 +20,10 @@ import net.minecraft.entity.mob.EndermanEntity;
import net.minecraft.entity.mob.Monster;
import net.minecraft.entity.mob.WaterCreatureEntity;
import net.minecraft.entity.mob.ZombifiedPiglinEntity;
import net.minecraft.entity.passive.AbstractTraderEntity;
import net.minecraft.entity.passive.AnimalEntity;
import net.minecraft.entity.passive.GolemEntity;
import net.minecraft.entity.passive.HorseBaseEntity;
import net.minecraft.entity.passive.MerchantEntity;
import net.minecraft.entity.passive.PassiveEntity;
import net.minecraft.entity.passive.TameableEntity;
import net.minecraft.entity.player.PlayerEntity;
@ -205,8 +205,7 @@ public final class FollowHack extends Hack
&& ((HorseBaseEntity)e).isTame()));
if(filterTraders.isChecked())
stream =
stream.filter(e -> !(e instanceof AbstractTraderEntity));
stream = stream.filter(e -> !(e instanceof MerchantEntity));
if(filterGolems.isChecked())
stream = stream.filter(e -> !(e instanceof GolemEntity));

View File

@ -25,10 +25,10 @@ import net.minecraft.entity.mob.EndermanEntity;
import net.minecraft.entity.mob.Monster;
import net.minecraft.entity.mob.WaterCreatureEntity;
import net.minecraft.entity.mob.ZombifiedPiglinEntity;
import net.minecraft.entity.passive.AbstractTraderEntity;
import net.minecraft.entity.passive.AnimalEntity;
import net.minecraft.entity.passive.GolemEntity;
import net.minecraft.entity.passive.HorseBaseEntity;
import net.minecraft.entity.passive.MerchantEntity;
import net.minecraft.entity.passive.PassiveEntity;
import net.minecraft.entity.passive.TameableEntity;
import net.minecraft.entity.player.PlayerEntity;
@ -245,7 +245,7 @@ public final class KillauraHack extends Hack
&& ((HorseBaseEntity)e).isTame()));
if(filterTraders.isChecked())
stream = stream.filter(e -> !(e instanceof AbstractTraderEntity));
stream = stream.filter(e -> !(e instanceof MerchantEntity));
if(filterGolems.isChecked())
stream = stream.filter(e -> !(e instanceof GolemEntity));

View File

@ -25,10 +25,10 @@ import net.minecraft.entity.mob.EndermanEntity;
import net.minecraft.entity.mob.Monster;
import net.minecraft.entity.mob.WaterCreatureEntity;
import net.minecraft.entity.mob.ZombifiedPiglinEntity;
import net.minecraft.entity.passive.AbstractTraderEntity;
import net.minecraft.entity.passive.AnimalEntity;
import net.minecraft.entity.passive.GolemEntity;
import net.minecraft.entity.passive.HorseBaseEntity;
import net.minecraft.entity.passive.MerchantEntity;
import net.minecraft.entity.passive.PassiveEntity;
import net.minecraft.entity.passive.TameableEntity;
import net.minecraft.entity.player.PlayerEntity;
@ -224,7 +224,7 @@ public final class KillauraLegitHack extends Hack
&& ((HorseBaseEntity)e).isTame()));
if(filterTraders.isChecked())
stream = stream.filter(e -> !(e instanceof AbstractTraderEntity));
stream = stream.filter(e -> !(e instanceof MerchantEntity));
if(filterGolems.isChecked())
stream = stream.filter(e -> !(e instanceof GolemEntity));

View File

@ -23,10 +23,10 @@ import net.minecraft.entity.mob.EndermanEntity;
import net.minecraft.entity.mob.Monster;
import net.minecraft.entity.mob.WaterCreatureEntity;
import net.minecraft.entity.mob.ZombifiedPiglinEntity;
import net.minecraft.entity.passive.AbstractTraderEntity;
import net.minecraft.entity.passive.AnimalEntity;
import net.minecraft.entity.passive.GolemEntity;
import net.minecraft.entity.passive.HorseBaseEntity;
import net.minecraft.entity.passive.MerchantEntity;
import net.minecraft.entity.passive.PassiveEntity;
import net.minecraft.entity.passive.TameableEntity;
import net.minecraft.entity.player.PlayerEntity;
@ -228,7 +228,7 @@ public final class MultiAuraHack extends Hack implements UpdateListener
&& ((HorseBaseEntity)e).isTame()));
if(filterTraders.isChecked())
stream = stream.filter(e -> !(e instanceof AbstractTraderEntity));
stream = stream.filter(e -> !(e instanceof MerchantEntity));
if(filterGolems.isChecked())
stream = stream.filter(e -> !(e instanceof GolemEntity));

View File

@ -21,10 +21,10 @@ import net.minecraft.entity.mob.EndermanEntity;
import net.minecraft.entity.mob.Monster;
import net.minecraft.entity.mob.WaterCreatureEntity;
import net.minecraft.entity.mob.ZombifiedPiglinEntity;
import net.minecraft.entity.passive.AbstractTraderEntity;
import net.minecraft.entity.passive.AnimalEntity;
import net.minecraft.entity.passive.GolemEntity;
import net.minecraft.entity.passive.HorseBaseEntity;
import net.minecraft.entity.passive.MerchantEntity;
import net.minecraft.entity.passive.PassiveEntity;
import net.minecraft.entity.passive.TameableEntity;
import net.minecraft.entity.player.PlayerEntity;
@ -271,7 +271,7 @@ public final class ProtectHack extends Hack
&& ((HorseBaseEntity)e).isTame()));
if(filterTraders.isChecked())
stream = stream.filter(e -> !(e instanceof AbstractTraderEntity));
stream = stream.filter(e -> !(e instanceof MerchantEntity));
if(filterGolems.isChecked())
stream = stream.filter(e -> !(e instanceof GolemEntity));

View File

@ -19,10 +19,10 @@ import net.minecraft.entity.mob.EndermanEntity;
import net.minecraft.entity.mob.Monster;
import net.minecraft.entity.mob.WaterCreatureEntity;
import net.minecraft.entity.mob.ZombifiedPiglinEntity;
import net.minecraft.entity.passive.AbstractTraderEntity;
import net.minecraft.entity.passive.AnimalEntity;
import net.minecraft.entity.passive.GolemEntity;
import net.minecraft.entity.passive.HorseBaseEntity;
import net.minecraft.entity.passive.MerchantEntity;
import net.minecraft.entity.passive.PassiveEntity;
import net.minecraft.entity.passive.TameableEntity;
import net.minecraft.entity.player.PlayerEntity;
@ -176,8 +176,7 @@ public final class RemoteViewHack extends Hack
&& ((HorseBaseEntity)e).isTame()));
if(filterTraders.isChecked())
stream =
stream.filter(e -> !(e instanceof AbstractTraderEntity));
stream = stream.filter(e -> !(e instanceof MerchantEntity));
if(filterGolems.isChecked())
stream = stream.filter(e -> !(e instanceof GolemEntity));

View File

@ -23,10 +23,10 @@ import net.minecraft.entity.mob.EndermanEntity;
import net.minecraft.entity.mob.Monster;
import net.minecraft.entity.mob.WaterCreatureEntity;
import net.minecraft.entity.mob.ZombifiedPiglinEntity;
import net.minecraft.entity.passive.AbstractTraderEntity;
import net.minecraft.entity.passive.AnimalEntity;
import net.minecraft.entity.passive.GolemEntity;
import net.minecraft.entity.passive.HorseBaseEntity;
import net.minecraft.entity.passive.MerchantEntity;
import net.minecraft.entity.passive.PassiveEntity;
import net.minecraft.entity.passive.TameableEntity;
import net.minecraft.entity.player.PlayerEntity;
@ -215,7 +215,7 @@ public final class TpAuraHack extends Hack implements UpdateListener
&& ((HorseBaseEntity)e).isTame()));
if(filterTraders.isChecked())
stream = stream.filter(e -> !(e instanceof AbstractTraderEntity));
stream = stream.filter(e -> !(e instanceof MerchantEntity));
if(filterGolems.isChecked())
stream = stream.filter(e -> !(e instanceof GolemEntity));

View File

@ -20,10 +20,10 @@ import net.minecraft.entity.mob.EndermanEntity;
import net.minecraft.entity.mob.Monster;
import net.minecraft.entity.mob.WaterCreatureEntity;
import net.minecraft.entity.mob.ZombifiedPiglinEntity;
import net.minecraft.entity.passive.AbstractTraderEntity;
import net.minecraft.entity.passive.AnimalEntity;
import net.minecraft.entity.passive.GolemEntity;
import net.minecraft.entity.passive.HorseBaseEntity;
import net.minecraft.entity.passive.MerchantEntity;
import net.minecraft.entity.passive.PassiveEntity;
import net.minecraft.entity.passive.TameableEntity;
import net.minecraft.entity.player.PlayerEntity;
@ -215,7 +215,7 @@ public final class TriggerBotHack extends Hack implements UpdateListener
&& ((HorseBaseEntity)e).isTame()));
if(filterTraders.isChecked())
stream = stream.filter(e -> !(e instanceof AbstractTraderEntity));
stream = stream.filter(e -> !(e instanceof MerchantEntity));
if(filterGolems.isChecked())
stream = stream.filter(e -> !(e instanceof GolemEntity));

View File

@ -133,7 +133,7 @@ public abstract class ListWidget extends AbstractParentElement
Tessellator tessellator = Tessellator.getInstance();
BufferBuilder bufferBuilder = tessellator.getBuffer();
client.getTextureManager()
.bindTexture(DrawableHelper.BACKGROUND_TEXTURE);
.bindTexture(DrawableHelper.OPTIONS_BACKGROUND_TEXTURE);
RenderSystem.color4f(1.0F, 1.0F, 1.0F, 1.0F);
bufferBuilder.begin(7, VertexFormats.POSITION_TEXTURE_COLOR);
bufferBuilder.vertex(left, bottom, 0.0D)
@ -420,7 +420,7 @@ public abstract class ListWidget extends AbstractParentElement
Tessellator tessellator = Tessellator.getInstance();
BufferBuilder bufferBuilder = tessellator.getBuffer();
client.getTextureManager()
.bindTexture(DrawableHelper.BACKGROUND_TEXTURE);
.bindTexture(DrawableHelper.OPTIONS_BACKGROUND_TEXTURE);
RenderSystem.color4f(1.0F, 1.0F, 1.0F, 1.0F);
bufferBuilder.begin(7, VertexFormats.POSITION_TEXTURE_COLOR);
bufferBuilder.vertex(left, bottom, 0.0D).texture(0.0F, bottom / 32.0F)