Fix ender air bottle render, move to java 8, giant import cleanup

This commit is contained in:
Vincent Lee committed 2016-01-10 18:16:30 -06:00
1 parent 404d99445e
commit 84204db587
277 files changed
+249 -1068

No files matched your search

@@ -0,0 +1,32 @@
/**
* This class was created by <williewillus>. It's distributed as
* part of the Botania Mod. Get the Source Code in github:
* https://github.com/Vazkii/Botania
*
* Botania is Open Source and distributed under the
* Botania License: http://botaniamod.net/license.php
*/
package vazkii.botania.client.render.entity;
import net.minecraft.client.renderer.entity.RenderItem;
import net.minecraft.client.renderer.entity.RenderManager;
import net.minecraft.client.renderer.entity.RenderSnowball;
import net.minecraft.entity.Entity;
import net.minecraft.item.ItemStack;
// Same as RenderSnowball, but ItemStack sensitive
public class RenderSnowballStack<T extends Entity> extends RenderSnowball<T> {
private final ItemStack stack;
public RenderSnowballStack(RenderManager renderManagerIn, ItemStack stack, RenderItem render) {
super(renderManagerIn, stack.getItem(), render);
this.stack = stack;
}
@Override
public ItemStack func_177082_d(T entity) {
return stack;
}
}