Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Fluid fluid = te.getCurrentRecipe().result().getFluid();
- TextureAtlasSprite f_s = Minecraft.getMinecraft().getTextureMapBlocks().getAtlasSprite(fluid.getStill().toString());
- TextureAtlasSprite f_f = Minecraft.getMinecraft().getTextureMapBlocks().getAtlasSprite(fluid.getFlowing().toString());
- int c = fluid.getColor();
- float red = ((float) (c&0xFF)) / 255;
- float green = ((float) (c >> 8)&0xFF) / 255;
- float blue = ((float) (c >> 16)&0xFF) / 255;
- float alpha = ((float) (c >> 24)&0xFF) / 255;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement