Skip to content

propeller bearing peripheral + blade controller: setBladeAngle() doesn't change SU cost or visually update the blade angle #337

@kijetesantakalu912345

Description

@kijetesantakalu912345

This issue occurs when only Valkyrien Skies and addons are installed and no other mods.

  • I have tested this issue and it occurs when no other mods are installed

Minecraft Version

  • 1.20.x
  • 1.21.x
  • Older (Unsupported)

Mod Loader

  • Forge
  • NeoForge
  • Fabric
  • Quilt

Expected Behavior

setBladeAngle() should change the propeller's SU cost and update the blades on the model to visually go to the angle that was set.

Actual Behavior

setBladeAngle() changes the thrust output like it should, but it doesn't change the SU cost accordingly and it doesn't update the angle of the blades visually on the model.

How to Reproduce

  1. place a computer and a brass propeller bearing and a blade controller and a stressometer. add some blades to the blade controller. add a creative motor and connect the computer to the brass propeller bearing via modems and a network cable.
  2. set the blade angle on the blade controller block to something like 90 degrees.
  3. using the stressometer, observe how with a program like this, setting the blade angle to anything but 90 degrees still uses the same stress as 90 degrees and how the blades still visually stay at 90 degrees. also note how the actual thrust output does correlate correctly with the blade angle set in the lua script.
prop = peripheral.wrap("cw_prop_bearing_X")
prop.assemble()
-- 0, 20, 45, whatever, it'll still use the same stress as 90 degrees and the blades won't
-- visually change their angle. thrust output is changed correctly.
prop.setBladeAngle(0)

Logs

https://mclo.gs/EE6y226

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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