mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-20 20:22:33 +00:00
More cleanup
This commit is contained in:
1 parent
81e5615ab4
commit
4a8661bcac
8 files changed
+6
-11
No files matched your search
@@ -154,7 +154,6 @@ public class TileEntitySpecialFlower extends TileEntity implements ITickableTile
|
||||
|
||||
protected void tickFlower() {
|
||||
ticksExisted++;
|
||||
// todo 1.14 this isn't being markDirtied, but do we even want to keep this field around?
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -29,7 +29,7 @@ public final class TooltipAdditionDisplayHandler {
|
||||
if (evt.getStack().isEmpty()) {
|
||||
return;
|
||||
}
|
||||
MatrixStack ms = new MatrixStack(); // todo 1.16 get from event?
|
||||
MatrixStack ms = evt.getMatrixStack();
|
||||
|
||||
ItemStack stack = evt.getStack();
|
||||
int width = evt.getWidth();
|
||||
|
||||
+1
-4
@@ -6,16 +6,13 @@
|
||||
* Botania is Open Source and distributed under the
|
||||
* Botania License: http://botaniamod.net/license.php
|
||||
*/
|
||||
package vazkii.botania.api.item;
|
||||
package vazkii.botania.client.core.helper;
|
||||
|
||||
import com.mojang.blaze3d.matrix.MatrixStack;
|
||||
|
||||
import net.minecraft.entity.LivingEntity;
|
||||
import net.minecraft.util.math.vector.Vector3f;
|
||||
|
||||
/**
|
||||
* A few helper methods for the render.
|
||||
*/
|
||||
public final class AccessoryRenderHelper {
|
||||
|
||||
/**
|
||||
@@ -124,7 +124,6 @@ public final class RenderHelper {
|
||||
.target(itemTarget)
|
||||
.alpha(new RenderState.AlphaState(0.05F))
|
||||
.lightmap(enableLightmap).build(true);
|
||||
// todo 1.15: need normals?
|
||||
SPARK = RenderType.makeType(LibResources.PREFIX_MOD + "spark", DefaultVertexFormats.POSITION_COLOR_TEX_LIGHTMAP, GL11.GL_QUADS, 256, glState);
|
||||
RenderType lightRelay = RenderType.makeType(LibResources.PREFIX_MOD + "light_relay", DefaultVertexFormats.POSITION_COLOR_TEX_LIGHTMAP, GL11.GL_QUADS, 64, glState);
|
||||
LIGHT_RELAY = useShaders ? new ShaderWrappedRenderLayer(ShaderHelper.BotaniaShader.HALO, null, lightRelay) : lightRelay;
|
||||
|
||||
@@ -41,7 +41,7 @@ import net.minecraftforge.event.entity.player.PlayerEvent;
|
||||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import vazkii.botania.api.item.AccessoryRenderHelper;
|
||||
import vazkii.botania.client.core.helper.AccessoryRenderHelper;
|
||||
import vazkii.botania.api.mana.IManaUsingItem;
|
||||
import vazkii.botania.api.mana.ManaItemHandler;
|
||||
import vazkii.botania.client.core.handler.MiscellaneousIcons;
|
||||
|
||||
@@ -26,7 +26,7 @@ import net.minecraftforge.api.distmarker.OnlyIn;
|
||||
import net.minecraftforge.common.MinecraftForge;
|
||||
import net.minecraftforge.event.entity.living.LivingHurtEvent;
|
||||
|
||||
import vazkii.botania.api.item.AccessoryRenderHelper;
|
||||
import vazkii.botania.client.core.helper.AccessoryRenderHelper;
|
||||
import vazkii.botania.client.fx.SparkleParticleData;
|
||||
import vazkii.botania.client.lib.LibResources;
|
||||
import vazkii.botania.client.model.ModelCloak;
|
||||
|
||||
@@ -25,7 +25,7 @@ import net.minecraft.util.ResourceLocation;
|
||||
import net.minecraftforge.api.distmarker.Dist;
|
||||
import net.minecraftforge.api.distmarker.OnlyIn;
|
||||
|
||||
import vazkii.botania.api.item.AccessoryRenderHelper;
|
||||
import vazkii.botania.client.core.helper.AccessoryRenderHelper;
|
||||
import vazkii.botania.client.lib.LibResources;
|
||||
|
||||
public class ItemKnockbackBelt extends ItemBauble {
|
||||
|
||||
@@ -26,7 +26,7 @@ import net.minecraftforge.event.entity.living.LivingEvent.LivingJumpEvent;
|
||||
import net.minecraftforge.event.entity.living.LivingEvent.LivingUpdateEvent;
|
||||
import net.minecraftforge.event.entity.player.PlayerEvent;
|
||||
|
||||
import vazkii.botania.api.item.AccessoryRenderHelper;
|
||||
import vazkii.botania.client.core.helper.AccessoryRenderHelper;
|
||||
import vazkii.botania.api.mana.IManaUsingItem;
|
||||
import vazkii.botania.api.mana.ManaItemHandler;
|
||||
import vazkii.botania.client.lib.LibResources;
|
||||
|
||||
Reference in new issue
Block a user