mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-16 18:44:45 +00:00
First 1.8.9 Version
This commit is contained in:
1 parent
d35cc1df09
commit
5a3850c264
1657 files changed
+26844
-13269
No files matched your search
@@ -12,10 +12,9 @@ package forestry.apiculture.render;
|
||||
|
||||
import net.minecraft.client.model.ModelBase;
|
||||
import net.minecraft.client.model.ModelRenderer;
|
||||
import net.minecraft.util.EnumFacing;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
|
||||
import net.minecraftforge.common.util.ForgeDirection;
|
||||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import forestry.core.proxy.Proxies;
|
||||
@@ -56,7 +55,7 @@ public class ModelAnalyzer extends ModelBase {
|
||||
|
||||
}
|
||||
|
||||
public void render(ForgeDirection orientation, float posX, float posY, float posZ) {
|
||||
public void render(EnumFacing orientation, float posX, float posY, float posZ) {
|
||||
|
||||
GL11.glPushMatrix();
|
||||
|
||||
@@ -64,7 +63,7 @@ public class ModelAnalyzer extends ModelBase {
|
||||
float[] angle = {0, 0, 0};
|
||||
|
||||
if (orientation == null) {
|
||||
orientation = ForgeDirection.WEST;
|
||||
orientation = EnumFacing.WEST;
|
||||
}
|
||||
switch (orientation) {
|
||||
case EAST:
|
||||
|
||||
Reference in new issue
Block a user