<commit_before>
/**
 *깔때기 스크립트 / Hopper script
 *
 *version - 1.0
 *
 *Copyright © Duduzzing / 두두찡
 *
 *All rights reserved
 */

/**
 *Developer's github:
 *
 *Github.com/Duduzzing
 */
 
var lang = java.util.Locale.getDefault().getLanguage();

var hopper = 176;
var chest = 54;

Block.defineBlock(hopper, "Hopper", [
  ["cauldron_inner", 0],
  ["cauldron_top", 0],
  ["cauldron_inner", 0],
  ["cauldron_inner", 0],
  ["cauldron_inner", 0],
  ["cauldron_inner", 0]], 0, true, 0);

Block.setDestroyTime(hopper, 5);

Item.addShapedRecipe(hopper, 1, 0, ["aaa", "aba", " a "], ["a", 265, 0, "b", chest, 0]);

var hopperArray = [];

var droppedItemArray = [];

function entityAddedHook(ent) {

  if (Entity.getEntityTypeId(ent) == 64) droppedItemArray.push(ent);

}

function removeItemFromArray() {

  for (var a in droppedItemArray) {
  	
  	 var item = droppedItemArray[a];
    var x = Entity.getX(item);
    var y = Entity.getY(item);
    var z = Entity.getZ(item);

    if (x == 0 && y == 0 && z == 0) droppedItemArray.splice(a, 1);
<commit_msg>Update Hopper_Duduzzing.js<commit_after>
/**
 *깔때기 스크립트 / Hopper script
 *
 *version - 1.0
 *
 *Copyright © Duduzzing / 두두찡
 *
 *All rights reserved
 */

/**
 *Developer's github:
 *
 *Github.com/Duduzzing
 */
 
var lang = java.util.Locale.getDefault().getLanguage();

var hopper = 176;
var chest = 54;

Block.defineBlock(hopper, "Hopper", [
  ["cauldron_inner", 0],
  ["cauldron_top", 0],
  ["cauldron_inner", 0],
  ["cauldron_inner", 0],
  ["cauldron_inner", 0],
  ["cauldron_inner", 0]], 0, true, 0);

Block.setDestroyTime(hopper, 5);

Item.addShapedRecipe(hopper, 1, 0, ["a a", "aba", " a "], ["a", 265, 0, "b", chest, 0]);

var hopperArray = [];

var droppedItemArray = [];

function entityAddedHook(ent) {

  if (Entity.getEntityTypeId(ent) == 64) droppedItemArray.push(ent);

}

function removeItemFromArray() {

  for (var a in droppedItemArray) {
  	
  	 var item = droppedItemArray[a];
    var x = Entity.getX(item);
    var y = Entity.getY(item);
    var z = Entity.getZ(item);

    if (x == 0 && y == 0 && z == 0) droppedItemArray.splice(a, 1);

{'fraction_non_alphanumeric': 0.18419800095192765, 'fraction_numerical': 0.02760590195145169, 'mean_word_length': 3.734234234234234, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4196034', 'n_tokens_mistral': 904, 'n_tokens_neox': 855, 'n_words': 192}