1.16.2-rc1

This commit is contained in:
modmuss50 2020-08-07 21:51:48 +01:00
parent cfd9c7f10c
commit 6e001dd9cc
6 changed files with 11 additions and 11 deletions

View file

@ -73,12 +73,12 @@ configurations.all {
}
dependencies {
minecraft "com.mojang:minecraft:1.16.2-pre1"
mappings "net.fabricmc:yarn:1.16.2-pre1+build.13:v2"
modImplementation "net.fabricmc:fabric-loader:0.9.0+build.204"
minecraft "com.mojang:minecraft:1.16.2-rc1"
mappings "net.fabricmc:yarn:1.16.2-rc1+build.4:v2"
modImplementation "net.fabricmc:fabric-loader:0.9.1+build.205"
//Fabric api
modImplementation "net.fabricmc.fabric-api:fabric-api:0.16.1+build.387-1.16"
modImplementation "net.fabricmc.fabric-api:fabric-api:0.17.0+build.393-1.16"
disabledOptionalDependency ("me.shedaniel:RoughlyEnoughItems:4.10.2")
disabledOptionalDependency ('io.github.cottonmc:LibCD:2.4.1+1.15.2')

View file

@ -81,7 +81,7 @@ public class LightningRodBlockEntity extends PowerAcceptorBlockEntity implements
}
LightningEntity lightningBolt = EntityType.LIGHTNING_BOLT.create(world);
lightningBolt.method_29495(Vec3d.ofBottomCenter(world.getTopPosition(Heightmap.Type.MOTION_BLOCKING, getPos())));
lightningBolt.refreshPositionAfterTeleport(Vec3d.ofBottomCenter(world.getTopPosition(Heightmap.Type.MOTION_BLOCKING, getPos())));
if (!world.isClient) {
world.spawnEntity(lightningBolt);

View file

@ -74,7 +74,7 @@ public class GuiGreenhouseController extends GuiBase<BuiltScreenHandler> {
.collect(Collectors.toList());
matrixStack.push();
method_30901(matrixStack, list, mouseX, mouseY);
renderTooltip(matrixStack, list, mouseX, mouseY);
matrixStack.pop();
}
}
@ -97,7 +97,7 @@ public class GuiGreenhouseController extends GuiBase<BuiltScreenHandler> {
.collect(Collectors.toList());
RenderSystem.pushMatrix();
method_30901(matrixStack, list, mouseX - getGuiLeft(), mouseY - getGuiTop());
renderTooltip(matrixStack, list, mouseX - getGuiLeft(), mouseY - getGuiTop());
RenderSystem.popMatrix();
}
}

View file

@ -93,7 +93,7 @@ public class GuiIronFurnace extends GuiBase<BuiltScreenHandler> {
List<Text> list = new ArrayList<>();
list.add(new LiteralText(message));
method_30901(matrixStack, list, mouseX, mouseY);
renderTooltip(matrixStack, list, mouseX, mouseY);
GlStateManager.disableLighting();
GlStateManager.color4f(1, 1, 1, 1);

View file

@ -42,8 +42,8 @@ public class FurnaceFuelSlot extends BaseSlot {
}
@Override
public int getMaxStackAmount(ItemStack stack) {
return isBucket(stack) ? 1 : super.getMaxStackAmount(stack);
public int getMaxItemCount(ItemStack stack) {
return isBucket(stack) ? 1 : super.getMaxItemCount(stack);
}
public static boolean isBucket(ItemStack stack) {

View file

@ -27,11 +27,11 @@ package techreborn.items;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.client.item.TooltipContext;
import net.minecraft.datafixer.NbtOps;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.item.ItemUsageContext;
import net.minecraft.nbt.NbtOps;
import net.minecraft.text.LiteralText;
import net.minecraft.text.Text;
import net.minecraft.text.TranslatableText;