Skip to content

No Hitbox (Marker) Flag - #5

Open
BisUmTo wants to merge 1 commit into
Fuzss:1.19.2from
BisUmTo:marker-flag
Open

No Hitbox (Marker) Flag#5
BisUmTo wants to merge 1 commit into
Fuzss:1.19.2from
BisUmTo:marker-flag

Conversation

@BisUmTo

@BisUmTo BisUmTo commented Nov 5, 2022

Copy link
Copy Markdown

Feature changes

Added a flag to remove the Hitbox from statue. (A.K.A. Marker NBT flag)

This allows to place blocks inside the statue, disable pistons pushing it, (also removing interagibility and gravity).

Dev info

To allow the interaction while sneaking, I redirected some "ProjectileUtil" static function used only during look-tracing.

I didn't test the forge version 😥

NonNullList<ItemStack> getHandItems();

@Invoker("getDimensionsMarker")
EntityDimensions getArmorstandDimensions(boolean marker);

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it is better to use the "call" prefix to be consistent... 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant