Back to mods
GlassJS project artwork

CurseForge · Minecraft mod

GlassJS

KubeJS Forge addon that adds panes, bars, and variants that support inside face culling when touching other blocks from the same builder (Also supports full glass).

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which GlassJS release should I use?

Updated 1 year ago
Latest stable file Release 1.1.1
Game version 1.20.1
Loader Forge

GlassJS Release 1.1.1 targets 1.20.1 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. All 3 required mods have matching files.

Where it goes

Is GlassJS required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does GlassJS Release 1.1.1 need?

Release 1.1.1. Change the file and its required mods may change too.

All 3 required mods have matching files

Install KubeJS, Rhino, Architectury API first. We found matching files for this game-version and loader setup. 2 come through another mod in the chain.

1 listed on this file 2 pulled in by those mods
KubeJS Needed by GlassJS Release 1.1.1
required
Matching file found Matched file: KubeJS Forge 2001.6.5-build.26
Rhino Needed by KubeJS
pulled in
Matching file found Matched file: Rhino Forge 2001.2.3-build.10
Architectury API Needed by KubeJS
pulled in
Matching file found Matched file: [Forge 1.20(.1)] v9.2.14

2 extra mods were pulled in by other dependencies. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add GlassJS without breaking your instance.

Built for GlassJS Release 1.1.1. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use Release 1.1.1. It targets 1.20.1 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install KubeJS, Rhino, Architectury API first. We found matching files for this game-version and loader setup. 2 come through another mod in the chain.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside Release 1.1.1. It opens that exact file at the source.

About this project

What does GlassJS add?

GlassJS

Kubes Forge addon that adds panes, and variants that are more compatible with CTM. Specifically, it was built for "kubejs-forge:2001.6.5-build.16", it probably works on basically any build past that but that's the one I'm working off of.

This addon adds five block builders: Panes/Connective Panes, Bars/Connective Bars, and Connective Glass

Connective variants cull inside faces between other blocks of the same parent builder, so mixing glass will make one seamless whole without visible geometry on the inside.

There are differences between how vanilla handles these and how this addon handles them, in that both panes and bars now require a cross-shaped "top" texture, as opposed to only panes needing a top texture, and a line at that. This is due to me being lazy and not wanting to figure out how to rotate assets, or make KubeJS handle it since the texture is duct-taped together as-is.

Variant Tags - pane c_pane bars c_bars c_glass

IMPORTANT

To make textures work properly on panes/bars, you HAVE to use .textureAll("id:path/to/texture"), kubeJS handles textures in a weird way and this is the first fix I found. Additionally, your top texture must have the suffix "_top" (ex. glasspane_top.png), as the builder only looks for that specific one. If I feel like it, I'll make it fall back to the main texture at some point later.

Project description from CurseForge.

Pick your setup

GlassJS by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

GlassJS versions and loaders

2 of 2 releases match

Looking for an older file? The official CurseForge project page is in Resources.