getTessellator now uses GeometryTessellator
package com.matt.forgehax.events;
-import net.minecraft.client.renderer.Tessellator;
+import com.github.lunatrius.core.client.renderer.unique.GeometryTessellator;
import net.minecraft.client.renderer.BufferBuilder;
import net.minecraft.util.math.Vec3d;
import net.minecraftforge.fml.common.eventhandler.Event;
@@ -9,15 +9,15 @@ import net.minecraftforge.fml.common.eventhandler.Event;
* Created on 5/5/2017 by fr1kin
*/
public class RenderEvent extends Event {
- private final Tessellator tessellator;
+ private final GeometryTessellator tessellator;
private final Vec3d renderPos;
- public RenderEvent(Tessellator tessellator, Vec3d renderPos) {
+ public RenderEvent(GeometryTessellator tessellator, Vec3d renderPos) {
this.tessellator = tessellator;
this.renderPos = renderPos;
}
- public Tessellator getTessellator() {
+ public GeometryTessellator getTessellator() {
return tessellator;
}
