Skip to content

[Bug] setVisibleThroughObjects does not work with addColor #100

Description

@hohserg1

Describe the bug
Using addColor neutralizes effect of setVisibleThroughObjects(true)

In which environment did the Bug appear?
Singleplayer

To Reproduce
Steps to reproduce the behavior:

  1. Open lua repl
  2. execute c=component.glasses.addcube3D()
  3. execute `c.setVisibleThroughObjects(true)
  4. See cube through blocks
  5. execute c.addColor(1,0,0,0.5) --red, half transparent
  6. Do not see cube through blocks

Expected behavior
Cube must visible through blocks independent on color

Screenshots / Code Snippet
After step 3:
image
After step 5:
image

Minecraft:

  • Mod Version - OpenGlasses-MC1.12.2-2.2-53
  • Minecraft Version - 1.12.2
  • Forge Version - 14.23.5.2854

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions