{"action":"created","issue":{"url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/2577","repository_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge","labels_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/2577/labels{/name}","comments_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/2577/comments","events_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/2577/events","html_url":"https://github.com/MinecraftForge/MinecraftForge/issues/2577","id":142025660,"number":2577,"title":"[1.8.9/1.9] The Capability of TileEntity","user":{"login":"ci010","id":8425057,"avatar_url":"https://avatars.githubusercontent.com/u/8425057?v=3","gravatar_id":"","url":"https://api.github.com/users/ci010","html_url":"https://github.com/ci010","followers_url":"https://api.github.com/users/ci010/followers","following_url":"https://api.github.com/users/ci010/following{/other_user}","gists_url":"https://api.github.com/users/ci010/gists{/gist_id}","starred_url":"https://api.github.com/users/ci010/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ci010/subscriptions","organizations_url":"https://api.github.com/users/ci010/orgs","repos_url":"https://api.github.com/users/ci010/repos","events_url":"https://api.github.com/users/ci010/events{/privacy}","received_events_url":"https://api.github.com/users/ci010/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-19T04:29:03Z","updated_at":"2016-03-19T04:39:05Z","closed_at":null,"body":"` public TileEntity() {`\r\n`      capabilities = net.minecraftforge.event.ForgeEventFactory.gatherCapabilities(this);`\r\n` }`\r\nSince TileEntity doesn't have any init method(and the field of capabilities is private),\r\nif I want to inject another `ICapabilityProvider` to a type of TileEntity which is writen by myself, and the delegate of `ICapabilityProvider` will be passed by the parameter of constructor, the event just cannot approach this delegate....."},"comment":{"url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/comments/198632256","html_url":"https://github.com/MinecraftForge/MinecraftForge/issues/2577#issuecomment-198632256","issue_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/2577","id":198632256,"user":{"login":"williewillus","id":2015032,"avatar_url":"https://avatars.githubusercontent.com/u/2015032?v=3","gravatar_id":"","url":"https://api.github.com/users/williewillus","html_url":"https://github.com/williewillus","followers_url":"https://api.github.com/users/williewillus/followers","following_url":"https://api.github.com/users/williewillus/following{/other_user}","gists_url":"https://api.github.com/users/williewillus/gists{/gist_id}","starred_url":"https://api.github.com/users/williewillus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/williewillus/subscriptions","organizations_url":"https://api.github.com/users/williewillus/orgs","repos_url":"https://api.github.com/users/williewillus/repos","events_url":"https://api.github.com/users/williewillus/events{/privacy}","received_events_url":"https://api.github.com/users/williewillus/received_events","type":"User","site_admin":false},"created_at":"2016-03-19T04:39:05Z","updated_at":"2016-03-19T04:39:05Z","body":"Use AttachCapabilityEvent"}}