本文整理汇总了Java中net.minecraft.util.Icon.func_94207_b方法的典型用法代码示例。如果您正苦于以下问题:Java Icon.func_94207_b方法的具体用法?Java Icon.func_94207_b怎么用?Java Icon.func_94207_b使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类net.minecraft.util.Icon
的用法示例。
在下文中一共展示了Icon.func_94207_b方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: func_78591_a
import net.minecraft.util.Icon; //导入方法依赖的package包/类
public void func_78591_a(double p_78591_1_, double p_78591_3_, double p_78591_5_, double p_78591_7_, double p_78591_9_, double p_78591_11_, float p_78591_13_, double p_78591_14_) {
Icon var16 = BlockPistonBase.func_94496_b("piston_side");
if(this.func_94167_b()) {
var16 = this.field_78664_d;
}
Tessellator var17 = Tessellator.field_78398_a;
double var18 = (double)var16.func_94209_e();
double var20 = (double)var16.func_94206_g();
double var22 = (double)var16.func_94214_a(p_78591_14_);
double var24 = (double)var16.func_94207_b(4.0D);
var17.func_78386_a(p_78591_13_, p_78591_13_, p_78591_13_);
var17.func_78374_a(p_78591_1_, p_78591_7_, p_78591_9_, var22, var20);
var17.func_78374_a(p_78591_1_, p_78591_5_, p_78591_9_, var18, var20);
var17.func_78374_a(p_78591_3_, p_78591_5_, p_78591_11_, var18, var24);
var17.func_78374_a(p_78591_3_, p_78591_7_, p_78591_11_, var22, var24);
}
示例2: func_78607_b
import net.minecraft.util.Icon; //导入方法依赖的package包/类
public void func_78607_b(double p_78607_1_, double p_78607_3_, double p_78607_5_, double p_78607_7_, double p_78607_9_, double p_78607_11_, float p_78607_13_, double p_78607_14_) {
Icon var16 = BlockPistonBase.func_94496_b("piston_side");
if(this.func_94167_b()) {
var16 = this.field_78664_d;
}
Tessellator var17 = Tessellator.field_78398_a;
double var18 = (double)var16.func_94209_e();
double var20 = (double)var16.func_94206_g();
double var22 = (double)var16.func_94214_a(p_78607_14_);
double var24 = (double)var16.func_94207_b(4.0D);
var17.func_78386_a(p_78607_13_, p_78607_13_, p_78607_13_);
var17.func_78374_a(p_78607_1_, p_78607_5_, p_78607_11_, var22, var20);
var17.func_78374_a(p_78607_1_, p_78607_5_, p_78607_9_, var18, var20);
var17.func_78374_a(p_78607_3_, p_78607_7_, p_78607_9_, var18, var24);
var17.func_78374_a(p_78607_3_, p_78607_7_, p_78607_11_, var22, var24);
}
示例3: func_78571_c
import net.minecraft.util.Icon; //导入方法依赖的package包/类
public void func_78571_c(double p_78571_1_, double p_78571_3_, double p_78571_5_, double p_78571_7_, double p_78571_9_, double p_78571_11_, float p_78571_13_, double p_78571_14_) {
Icon var16 = BlockPistonBase.func_94496_b("piston_side");
if(this.func_94167_b()) {
var16 = this.field_78664_d;
}
Tessellator var17 = Tessellator.field_78398_a;
double var18 = (double)var16.func_94209_e();
double var20 = (double)var16.func_94206_g();
double var22 = (double)var16.func_94214_a(p_78571_14_);
double var24 = (double)var16.func_94207_b(4.0D);
var17.func_78386_a(p_78571_13_, p_78571_13_, p_78571_13_);
var17.func_78374_a(p_78571_3_, p_78571_5_, p_78571_9_, var22, var20);
var17.func_78374_a(p_78571_1_, p_78571_5_, p_78571_9_, var18, var20);
var17.func_78374_a(p_78571_1_, p_78571_7_, p_78571_11_, var18, var24);
var17.func_78374_a(p_78571_3_, p_78571_7_, p_78571_11_, var22, var24);
}
示例4: func_78575_a
import net.minecraft.util.Icon; //导入方法依赖的package包/类
public void func_78575_a(Block p_78575_1_, int p_78575_2_, double p_78575_3_, double p_78575_5_, double p_78575_7_, double p_78575_9_) {
Tessellator var11 = Tessellator.field_78398_a;
Icon var12 = this.func_94165_a(p_78575_1_, 0, p_78575_2_);
if(this.func_94167_b()) {
var12 = this.field_78664_d;
}
double var13 = (double)var12.func_94209_e();
double var15 = (double)var12.func_94206_g();
double var17 = (double)var12.func_94212_f();
double var19 = (double)var12.func_94207_b(p_78575_3_ * 16.0D);
double var21 = p_78575_5_ + 0.5D - 0.44999998807907104D;
double var23 = p_78575_5_ + 0.5D + 0.44999998807907104D;
double var25 = p_78575_9_ + 0.5D - 0.44999998807907104D;
double var27 = p_78575_9_ + 0.5D + 0.44999998807907104D;
var11.func_78374_a(var21, p_78575_7_ + p_78575_3_, var25, var13, var15);
var11.func_78374_a(var21, p_78575_7_ + 0.0D, var25, var13, var19);
var11.func_78374_a(var23, p_78575_7_ + 0.0D, var27, var17, var19);
var11.func_78374_a(var23, p_78575_7_ + p_78575_3_, var27, var17, var15);
var11.func_78374_a(var23, p_78575_7_ + p_78575_3_, var27, var13, var15);
var11.func_78374_a(var23, p_78575_7_ + 0.0D, var27, var13, var19);
var11.func_78374_a(var21, p_78575_7_ + 0.0D, var25, var17, var19);
var11.func_78374_a(var21, p_78575_7_ + p_78575_3_, var25, var17, var15);
var11.func_78374_a(var21, p_78575_7_ + p_78575_3_, var27, var13, var15);
var11.func_78374_a(var21, p_78575_7_ + 0.0D, var27, var13, var19);
var11.func_78374_a(var23, p_78575_7_ + 0.0D, var25, var17, var19);
var11.func_78374_a(var23, p_78575_7_ + p_78575_3_, var25, var17, var15);
var11.func_78374_a(var23, p_78575_7_ + p_78575_3_, var25, var13, var15);
var11.func_78374_a(var23, p_78575_7_ + 0.0D, var25, var13, var19);
var11.func_78374_a(var21, p_78575_7_ + 0.0D, var27, var17, var19);
var11.func_78374_a(var21, p_78575_7_ + p_78575_3_, var27, var17, var15);
}
示例5: func_78610_x
import net.minecraft.util.Icon; //导入方法依赖的package包/类
public boolean func_78610_x(BlockRedstoneRepeater p_78610_1_, int p_78610_2_, int p_78610_3_, int p_78610_4_) {
int var5 = this.field_78669_a.func_72805_g(p_78610_2_, p_78610_3_, p_78610_4_);
int var6 = var5 & 3;
int var7 = (var5 & 12) >> 2;
Tessellator var8 = Tessellator.field_78398_a;
var8.func_78380_c(p_78610_1_.func_71874_e(this.field_78669_a, p_78610_2_, p_78610_3_, p_78610_4_));
var8.func_78386_a(1.0F, 1.0F, 1.0F);
double var9 = -0.1875D;
boolean var11 = p_78610_1_.func_94476_e(this.field_78669_a, p_78610_2_, p_78610_3_, p_78610_4_, var5);
double var12 = 0.0D;
double var14 = 0.0D;
double var16 = 0.0D;
double var18 = 0.0D;
switch(var6) {
case 0:
var18 = -0.3125D;
var14 = BlockRedstoneRepeater.field_72223_a[var7];
break;
case 1:
var16 = 0.3125D;
var12 = -BlockRedstoneRepeater.field_72223_a[var7];
break;
case 2:
var18 = 0.3125D;
var14 = -BlockRedstoneRepeater.field_72223_a[var7];
break;
case 3:
var16 = -0.3125D;
var12 = BlockRedstoneRepeater.field_72223_a[var7];
}
if(!var11) {
this.func_78623_a(p_78610_1_, (double)p_78610_2_ + var12, (double)p_78610_3_ + var9, (double)p_78610_4_ + var14, 0.0D, 0.0D, 0);
} else {
Icon var20 = this.func_94175_b(Block.field_71986_z);
this.func_82774_a(var20);
float var21 = 2.0F;
float var22 = 14.0F;
float var23 = 7.0F;
float var24 = 9.0F;
switch(var6) {
case 1:
case 3:
var21 = 7.0F;
var22 = 9.0F;
var23 = 2.0F;
var24 = 14.0F;
case 0:
case 2:
default:
this.func_83020_a((double)(var21 / 16.0F + (float)var12), 0.125D, (double)(var23 / 16.0F + (float)var14), (double)(var22 / 16.0F + (float)var12), 0.25D, (double)(var24 / 16.0F + (float)var14));
double var25 = (double)var20.func_94214_a((double)var21);
double var27 = (double)var20.func_94207_b((double)var23);
double var29 = (double)var20.func_94214_a((double)var22);
double var31 = (double)var20.func_94207_b((double)var24);
var8.func_78374_a((double)((float)p_78610_2_ + var21 / 16.0F) + var12, (double)((float)p_78610_3_ + 0.25F), (double)((float)p_78610_4_ + var23 / 16.0F) + var14, var25, var27);
var8.func_78374_a((double)((float)p_78610_2_ + var21 / 16.0F) + var12, (double)((float)p_78610_3_ + 0.25F), (double)((float)p_78610_4_ + var24 / 16.0F) + var14, var25, var31);
var8.func_78374_a((double)((float)p_78610_2_ + var22 / 16.0F) + var12, (double)((float)p_78610_3_ + 0.25F), (double)((float)p_78610_4_ + var24 / 16.0F) + var14, var29, var31);
var8.func_78374_a((double)((float)p_78610_2_ + var22 / 16.0F) + var12, (double)((float)p_78610_3_ + 0.25F), (double)((float)p_78610_4_ + var23 / 16.0F) + var14, var29, var27);
this.func_78570_q(p_78610_1_, p_78610_2_, p_78610_3_, p_78610_4_);
this.func_83020_a(0.0D, 0.0D, 0.0D, 1.0D, 0.125D, 1.0D);
this.func_78595_a();
}
}
var8.func_78380_c(p_78610_1_.func_71874_e(this.field_78669_a, p_78610_2_, p_78610_3_, p_78610_4_));
var8.func_78386_a(1.0F, 1.0F, 1.0F);
this.func_78623_a(p_78610_1_, (double)p_78610_2_ + var16, (double)p_78610_3_ + var9, (double)p_78610_4_ + var18, 0.0D, 0.0D, 0);
this.func_94176_a(p_78610_1_, p_78610_2_, p_78610_3_, p_78610_4_);
return true;
}
示例6: func_78623_a
import net.minecraft.util.Icon; //导入方法依赖的package包/类
public void func_78623_a(Block p_78623_1_, double p_78623_2_, double p_78623_4_, double p_78623_6_, double p_78623_8_, double p_78623_10_, int p_78623_12_) {
Tessellator var13 = Tessellator.field_78398_a;
Icon var14 = this.func_94165_a(p_78623_1_, 0, p_78623_12_);
if(this.func_94167_b()) {
var14 = this.field_78664_d;
}
double var15 = (double)var14.func_94209_e();
double var17 = (double)var14.func_94206_g();
double var19 = (double)var14.func_94212_f();
double var21 = (double)var14.func_94210_h();
double var23 = (double)var14.func_94214_a(7.0D);
double var25 = (double)var14.func_94207_b(6.0D);
double var27 = (double)var14.func_94214_a(9.0D);
double var29 = (double)var14.func_94207_b(8.0D);
double var31 = (double)var14.func_94214_a(7.0D);
double var33 = (double)var14.func_94207_b(13.0D);
double var35 = (double)var14.func_94214_a(9.0D);
double var37 = (double)var14.func_94207_b(15.0D);
p_78623_2_ += 0.5D;
p_78623_6_ += 0.5D;
double var39 = p_78623_2_ - 0.5D;
double var41 = p_78623_2_ + 0.5D;
double var43 = p_78623_6_ - 0.5D;
double var45 = p_78623_6_ + 0.5D;
double var47 = 0.0625D;
double var49 = 0.625D;
var13.func_78374_a(p_78623_2_ + p_78623_8_ * (1.0D - var49) - var47, p_78623_4_ + var49, p_78623_6_ + p_78623_10_ * (1.0D - var49) - var47, var23, var25);
var13.func_78374_a(p_78623_2_ + p_78623_8_ * (1.0D - var49) - var47, p_78623_4_ + var49, p_78623_6_ + p_78623_10_ * (1.0D - var49) + var47, var23, var29);
var13.func_78374_a(p_78623_2_ + p_78623_8_ * (1.0D - var49) + var47, p_78623_4_ + var49, p_78623_6_ + p_78623_10_ * (1.0D - var49) + var47, var27, var29);
var13.func_78374_a(p_78623_2_ + p_78623_8_ * (1.0D - var49) + var47, p_78623_4_ + var49, p_78623_6_ + p_78623_10_ * (1.0D - var49) - var47, var27, var25);
var13.func_78374_a(p_78623_2_ + var47 + p_78623_8_, p_78623_4_, p_78623_6_ - var47 + p_78623_10_, var35, var33);
var13.func_78374_a(p_78623_2_ + var47 + p_78623_8_, p_78623_4_, p_78623_6_ + var47 + p_78623_10_, var35, var37);
var13.func_78374_a(p_78623_2_ - var47 + p_78623_8_, p_78623_4_, p_78623_6_ + var47 + p_78623_10_, var31, var37);
var13.func_78374_a(p_78623_2_ - var47 + p_78623_8_, p_78623_4_, p_78623_6_ - var47 + p_78623_10_, var31, var33);
var13.func_78374_a(p_78623_2_ - var47, p_78623_4_ + 1.0D, var43, var15, var17);
var13.func_78374_a(p_78623_2_ - var47 + p_78623_8_, p_78623_4_ + 0.0D, var43 + p_78623_10_, var15, var21);
var13.func_78374_a(p_78623_2_ - var47 + p_78623_8_, p_78623_4_ + 0.0D, var45 + p_78623_10_, var19, var21);
var13.func_78374_a(p_78623_2_ - var47, p_78623_4_ + 1.0D, var45, var19, var17);
var13.func_78374_a(p_78623_2_ + var47, p_78623_4_ + 1.0D, var45, var15, var17);
var13.func_78374_a(p_78623_2_ + p_78623_8_ + var47, p_78623_4_ + 0.0D, var45 + p_78623_10_, var15, var21);
var13.func_78374_a(p_78623_2_ + p_78623_8_ + var47, p_78623_4_ + 0.0D, var43 + p_78623_10_, var19, var21);
var13.func_78374_a(p_78623_2_ + var47, p_78623_4_ + 1.0D, var43, var19, var17);
var13.func_78374_a(var39, p_78623_4_ + 1.0D, p_78623_6_ + var47, var15, var17);
var13.func_78374_a(var39 + p_78623_8_, p_78623_4_ + 0.0D, p_78623_6_ + var47 + p_78623_10_, var15, var21);
var13.func_78374_a(var41 + p_78623_8_, p_78623_4_ + 0.0D, p_78623_6_ + var47 + p_78623_10_, var19, var21);
var13.func_78374_a(var41, p_78623_4_ + 1.0D, p_78623_6_ + var47, var19, var17);
var13.func_78374_a(var41, p_78623_4_ + 1.0D, p_78623_6_ - var47, var15, var17);
var13.func_78374_a(var41 + p_78623_8_, p_78623_4_ + 0.0D, p_78623_6_ - var47 + p_78623_10_, var15, var21);
var13.func_78374_a(var39 + p_78623_8_, p_78623_4_ + 0.0D, p_78623_6_ - var47 + p_78623_10_, var19, var21);
var13.func_78374_a(var39, p_78623_4_ + 1.0D, p_78623_6_ - var47, var19, var17);
}