CustomiesDevs / Customies

A PocketMine-MP plugin that implements support for custom blocks, items and entities.
MIT License
112 stars 52 forks source link

BlockIdentifier Not Passed by CustomiesBlockFactory Class #84

Closed markeev closed 1 year ago

markeev commented 1 year ago

Description: The CustomiesBlockFactory class seems to not be passing the BlockIdentifier. This identifier is required for the creation of a Block class object.

Expected behavior: I expected the CustomiesBlockFactory to pass the BlockIdentifier necessary for creating a Block object.

Actual behavior: The BlockIdentifier is not being passed by the CustomiesBlockFactory class.

How can we use this now? The information on this topic in the wiki is outdated.

unickorn commented 1 year ago

What version of Customies are you using, PM4 or PM5?

markeev commented 1 year ago

pm 5, last

TwistedAsylumMC commented 1 year ago

You provide a callable that returns a Block, Customies does not need to do anything related to BlockIdentifier. You are correct in saying the wiki is outdated, I will fix it eventually but instead of using the ID that was previously provided, you need to create a type id which you can see an example of here

markeev commented 1 year ago

In the example you provided, it's unclear how to add textures to the block and set other important parameters. Should we expect an official wiki in the near future?

TwistedAsylumMC commented 1 year ago

This is an official wiki? Customies is not designed to be used by people with no knowledge of reading or PocketMine