Skip to content

[blocks] change access of more protected methods in Block#73

Open
Starexify wants to merge 1 commit into
OrnitheMC:gen2from
Starexify:block-access
Open

[blocks] change access of more protected methods in Block#73
Starexify wants to merge 1 commit into
OrnitheMC:gen2from
Starexify:block-access

Conversation

@Starexify

Copy link
Copy Markdown

This small PR changes the access modifiers of the following methods in Block to public:

  • Block (ctor/init)
  • Block.setShape
  • Block.disableStats

I was also thinking of doing it for other blocks that have their constructor private, such as Sponge, LiquidBlocks and items. But unsure if I should do it right now, I'd need some confirmation if that's needed/allowed.

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