354 lines
14 KiB
Plaintext
354 lines
14 KiB
Plaintext
#loader contenttweaker
|
||
|
||
import mods.contenttweaker.VanillaFactory;
|
||
import mods.contenttweaker.ItemFood;
|
||
|
||
var speed = VanillaFactory.createItemFood("test_food", 6);
|
||
speed.saturation = 2;
|
||
speed.onItemFoodEaten = function(stack, world, player) {
|
||
player.addPotionEffect(<potion:thaumcraft:warpward>.makePotionEffect(600, 1));
|
||
};
|
||
speed.register();
|
||
|
||
var meatball1 = VanillaFactory.createItemFood("hearty_meatball", 5);
|
||
meatball1.saturation = 1;
|
||
meatball1.onItemFoodEaten = function(stack, world, player) {
|
||
player.addPotionEffect(<potion:minecraft:jump_boost>.makePotionEffect(1200, 0));
|
||
player.addPotionEffect(<potion:minecraft:speed>.makePotionEffect(1200, 0));
|
||
};
|
||
meatball1.register();
|
||
|
||
var meatball0 = VanillaFactory.createItemFood("meatball", 1);
|
||
meatball0.saturation = 1;
|
||
meatball0.register();
|
||
|
||
var spaghettimeatball = VanillaFactory.createItemFood("meatball_pasta", 3);
|
||
spaghettimeatball.saturation = 2;
|
||
spaghettimeatball.register();
|
||
|
||
var pastameatballspicy = VanillaFactory.createItemFood("spicy_meatball_pasta", 8);
|
||
pastameatballspicy.saturation = 2;
|
||
pastameatballspicy.onItemFoodEaten = function(stack, world, player) {
|
||
player.addPotionEffect(<potion:minecraft:jump_boost>.makePotionEffect(1200, 0));
|
||
player.addPotionEffect(<potion:minecraft:speed>.makePotionEffect(1200, 0));
|
||
};
|
||
pastameatballspicy.register();
|
||
|
||
var pastameatball = VanillaFactory.createItemFood("fiery_meatball_pasta", 8);
|
||
pastameatball.saturation = 2;
|
||
pastameatball.onItemFoodEaten = function(stack, world, player) {
|
||
player.addPotionEffect(<potion:minecraft:jump_boost>.makePotionEffect(36000, 0));
|
||
player.addPotionEffect(<potion:minecraft:speed>.makePotionEffect(36000, 0));
|
||
};
|
||
pastameatball.register();
|
||
|
||
var intpastameatball = VanillaFactory.createItemFood("intense_meatball_pasta", 8);
|
||
intpastameatball.saturation = 2;
|
||
intpastameatball.onItemFoodEaten = function(stack, world, player) {
|
||
player.addPotionEffect(<potion:minecraft:jump_boost>.makePotionEffect(36000, 4));
|
||
player.addPotionEffect(<potion:minecraft:speed>.makePotionEffect(36000, 4));
|
||
};
|
||
intpastameatball.register();
|
||
|
||
var agliooliopeperoncinopasta = VanillaFactory.createItemFood("aglio_olio_peperoncino_pasta", 8);
|
||
agliooliopeperoncinopasta.saturation = 3;
|
||
agliooliopeperoncinopasta.onItemFoodEaten = function(stack, world, player) {
|
||
player.addPotionEffect(<potion:minecraft:speed>.makePotionEffect(48000, 1));
|
||
};
|
||
agliooliopeperoncinopasta.register();
|
||
|
||
var strangemeatball = VanillaFactory.createItemFood("strange_meatball", 2);
|
||
strangemeatball.saturation = 1;
|
||
strangemeatball.onItemFoodEaten = function(stack, world, player) {
|
||
player.addPotionEffect(<potion:minecraft:jump_boost>.makePotionEffect(36000, 10));
|
||
player.addPotionEffect(<potion:minecraft:speed>.makePotionEffect(36000, 10));
|
||
player.addPotionEffect(<potion:minecraft:weakness>.makePotionEffect(36000, 4));
|
||
};
|
||
strangemeatball.register();
|
||
|
||
var driedvishroom = VanillaFactory.createItemFood("dried_vishroom", 2);
|
||
driedvishroom.saturation = 1;
|
||
driedvishroom.onItemFoodEaten = function(stack, world, player) {
|
||
player.addPotionEffect(<potion:minecraft:blindness>.makePotionEffect(600, 1));
|
||
// player.addPotionEffect(<potion:cyclicmagic:blindness>.makePotionEffect(12000, 0));
|
||
player.addPotionEffect(<potion:minecraft:luck>.makePotionEffect(36000, 3));
|
||
};
|
||
driedvishroom.register();
|
||
|
||
var strangebrownie = VanillaFactory.createItemFood("strange_brownie", 1);
|
||
strangebrownie.saturation = 1;
|
||
strangebrownie.onItemFoodEaten = function(stack, world, player) {
|
||
player.addPotionEffect(<potion:minecraft:hunger>.makePotionEffect(12000, 1));
|
||
};
|
||
strangebrownie.register();
|
||
|
||
var goldensteak = VanillaFactory.createItemFood("golden_steak", 4);
|
||
goldensteak.saturation = 3;
|
||
goldensteak.onItemFoodEaten = function(stack, world, player) {
|
||
player.addPotionEffect(<potion:minecraft:strength>.makePotionEffect(12000, 0));
|
||
};
|
||
goldensteak.register();
|
||
|
||
var goldensteakplu = VanillaFactory.createItemFood("really_golden_steak", 4);
|
||
goldensteakplu.saturation = 3;
|
||
goldensteakplu.onItemFoodEaten = function(stack, world, player) {
|
||
player.addPotionEffect(<potion:minecraft:strength>.makePotionEffect(480, 5));
|
||
};
|
||
goldensteakplu.register();
|
||
|
||
var bentos = VanillaFactory.createItemFood("bento_s", 4);
|
||
bentos.saturation = 1;
|
||
bentos.register();
|
||
|
||
var bentom = VanillaFactory.createItemFood("bento_m", 5);
|
||
bentom.saturation = 2;
|
||
bentom.register();
|
||
|
||
var bentol = VanillaFactory.createItemFood("bento_l", 6);
|
||
bentol.saturation = 3;
|
||
bentol.register();
|
||
|
||
var bentoxl = VanillaFactory.createItemFood("bento_xl", 6);
|
||
bentoxl.saturation = 4;
|
||
bentoxl.onItemFoodEaten = function(stack, world, player) {
|
||
player.addPotionEffect(<potion:minecraft:water_breathing>.makePotionEffect(36000, 0));
|
||
};
|
||
bentoxl.register();
|
||
|
||
var bentoxxl = VanillaFactory.createItemFood("bento_xxl", 8);
|
||
bentoxxl.saturation = 4;
|
||
bentoxxl.onItemFoodEaten = function(stack, world, player) {
|
||
player.addPotionEffect(<potion:minecraft:water_breathing>.makePotionEffect(36000, 0));
|
||
player.addPotionEffect(<potion:minecraft:regeneration>.makePotionEffect(12000, 0));
|
||
player.addPotionEffect(<potion:minecraft:night_vision>.makePotionEffect(36000, 0));
|
||
};
|
||
bentoxxl.register();
|
||
|
||
var bentoxxxl = VanillaFactory.createItemFood("bento_xxxl", 16);
|
||
bentoxxxl.saturation = 5;
|
||
bentoxxxl.onItemFoodEaten = function(stack, world, player) {
|
||
player.addPotionEffect(<potion:minecraft:water_breathing>.makePotionEffect(36000, 0));
|
||
player.addPotionEffect(<potion:minecraft:regeneration>.makePotionEffect(12000, 2));
|
||
player.addPotionEffect(<potion:minecraft:night_vision>.makePotionEffect(36000, 0));
|
||
};
|
||
bentoxxxl.register();
|
||
|
||
var buffalocharger = VanillaFactory.createItemFood("buffalo_charger", 5);
|
||
buffalocharger.saturation = 1;
|
||
buffalocharger.onItemFoodEaten = function(stack, world, player) {
|
||
player.addPotionEffect(<potion:minecraft:speed>.makePotionEffect(600, 1));
|
||
};
|
||
buffalocharger.register();
|
||
|
||
var dragoneggomelette = VanillaFactory.createItemFood("dragon_egg_omelette", 5);
|
||
dragoneggomelette.saturation = 1;
|
||
dragoneggomelette.onItemFoodEaten = function(stack, world, player) {
|
||
player.addPotionEffect(<potion:minecraft:health_boost>.makePotionEffect(12000, 20));
|
||
};
|
||
dragoneggomelette.register();
|
||
|
||
var sourcandyx = VanillaFactory.createItemFood("sour_candy_x", 5);
|
||
sourcandyx.saturation = 1;
|
||
sourcandyx.onItemFoodEaten = function(stack, world, player) {
|
||
player.addPotionEffect(<potion:minecraft:speed>.makePotionEffect(999999, 100));
|
||
};
|
||
sourcandyx.register();
|
||
|
||
var burned_enchanted_feather = VanillaFactory.createItemFood("burned_enchanted_feather", 5);
|
||
burned_enchanted_feather.saturation = 1;
|
||
burned_enchanted_feather.onItemFoodEaten = function(stack, world, player) {
|
||
player.addPotionEffect(<potion:minecraft:speed>.makePotionEffect(999999, 100));
|
||
};
|
||
burned_enchanted_feather.register();
|
||
|
||
var lollypopy = VanillaFactory.createItemFood("lollypop_y", 5);
|
||
lollypopy.saturation = 1;
|
||
lollypopy.onItemFoodEaten = function(stack, world, player) {
|
||
player.addPotionEffect(<potion:minecraft:speed>.makePotionEffect(999999, 100));
|
||
};
|
||
lollypopy.register();
|
||
|
||
var gummywormz = VanillaFactory.createItemFood("gummy_worm_z", 5);
|
||
gummywormz.saturation = 1;
|
||
gummywormz.onItemFoodEaten = function(stack, world, player) {
|
||
player.addPotionEffect(<potion:minecraft:speed>.makePotionEffect(999999, 100));
|
||
};
|
||
gummywormz.register();
|
||
|
||
var addictioncookie = VanillaFactory.createItemFood("addiction_cookie", 5);
|
||
addictioncookie.saturation = 1;
|
||
addictioncookie.onItemFoodEaten = function(stack, world, player) {
|
||
player.sendChat("出门逛逛吧!");
|
||
};
|
||
addictioncookie.register();
|
||
|
||
var sausagesandwich = VanillaFactory.createItemFood("sausage_sandwich", 5);
|
||
sausagesandwich.saturation = 1;
|
||
sausagesandwich.onItemFoodEaten = function(stack, world, player) {
|
||
player.sendChat("莫非你是从地球另一边来的?");
|
||
};
|
||
sausagesandwich.register();
|
||
|
||
var chocchertruf = VanillaFactory.createItemFood("chocolate_cherry_truffle", 5);
|
||
chocchertruf.saturation = 1;
|
||
chocchertruf.onItemFoodEaten = function(stack, world, player) {
|
||
player.sendChat("享受生活中的小确幸。");
|
||
};
|
||
chocchertruf.register();
|
||
|
||
|
||
//-------------------------------------------------------------------
|
||
|
||
|
||
var lovelylatke = VanillaFactory.createItemFood("lovely_latke", 5);
|
||
lovelylatke.saturation = 1;
|
||
lovelylatke.onItemFoodEaten = function(stack, world, player) {
|
||
player.sendChat("聚亲友,享天伦,不可轻忽。");
|
||
};
|
||
lovelylatke.register();
|
||
|
||
var nicecleansalad = VanillaFactory.createItemFood("nice_clean_salad", 5);
|
||
nicecleansalad.saturation = 1;
|
||
nicecleansalad.onItemFoodEaten = function(stack, world, player) {
|
||
player.sendChat("一屋不扫,何以MC!");
|
||
player.addPotionEffect(<potion:minecraft:strength>.makePotionEffect(32000, 2));
|
||
};
|
||
nicecleansalad.register();
|
||
|
||
var bigboysteak = VanillaFactory.createItemFood("big_boy_steak", 5);
|
||
bigboysteak.saturation = 1;
|
||
bigboysteak.onItemFoodEaten = function(stack, world, player) {
|
||
player.sendChat("乘众人之智,则无不任也;用众人之力,则无不胜也。");
|
||
};
|
||
bigboysteak.register();
|
||
|
||
var fortunecookie = VanillaFactory.createItemFood("fortune_cookie", 5);
|
||
fortunecookie.saturation = 1;
|
||
fortunecookie.onItemFoodEaten = function(stack, world, player) {
|
||
player.sendChat("志可凌云,活在当下。");
|
||
};
|
||
fortunecookie.register();
|
||
|
||
var pandistelle = VanillaFactory.createItemFood("pan_di_stelle", 5);
|
||
pandistelle.saturation = 1;
|
||
pandistelle.onItemFoodEaten = function(stack, world, player) {
|
||
player.sendChat("梦想当怀,志不可失。");
|
||
};
|
||
pandistelle.register();
|
||
|
||
var plentifulpraline = VanillaFactory.createItemFood("plentiful_praline", 5);
|
||
plentifulpraline.saturation = 1;
|
||
plentifulpraline.onItemFoodEaten = function(stack, world, player) {
|
||
player.sendChat("幸福比成就更重要,不过两者并不冲突!");
|
||
};
|
||
plentifulpraline.register();
|
||
|
||
var friendlyfrittata = VanillaFactory.createItemFood("friendly_frittata", 5);
|
||
friendlyfrittata.saturation = 1;
|
||
friendlyfrittata.onItemFoodEaten = function(stack, world, player) {
|
||
player.sendChat("真朋友很重要,几乎和打通这个整合包一样重要 ;)");
|
||
};
|
||
friendlyfrittata.register();
|
||
|
||
var sacredcindersfruit = VanillaFactory.createItemFood("sacred_cinders_fruit", 5);
|
||
sacredcindersfruit.saturation = 1;
|
||
sacredcindersfruit.onItemFoodEaten = function(stack, world, player) {
|
||
player.sendChat("求知若饥,虚心若愚。");
|
||
};
|
||
sacredcindersfruit.register();
|
||
|
||
// __________________________________________________
|
||
|
||
|
||
var ethicalempanada = VanillaFactory.createItemFood("ethical_empanada", 5);
|
||
ethicalempanada.saturation = 1;
|
||
ethicalempanada.onItemFoodEaten = function(stack, world, player) {
|
||
player.sendChat("君子量不极,胸吞百川流。");
|
||
};
|
||
ethicalempanada.register();
|
||
|
||
var nimblehummusdip = VanillaFactory.createItemFood("nimble_hummus_dip", 5);
|
||
nimblehummusdip.saturation = 1;
|
||
nimblehummusdip.onItemFoodEaten = function(stack, world, player) {
|
||
player.sendChat("久在樊笼里,复得返自然。");
|
||
};
|
||
nimblehummusdip.register();
|
||
|
||
var heavypolenta = VanillaFactory.createItemFood("heavy_polenta", 5);
|
||
heavypolenta.saturation = 1;
|
||
heavypolenta.onItemFoodEaten = function(stack, world, player) {
|
||
player.sendChat("今天你走够1万步了吗?");
|
||
};
|
||
heavypolenta.register();
|
||
|
||
var multifruitmilkshake = VanillaFactory.createItemFood("multi_fruit_milkshake", 5);
|
||
multifruitmilkshake.saturation = 1;
|
||
multifruitmilkshake.onItemFoodEaten = function(stack, world, player) {
|
||
player.sendChat("是时候起来练10分钟腹肌了!");
|
||
};
|
||
multifruitmilkshake.register();
|
||
|
||
var feastofhell = VanillaFactory.createItemFood("feast_of_hell", 5);
|
||
feastofhell.saturation = 1;
|
||
feastofhell.onItemFoodEaten = function(stack, world, player) {
|
||
player.sendChat("良言一句三冬暖,恶语伤人六月寒。");
|
||
};
|
||
feastofhell.register();
|
||
|
||
var tastyeyedelight = VanillaFactory.createItemFood("tasty_eye_delight", 5);
|
||
tastyeyedelight.saturation = 1;
|
||
tastyeyedelight.onItemFoodEaten = function(stack, world, player) {
|
||
player.sendChat("机会总是不期而至,要做的便是做好准备!");
|
||
};
|
||
tastyeyedelight.register();
|
||
|
||
var monolithicmeal = VanillaFactory.createItemFood("monolithic_meal", 5);
|
||
monolithicmeal.saturation = 1;
|
||
monolithicmeal.onItemFoodEaten = function(stack, world, player) {
|
||
player.sendChat("伟大必有其根基。我们是站在巨人肩上的矮人。");
|
||
};
|
||
monolithicmeal.register();
|
||
|
||
var hellspotchop = VanillaFactory.createItemFood("hellspot_chop", 3);
|
||
hellspotchop.saturation = 2;
|
||
hellspotchop.onItemFoodEaten = function(stack, world, player) {
|
||
player.addPotionEffect(<potion:minecraft:poison>.makePotionEffect(1200, 0));
|
||
};
|
||
hellspotchop.register();
|
||
|
||
var disgustingomelette = VanillaFactory.createItemFood("disgusting_omelette", 3);
|
||
disgustingomelette.saturation = 2;
|
||
disgustingomelette.onItemFoodEaten = function(stack, world, player) {
|
||
player.addPotionEffect(<potion:minecraft:poison>.makePotionEffect(1200, 0));
|
||
};
|
||
disgustingomelette.register();
|
||
|
||
var cubejellocubes = VanillaFactory.createItemFood("cube_jello_cubes", 3);
|
||
cubejellocubes.saturation = 2;
|
||
cubejellocubes.onItemFoodEaten = function(stack, world, player) {
|
||
player.sendChat("赞美立方 #并非邪教");
|
||
};
|
||
cubejellocubes.register();
|
||
|
||
var radiactivenachos = VanillaFactory.createItemFood("radioactive_nachos", 1);
|
||
radiactivenachos.saturation = 2;
|
||
radiactivenachos.onItemFoodEaten = function(stack, world, player) {
|
||
player.sendChat("快餐虽好,莫要贪多。");
|
||
};
|
||
radiactivenachos.register();
|
||
|
||
|
||
var yummyconcrete = VanillaFactory.createItemFood("yummy_concrete", 5);
|
||
yummyconcrete.saturation = 1;
|
||
yummyconcrete.onItemFoodEaten = function(stack, world, player) {
|
||
player.sendChat("灵感来自r/feedthememes");
|
||
player.addPotionEffect(<potion:minecraft:slowness>.makePotionEffect(3000, 20));
|
||
};
|
||
yummyconcrete.register();
|
||
|
||
var justjambalaya = VanillaFactory.createItemFood("just_jambalaya", 5);
|
||
justjambalaya.saturation = 1;
|
||
justjambalaya.onItemFoodEaten = function(stack, world, player) {
|
||
player.sendChat("世事无常,困苦共担。");
|
||
};
|
||
justjambalaya.register(); |