also why the FUCK does render function need random???
the slight transparency on the ropes looks like the best one for green highlights
Glad to see my ugly rope texture made it this far into the mod
:clueless:
For the random thingy, I don’t recall there being a need for it, but I have mostly used the “low level” vertex builder stuff so I don’t know
Maybe its for handling things like particles where it could need to have a random source? :thonk:
public void renderModel(PoseStack.Pose arg, VertexConsumer arg2, @Nullable BlockState arg3, BakedModel arg4, float f, float g, float h, int j, int k, IModelData modelData) {
Random random = new Random();
long i = 42L;
Direction[] var14 = DIRECTIONS;
int var15 = var14.length;
for(int var16 = 0; var16 < var15; ++var16) {
Direction direction = var14[var16];
random.setSeed(42L);
renderQuadList(arg, arg2, f, g, h, arg4.getQuads(arg3, direction, random, modelData), j, k);
}
random.setSeed(42L);
renderQuadList(arg, arg2, f, g, h, arg4.getQuads(arg3, (Direction)null, random, modelData), j, k);
}
```:clueless:
wait wdym change color, are all VMod constraints rendered as blocks? :thonk:
Also is the 42 a random value that you placed here or is it actually in MC’s code
They are the only person that posted in #about-vmod, that should give you an hint about who made it
:clueless:
This conversation is on Discord · Reply there
:clueless: