{"action":"created","issue":{"url":"https://api.github.com/repos/BuildCraft/BuildCraft/issues/3167","labels_url":"https://api.github.com/repos/BuildCraft/BuildCraft/issues/3167/labels{/name}","comments_url":"https://api.github.com/repos/BuildCraft/BuildCraft/issues/3167/comments","events_url":"https://api.github.com/repos/BuildCraft/BuildCraft/issues/3167/events","html_url":"https://github.com/BuildCraft/BuildCraft/issues/3167","id":123190489,"number":3167,"title":"Incompatibility with Sponge","user":{"login":"gabizou","id":1203877,"avatar_url":"https://avatars.githubusercontent.com/u/1203877?v=3","gravatar_id":"","url":"https://api.github.com/users/gabizou","html_url":"https://github.com/gabizou","followers_url":"https://api.github.com/users/gabizou/followers","following_url":"https://api.github.com/users/gabizou/following{/other_user}","gists_url":"https://api.github.com/users/gabizou/gists{/gist_id}","starred_url":"https://api.github.com/users/gabizou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabizou/subscriptions","organizations_url":"https://api.github.com/users/gabizou/orgs","repos_url":"https://api.github.com/users/gabizou/repos","events_url":"https://api.github.com/users/gabizou/events{/privacy}","received_events_url":"https://api.github.com/users/gabizou/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-12-20T23:49:15Z","updated_at":"2015-12-23T20:42:01Z","closed_at":"2015-12-21T00:10:05Z","body":"Currently, SpongeAPI provides an exposed API for working with `IProperty` instances, but only if those instances are extending `PropertyHolder`. While granted, our implementation is still a WIP, by not even extending `PropertyHolder`, we effectively can't cast or utilize/expose the `BuildCraftProperty` as a `BlockTrait`.\r\n\r\nTo clarify: SpongeAPI provides an interface [`BlockTrait`](https://github.com/SpongePowered/SpongeAPI/blob/master/src/main/java/org/spongepowered/api/block/trait/BlockTrait.java) that we partially mixin at runtime with [`MixinPropertyHelper`](https://github.com/SpongePowered/SpongeCommon/blob/master/src/main/java/org/spongepowered/common/mixin/core/block/properties/MixinPropertyHelper.java), but while [Mixin](https://github.com/SpongePowered/Mixin) has been heavily developed, there are certain cases where we can't mixin to `interface`s, such as `IProperty`, and by extension, `BuildCraftProperty`.\r\n\r\nThe workaround fix for compatibility currently until @Mumfrey can make an addition to Mixins in general, would be to properly extend `PropertyHelper`."},"comment":{"url":"https://api.github.com/repos/BuildCraft/BuildCraft/issues/comments/166986723","html_url":"https://github.com/BuildCraft/BuildCraft/issues/3167#issuecomment-166986723","issue_url":"https://api.github.com/repos/BuildCraft/BuildCraft/issues/3167","id":166986723,"user":{"login":"AlexIIL","id":3751138,"avatar_url":"https://avatars.githubusercontent.com/u/3751138?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexIIL","html_url":"https://github.com/AlexIIL","followers_url":"https://api.github.com/users/AlexIIL/followers","following_url":"https://api.github.com/users/AlexIIL/following{/other_user}","gists_url":"https://api.github.com/users/AlexIIL/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexIIL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexIIL/subscriptions","organizations_url":"https://api.github.com/users/AlexIIL/orgs","repos_url":"https://api.github.com/users/AlexIIL/repos","events_url":"https://api.github.com/users/AlexIIL/events{/privacy}","received_events_url":"https://api.github.com/users/AlexIIL/received_events","type":"User","site_admin":false},"created_at":"2015-12-23T20:42:00Z","updated_at":"2015-12-23T20:42:00Z","body":"Yes but it will take a little while to do so :)"}}