{"action":"closed","issue":{"url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/4352","repository_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge","labels_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/4352/labels{/name}","comments_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/4352/comments","events_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/4352/events","html_url":"https://github.com/MinecraftForge/MinecraftForge/issues/4352","id":253167756,"number":4352,"title":"[Forge 1.12.1-14.22.0.2462] EntityRegistry#registerModEntity behaves weirdly when Entity is missing constructor","user":{"login":"zabi94","id":11521878,"avatar_url":"https://avatars1.githubusercontent.com/u/11521878?v=4","gravatar_id":"","url":"https://api.github.com/users/zabi94","html_url":"https://github.com/zabi94","followers_url":"https://api.github.com/users/zabi94/followers","following_url":"https://api.github.com/users/zabi94/following{/other_user}","gists_url":"https://api.github.com/users/zabi94/gists{/gist_id}","starred_url":"https://api.github.com/users/zabi94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zabi94/subscriptions","organizations_url":"https://api.github.com/users/zabi94/orgs","repos_url":"https://api.github.com/users/zabi94/repos","events_url":"https://api.github.com/users/zabi94/events{/privacy}","received_events_url":"https://api.github.com/users/zabi94/received_events","type":"User","site_admin":false},"labels":[{"id":507309489,"url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/labels/1.12","name":"1.12","color":"c5def5","default":false},{"id":305387937,"url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/labels/Bug","name":"Bug","color":"e11d21","default":false},{"id":710171507,"url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/labels/Stale","name":"Stale","color":"e99695","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-08-27T14:39:57Z","updated_at":"2018-03-13T06:34:59Z","closed_at":"2018-03-13T06:34:59Z","author_association":"NONE","body":"When an entity is missing the constructor that only has a `World` object as a parameter, any invocation of `EntityRegistry#registerModEntity` for that entity inside a preInit phase will make it jump right out of preInit, *without completing its execution*, instead of crashing gracefully with a message describing the issue or skipping the single entity registration.  \r\nIn my case it skipped the rest of my pre initialization and crashed during the `ModelRegistryEvent` firing phase, because of values that should have been set during the pre-init code that was skipped.\r\nA working example can be obtained by removing the first constructor for `zabi.minecraft.covens.common.entity.EntitySpellCarrier` from [my latest commit](https://github.com/zabi94/Covens/commit/a8fd35274e3bc73f4fb87aa25ffe644a26777716)"}}
{"actor":{"display_login":"stale"}}