src/main/java/baunilla/earthtojava/client/render/FluidRendering.java
/**
                     * Get the sprites from the block atlas when resources are reloaded
                     */
Get the sprites from the block atlas when resources are reloaded
Get the sprites from the block atlas when resources are reloaded
@Override
                    public void apply(ResourceManager resourceManager) {
                        final Function<Identifier, Sprite> atlas = MinecraftClient.getInstance()
                                .getSpriteAtlas(SpriteAtlasTexture.BLOCK_ATLAS_TEX);
                        fluidSprites[0] = atlas.apply(stillSpriteId);
                        fluidSprites[1] = atlas.apply(flowingSpriteId);
                    }
@ Override public void apply ( ResourceManager resourceManager ) { final Function < Identifier , Sprite > atlas = MinecraftClient . getInstance ( ) . getSpriteAtlas ( SpriteAtlasTexture . BLOCK_ATLAS_TEX ) ; fluidSprites [ 0 ] = atlas . apply ( stillSpriteId ) ; fluidSprites [ 1 ] = atlas . apply ( flowingSpriteId ) ; }
Get the sprites from the block atlas when resources are reloaded
Get the sprites from the block atlas when resources are reloaded