Fixed most compiletime errors
This commit is contained in:
parent
e232184b68
commit
a974fab707
58 changed files with 449 additions and 679 deletions
|
@ -42,7 +42,7 @@ public class ParticleTenaneaPetal extends TextureSheetParticle {
|
|||
CustomColorProvider block = (CustomColorProvider) EndBlocks.TENANEA_FLOWERS;
|
||||
provider = block.getProvider();
|
||||
}
|
||||
int color = provider.getColor(null, null, new BlockPos(x, y, z), 0);
|
||||
int color = provider.getColor(null, null, new BlockPos((int) x, (int) y, (int) z), 0);
|
||||
this.rCol = ((color >> 16) & 255) / 255F;
|
||||
this.gCol = ((color >> 8) & 255) / 255F;
|
||||
this.bCol = ((color) & 255) / 255F;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue