{"action":"created","comment":{"url":"https://api.github.com/repos/ldtteam/minecolonies/pulls/comments/200849618","pull_request_review_id":135241839,"id":200849618,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMDg0OTYxOA==","diff_hunk":"@@ -0,0 +1,247 @@\n+package com.minecolonies.coremod.tileentities;\n+\n+import com.minecolonies.api.configuration.Configurations;\n+import com.minecolonies.api.util.ItemStackUtils;\n+import com.minecolonies.coremod.items.ModItems;\n+import net.minecraft.block.state.IBlockState;\n+import net.minecraft.entity.player.EntityPlayer;\n+import net.minecraft.init.Items;\n+import net.minecraft.item.ItemStack;\n+import net.minecraft.nbt.NBTTagCompound;\n+import net.minecraft.network.NetworkManager;\n+import net.minecraft.network.play.server.SPacketUpdateTileEntity;\n+import net.minecraft.tileentity.TileEntity;\n+import net.minecraft.util.EnumParticleTypes;\n+import net.minecraft.util.ITickable;\n+import net.minecraft.util.math.BlockPos;\n+import net.minecraft.util.text.TextComponentString;\n+import net.minecraft.world.World;\n+import net.minecraft.world.WorldServer;\n+import org.jetbrains.annotations.NotNull;\n+\n+import java.util.Random;\n+\n+public class TileEntityBarrel extends TileEntity implements ITickable\n+{\n+    private boolean                                 done           = false;\n+    private int                                     items          = 0;\n+    private int                                     timer          = 0;\n+    public static final int                         MAX_ITEMS      = 64;\n+    private static final int                        TIMER_END      = 24000; //24000; //Number of Minecraft ticks in 2\n+                                                                            // whole days\n+    private static final int                        AVERAGE_TICKS  = 20;    //The average of ticks that passes between\n+                                                                            //actually ticking the tileEntity\n+\n+    @Override\n+    public void update()\n+    {\n+        World world = this.getWorld();\n+\n+        //todo we should do this here in intervals look how we check things in random intervals in the colony.\n+        // this way we avoid calling this every tick which causes lag. Just calling this probablistically every 20 ticks and\n+        // make it run until 24000/20 will have the same result but consume way less load on the server.\n+        if(!world.isRemote)\n+        {\n+            if (world.getWorldTime() % (world.rand.nextInt(AVERAGE_TICKS * 2) + 1) == 0)\n+            {\n+                this.updateTick(world, this.getPos(), world.getBlockState(this.getPos()), new Random());\n+            }\n+        }\n+\n+    }\n+\n+\n+    public void updateTick(final World worldIn, final BlockPos pos, final IBlockState state, final Random rand)\n+    {\n+        //Check if the barrel is actually full\n+        if(getItems() == TileEntityBarrel.MAX_ITEMS)\n+        {\n+            doBarrelCompostTick(worldIn, pos, state);\n+        }\n+        if(this.done)\n+        {\n+            //If the barrel is done, we spawn particles imitating \"bad smell\"\n+            ((WorldServer)worldIn).spawnParticle(\n+                    EnumParticleTypes.VILLAGER_HAPPY, this.getPos().getX()+0.5,\n+                    this.getPos().getY()+1.5, this.getPos().getZ()+0.5,\n+                    1, 0.2, 0, 0.2, 0);\n+        }\n+    }\n+\n+    private void doBarrelCompostTick(final World worldIn, final BlockPos pos, final IBlockState blockState)\n+    {\n+        timer++;\n+        if (timer >= TIMER_END/AVERAGE_TICKS)\n+        {\n+            timer = 0;\n+            items = 0;\n+            done = true;\n+            this.updateBlock(worldIn, blockState);\n+        }\n+    }\n+\n+    //whenever player right click to barrel call this.\n+    public boolean useBarrel(final World worldIn, final EntityPlayer playerIn, final ItemStack itemstack, final IBlockState state, final BlockPos pos)\n+    {\n+        //If the barrel has finished composting, we drop and change state\n+        if (done)\n+        {\n+            playerIn.inventory.addItemStackToInventory(new ItemStack(ModItems.compost, 6));\n+            done = false;\n+            return true;\n+        }\n+\n+        if (!this.checkCorrectItem(itemstack))\n+        {\n+            return false;\n+        }\n+\n+        if (items == MAX_ITEMS)\n+        {\n+            playerIn.sendMessage(new TextComponentString(\"The barrel is working!\"));\n+            return false;\n+        }\n+        else\n+        {\n+            this.consumeNeededItems(worldIn, itemstack);\n+            return true;\n+        }\n+\n+    }\n+\n+    private void consumeNeededItems(World worldIn, ItemStack itemStack)\n+    {\n+\n+        int factor;\n+        //Saplings and seeds counts as 1 item added, the rest counts as 2 items\n+        factor = itemStack.getItem().getRegistryName().toString().contains(\"sapling\")\n+                || itemStack.getItem().getRegistryName().toString().contains(\"seed\")?1 : 2;\n+\n+        //The available items the player has in his hand (Rotten Flesh counts as the double)\n+        int availableItems = itemStack.getCount()*factor;\n+        //The items we need to complete the barrel\n+        int neededItems = MAX_ITEMS - items;\n+        //The quantity of items that we are going to take from the player\n+        int itemsToRemove = Math.min(neededItems, availableItems);\n+\n+        //We update the quantities in the player´s inventory and in the barrel\n+        this.items = this.items + itemsToRemove;\n+        itemsToRemove = itemsToRemove/factor;\n+        ItemStackUtils.changeSize(itemStack, -itemsToRemove);\n+\n+    }\n+\n+    private boolean checkCorrectItem(ItemStack itemStack)\n+    {\n+        for(String string : Configurations.gameplay.listOfCompostableItems)\n+        {\n+            if(itemStack.getItem().getRegistryName().toString().equals(string))\n+            {\n+                return true;\n+            }\n+        }\n+        return false;\n+    }\n+\n+    public void updateBlock(World worldIn, IBlockState state)\n+    {\n+         world.notifyBlockUpdate(pos, state, state, 0x03);\n+         world.markBlockRangeForRenderUpdate(pos,pos);\n+         this.markDirty();\n+    }\n+\n+    @Override\n+    public NBTTagCompound writeToNBT(NBTTagCompound compound)\n+    {\n+        super.writeToNBT(compound);\n+\n+        compound.setInteger(\"items\", this.items);\n+        compound.setInteger(\"timer\", this.timer);\n+        compound.setBoolean(\"done\", this.done);\n+\n+        return compound;\n+    }\n+\n+    @Override\n+    public void readFromNBT(NBTTagCompound compound)\n+    {\n+        super.readFromNBT(compound);\n+        this.items = compound.getInteger(\"items\");\n+        this.timer = compound.getInteger(\"timer\");\n+        this.done = compound.getBoolean(\"done\");\n+    }\n+\n+    @Override\n+    public SPacketUpdateTileEntity getUpdatePacket()\n+    {\n+        final NBTTagCompound compound = new NBTTagCompound();\n+        this.writeToNBT(compound);\n+        return new SPacketUpdateTileEntity(this.pos, 0, compound);\n+    }\n+\n+    @NotNull\n+    @Override\n+    public NBTTagCompound getUpdateTag()\n+    {\n+        return writeToNBT(new NBTTagCompound());\n+    }\n+\n+    @Override\n+    public void onDataPacket(final NetworkManager net, final SPacketUpdateTileEntity packet)\n+    {\n+        final NBTTagCompound compound = packet.getNbtCompound();\n+        this.readFromNBT(compound);\n+        world.markBlockRangeForRenderUpdate(pos,pos);\n+    }\n+\n+    @Override\n+    public final void handleUpdateTag(NBTTagCompound tag)","path":"src/main/java/com/minecolonies/coremod/tileentities/TileEntityBarrel.java","position":198,"original_position":198,"commit_id":"3da0336362156e562c0dce246e3ba2384ed2314c","original_commit_id":"3da0336362156e562c0dce246e3ba2384ed2314c","user":{"login":"codacy-bot","id":19940114,"node_id":"MDQ6VXNlcjE5OTQwMTE0","avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://app.codacy.com/assets/images/favicon.png) Issue found: [Parameter 'tag' is not assigned and could be declared final](https://app.codacy.com/app/Minecolonies/minecolonies/pullRequest?prid=1875215)","created_at":"2018-07-08T18:47:38Z","updated_at":"2018-07-08T18:47:38Z","html_url":"https://github.com/ldtteam/minecolonies/pull/2605#discussion_r200849618","pull_request_url":"https://api.github.com/repos/ldtteam/minecolonies/pulls/2605","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ldtteam/minecolonies/pulls/comments/200849618"},"html":{"href":"https://github.com/ldtteam/minecolonies/pull/2605#discussion_r200849618"},"pull_request":{"href":"https://api.github.com/repos/ldtteam/minecolonies/pulls/2605"}}},"pull_request":{"url":"https://api.github.com/repos/ldtteam/minecolonies/pulls/2605","id":199954945,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5OTU0OTQ1","html_url":"https://github.com/ldtteam/minecolonies/pull/2605","diff_url":"https://github.com/ldtteam/minecolonies/pull/2605.diff","patch_url":"https://github.com/ldtteam/minecolonies/pull/2605.patch","issue_url":"https://api.github.com/repos/ldtteam/minecolonies/issues/2605","number":2605,"state":"open","locked":false,"title":"Feature/compost block","user":{"login":"Fireruner","id":25698007,"node_id":"MDQ6VXNlcjI1Njk4MDA3","avatar_url":"https://avatars0.githubusercontent.com/u/25698007?v=4","gravatar_id":"","url":"https://api.github.com/users/Fireruner","html_url":"https://github.com/Fireruner","followers_url":"https://api.github.com/users/Fireruner/followers","following_url":"https://api.github.com/users/Fireruner/following{/other_user}","gists_url":"https://api.github.com/users/Fireruner/gists{/gist_id}","starred_url":"https://api.github.com/users/Fireruner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fireruner/subscriptions","organizations_url":"https://api.github.com/users/Fireruner/orgs","repos_url":"https://api.github.com/users/Fireruner/repos","events_url":"https://api.github.com/users/Fireruner/events{/privacy}","received_events_url":"https://api.github.com/users/Fireruner/received_events","type":"User","site_admin":false},"body":"\r\n# Changes proposed in this pull request:\r\n- Added the Compost Item, an Item that behaves like BoneMeal to the plants and cannot be crafted nor used as a dye.\r\n- Adde the Barrel Block, a block that takes biolical items (can be set on configurations) and process them. After 2 days (average) the block will emit particles to show that it finished, and will drop 6 Compost Items when the player interacts whit it.\r\n\r\nReview please\r\n","created_at":"2018-07-08T18:45:27Z","updated_at":"2018-07-08T18:47:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"567a281572a69504b1ce33461ca79797e67241f1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":987318008,"node_id":"MDU6TGFiZWw5ODczMTgwMDg=","url":"https://api.github.com/repos/ldtteam/minecolonies/labels/feature","name":"feature","color":"e2b128","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ldtteam/minecolonies/pulls/2605/commits","review_comments_url":"https://api.github.com/repos/ldtteam/minecolonies/pulls/2605/comments","review_comment_url":"https://api.github.com/repos/ldtteam/minecolonies/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ldtteam/minecolonies/issues/2605/comments","statuses_url":"https://api.github.com/repos/ldtteam/minecolonies/statuses/3da0336362156e562c0dce246e3ba2384ed2314c","head":{"label":"ldtteam:feature/compostBlock","ref":"feature/compostBlock","sha":"3da0336362156e562c0dce246e3ba2384ed2314c","user":{"login":"ldtteam","id":5167336,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxNjczMzY=","avatar_url":"https://avatars3.githubusercontent.com/u/5167336?v=4","gravatar_id":"","url":"https://api.github.com/users/ldtteam","html_url":"https://github.com/ldtteam","followers_url":"https://api.github.com/users/ldtteam/followers","following_url":"https://api.github.com/users/ldtteam/following{/other_user}","gists_url":"https://api.github.com/users/ldtteam/gists{/gist_id}","starred_url":"https://api.github.com/users/ldtteam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldtteam/subscriptions","organizations_url":"https://api.github.com/users/ldtteam/orgs","repos_url":"https://api.github.com/users/ldtteam/repos","events_url":"https://api.github.com/users/ldtteam/events{/privacy}","received_events_url":"https://api.github.com/users/ldtteam/received_events","type":"Organization","site_admin":false},"repo":{"id":65616760,"node_id":"MDEwOlJlcG9zaXRvcnk2NTYxNjc2MA==","name":"minecolonies","full_name":"ldtteam/minecolonies","owner":{"login":"ldtteam","id":5167336,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxNjczMzY=","avatar_url":"https://avatars3.githubusercontent.com/u/5167336?v=4","gravatar_id":"","url":"https://api.github.com/users/ldtteam","html_url":"https://github.com/ldtteam","followers_url":"https://api.github.com/users/ldtteam/followers","following_url":"https://api.github.com/users/ldtteam/following{/other_user}","gists_url":"https://api.github.com/users/ldtteam/gists{/gist_id}","starred_url":"https://api.github.com/users/ldtteam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldtteam/subscriptions","organizations_url":"https://api.github.com/users/ldtteam/orgs","repos_url":"https://api.github.com/users/ldtteam/repos","events_url":"https://api.github.com/users/ldtteam/events{/privacy}","received_events_url":"https://api.github.com/users/ldtteam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ldtteam/minecolonies","description":"Minecolonies minecraft mod","fork":false,"url":"https://api.github.com/repos/ldtteam/minecolonies","forks_url":"https://api.github.com/repos/ldtteam/minecolonies/forks","keys_url":"https://api.github.com/repos/ldtteam/minecolonies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ldtteam/minecolonies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ldtteam/minecolonies/teams","hooks_url":"https://api.github.com/repos/ldtteam/minecolonies/hooks","issue_events_url":"https://api.github.com/repos/ldtteam/minecolonies/issues/events{/number}","events_url":"https://api.github.com/repos/ldtteam/minecolonies/events","assignees_url":"https://api.github.com/repos/ldtteam/minecolonies/assignees{/user}","branches_url":"https://api.github.com/repos/ldtteam/minecolonies/branches{/branch}","tags_url":"https://api.github.com/repos/ldtteam/minecolonies/tags","blobs_url":"https://api.github.com/repos/ldtteam/minecolonies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ldtteam/minecolonies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ldtteam/minecolonies/git/refs{/sha}","trees_url":"https://api.github.com/repos/ldtteam/minecolonies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ldtteam/minecolonies/statuses/{sha}","languages_url":"https://api.github.com/repos/ldtteam/minecolonies/languages","stargazers_url":"https://api.github.com/repos/ldtteam/minecolonies/stargazers","contributors_url":"https://api.github.com/repos/ldtteam/minecolonies/contributors","subscribers_url":"https://api.github.com/repos/ldtteam/minecolonies/subscribers","subscription_url":"https://api.github.com/repos/ldtteam/minecolonies/subscription","commits_url":"https://api.github.com/repos/ldtteam/minecolonies/commits{/sha}","git_commits_url":"https://api.github.com/repos/ldtteam/minecolonies/git/commits{/sha}","comments_url":"https://api.github.com/repos/ldtteam/minecolonies/comments{/number}","issue_comment_url":"https://api.github.com/repos/ldtteam/minecolonies/issues/comments{/number}","contents_url":"https://api.github.com/repos/ldtteam/minecolonies/contents/{+path}","compare_url":"https://api.github.com/repos/ldtteam/minecolonies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ldtteam/minecolonies/merges","archive_url":"https://api.github.com/repos/ldtteam/minecolonies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ldtteam/minecolonies/downloads","issues_url":"https://api.github.com/repos/ldtteam/minecolonies/issues{/number}","pulls_url":"https://api.github.com/repos/ldtteam/minecolonies/pulls{/number}","milestones_url":"https://api.github.com/repos/ldtteam/minecolonies/milestones{/number}","notifications_url":"https://api.github.com/repos/ldtteam/minecolonies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ldtteam/minecolonies/labels{/name}","releases_url":"https://api.github.com/repos/ldtteam/minecolonies/releases{/id}","deployments_url":"https://api.github.com/repos/ldtteam/minecolonies/deployments","created_at":"2016-08-13T12:45:38Z","updated_at":"2018-07-06T01:43:55Z","pushed_at":"2018-07-08T18:45:28Z","git_url":"git://github.com/ldtteam/minecolonies.git","ssh_url":"git@github.com:ldtteam/minecolonies.git","clone_url":"https://github.com/ldtteam/minecolonies.git","svn_url":"https://github.com/ldtteam/minecolonies","homepage":"http://minecolonies.com/","size":52486,"stargazers_count":97,"watchers_count":97,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":83,"mirror_url":null,"archived":false,"open_issues_count":151,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":83,"open_issues":151,"watchers":97,"default_branch":"version/1.12"}},"base":{"label":"ldtteam:version/1.12","ref":"version/1.12","sha":"4486d71be01fd00e2e856a22bc5ba8fe745ec215","user":{"login":"ldtteam","id":5167336,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxNjczMzY=","avatar_url":"https://avatars3.githubusercontent.com/u/5167336?v=4","gravatar_id":"","url":"https://api.github.com/users/ldtteam","html_url":"https://github.com/ldtteam","followers_url":"https://api.github.com/users/ldtteam/followers","following_url":"https://api.github.com/users/ldtteam/following{/other_user}","gists_url":"https://api.github.com/users/ldtteam/gists{/gist_id}","starred_url":"https://api.github.com/users/ldtteam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldtteam/subscriptions","organizations_url":"https://api.github.com/users/ldtteam/orgs","repos_url":"https://api.github.com/users/ldtteam/repos","events_url":"https://api.github.com/users/ldtteam/events{/privacy}","received_events_url":"https://api.github.com/users/ldtteam/received_events","type":"Organization","site_admin":false},"repo":{"id":65616760,"node_id":"MDEwOlJlcG9zaXRvcnk2NTYxNjc2MA==","name":"minecolonies","full_name":"ldtteam/minecolonies","owner":{"login":"ldtteam","id":5167336,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxNjczMzY=","avatar_url":"https://avatars3.githubusercontent.com/u/5167336?v=4","gravatar_id":"","url":"https://api.github.com/users/ldtteam","html_url":"https://github.com/ldtteam","followers_url":"https://api.github.com/users/ldtteam/followers","following_url":"https://api.github.com/users/ldtteam/following{/other_user}","gists_url":"https://api.github.com/users/ldtteam/gists{/gist_id}","starred_url":"https://api.github.com/users/ldtteam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldtteam/subscriptions","organizations_url":"https://api.github.com/users/ldtteam/orgs","repos_url":"https://api.github.com/users/ldtteam/repos","events_url":"https://api.github.com/users/ldtteam/events{/privacy}","received_events_url":"https://api.github.com/users/ldtteam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ldtteam/minecolonies","description":"Minecolonies minecraft mod","fork":false,"url":"https://api.github.com/repos/ldtteam/minecolonies","forks_url":"https://api.github.com/repos/ldtteam/minecolonies/forks","keys_url":"https://api.github.com/repos/ldtteam/minecolonies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ldtteam/minecolonies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ldtteam/minecolonies/teams","hooks_url":"https://api.github.com/repos/ldtteam/minecolonies/hooks","issue_events_url":"https://api.github.com/repos/ldtteam/minecolonies/issues/events{/number}","events_url":"https://api.github.com/repos/ldtteam/minecolonies/events","assignees_url":"https://api.github.com/repos/ldtteam/minecolonies/assignees{/user}","branches_url":"https://api.github.com/repos/ldtteam/minecolonies/branches{/branch}","tags_url":"https://api.github.com/repos/ldtteam/minecolonies/tags","blobs_url":"https://api.github.com/repos/ldtteam/minecolonies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ldtteam/minecolonies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ldtteam/minecolonies/git/refs{/sha}","trees_url":"https://api.github.com/repos/ldtteam/minecolonies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ldtteam/minecolonies/statuses/{sha}","languages_url":"https://api.github.com/repos/ldtteam/minecolonies/languages","stargazers_url":"https://api.github.com/repos/ldtteam/minecolonies/stargazers","contributors_url":"https://api.github.com/repos/ldtteam/minecolonies/contributors","subscribers_url":"https://api.github.com/repos/ldtteam/minecolonies/subscribers","subscription_url":"https://api.github.com/repos/ldtteam/minecolonies/subscription","commits_url":"https://api.github.com/repos/ldtteam/minecolonies/commits{/sha}","git_commits_url":"https://api.github.com/repos/ldtteam/minecolonies/git/commits{/sha}","comments_url":"https://api.github.com/repos/ldtteam/minecolonies/comments{/number}","issue_comment_url":"https://api.github.com/repos/ldtteam/minecolonies/issues/comments{/number}","contents_url":"https://api.github.com/repos/ldtteam/minecolonies/contents/{+path}","compare_url":"https://api.github.com/repos/ldtteam/minecolonies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ldtteam/minecolonies/merges","archive_url":"https://api.github.com/repos/ldtteam/minecolonies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ldtteam/minecolonies/downloads","issues_url":"https://api.github.com/repos/ldtteam/minecolonies/issues{/number}","pulls_url":"https://api.github.com/repos/ldtteam/minecolonies/pulls{/number}","milestones_url":"https://api.github.com/repos/ldtteam/minecolonies/milestones{/number}","notifications_url":"https://api.github.com/repos/ldtteam/minecolonies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ldtteam/minecolonies/labels{/name}","releases_url":"https://api.github.com/repos/ldtteam/minecolonies/releases{/id}","deployments_url":"https://api.github.com/repos/ldtteam/minecolonies/deployments","created_at":"2016-08-13T12:45:38Z","updated_at":"2018-07-06T01:43:55Z","pushed_at":"2018-07-08T18:45:28Z","git_url":"git://github.com/ldtteam/minecolonies.git","ssh_url":"git@github.com:ldtteam/minecolonies.git","clone_url":"https://github.com/ldtteam/minecolonies.git","svn_url":"https://github.com/ldtteam/minecolonies","homepage":"http://minecolonies.com/","size":52486,"stargazers_count":97,"watchers_count":97,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":83,"mirror_url":null,"archived":false,"open_issues_count":151,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":83,"open_issues":151,"watchers":97,"default_branch":"version/1.12"}},"_links":{"self":{"href":"https://api.github.com/repos/ldtteam/minecolonies/pulls/2605"},"html":{"href":"https://github.com/ldtteam/minecolonies/pull/2605"},"issue":{"href":"https://api.github.com/repos/ldtteam/minecolonies/issues/2605"},"comments":{"href":"https://api.github.com/repos/ldtteam/minecolonies/issues/2605/comments"},"review_comments":{"href":"https://api.github.com/repos/ldtteam/minecolonies/pulls/2605/comments"},"review_comment":{"href":"https://api.github.com/repos/ldtteam/minecolonies/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ldtteam/minecolonies/pulls/2605/commits"},"statuses":{"href":"https://api.github.com/repos/ldtteam/minecolonies/statuses/3da0336362156e562c0dce246e3ba2384ed2314c"}},"author_association":"NONE"}}
{"actor":{"display_login":"codacy-bot"}}