Skip to content

Entity#setNoPhysics and Entity#hasPhysics #10331

@TheLimeGlass

Description

@TheLimeGlass

Is your feature request related to a problem?

No, but AbstractArrow#hasNoPhysics and AbstractArrow#setNoPhysics exists, when the Minecraft vanilla boolean field net.minecraft.world.entity.Entity#noPhysics can be changed.

Describe the solution you'd like.

Entity#setNoPhysics and Entity#hasPhysics as net.minecraft.world.entity.Entity#noPhysics can be changed. See provided video

out.mp4

Describe alternatives you've considered.

Reflection to set the boolean

Other

This is helpful when I change the iron golem texture to be custom, and want the iron golem to fly around, disregarding blocks. Using iron golem over armor stand to disregard EulerAngle and use yaw and pitch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: featureRequest for a new Feature.
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions