2025-11-24 22:52:51 +03:00

19 lines
492 B
Java

/*
* Decompiled with CFR 0.152.
*/
package net.minecraft.gizmos;
import net.minecraft.gizmos.Gizmo;
import net.minecraft.gizmos.GizmoPrimitives;
import net.minecraft.util.ARGB;
import net.minecraft.world.phys.Vec3;
public record PointGizmo(Vec3 pos, int color, float size) implements Gizmo
{
@Override
public void emit(GizmoPrimitives primitives, float alphaMultiplier) {
primitives.addPoint(this.pos, ARGB.multiplyAlpha(this.color, alphaMultiplier), this.size);
}
}