added more recipes

title
This commit is contained in:
Paul Reilly 2020-07-11 15:48:21 -05:00
parent 3b6479cfc6
commit d5f571afe3
3 changed files with 119 additions and 3 deletions

6
.idea/vcs.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

View File

@ -1,7 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="b7e3dfbd-dfc6-4dd5-b2c6-f110c120ecb3" name="Default Changelist" comment="" />
<list default="true" id="b7e3dfbd-dfc6-4dd5-b2c6-f110c120ecb3" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/src/main/java/dev/coomware/Craftable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/dev/coomware/Craftable.java" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@ -17,6 +19,9 @@
</list>
</option>
</component>
<component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
</component>
<component name="MavenImportPreferences">
<option name="importingSettings">
<MavenImportingSettings>
@ -54,9 +59,13 @@
<screen x="0" y="0" width="1280" height="720" />
</state>
<state x="446" y="70" key="#com.intellij.ide.util.MemberChooser/0.0.1280.720@0.0.1280.720" timestamp="1594491647536" />
<state x="303" y="41" width="672" height="678" key="search.everywhere.popup" timestamp="1594493483113">
<state x="337" y="185" key="com.intellij.ide.util.TipDialog" timestamp="1594498873985">
<screen x="0" y="0" width="1280" height="720" />
</state>
<state x="303" y="41" width="672" height="678" key="search.everywhere.popup/0.0.1280.720@0.0.1280.720" timestamp="1594493483113" />
<state x="337" y="185" key="com.intellij.ide.util.TipDialog/0.0.1280.720@0.0.1280.720" timestamp="1594498873985" />
<state x="303" y="41" width="672" height="678" key="search.everywhere.popup" timestamp="1594500352730">
<screen x="0" y="0" width="1280" height="720" />
</state>
<state x="303" y="41" width="672" height="678" key="search.everywhere.popup/0.0.1280.720@0.0.1280.720" timestamp="1594500352730" />
</component>
</project>

View File

@ -18,6 +18,7 @@ public class Craftable {
goldHorseArmor();
diamondHorseArmor();
nametag();
eggs();
}
private void saddle() {
@ -80,4 +81,104 @@ public class Craftable {
nametag.setIngredient('p', Material.PAPER);
plugin.server.addRecipe(nametag);
}
// EGGS --- EGGS --- EGGS --- EGGS --- EGGS \\
private void eggs() {
beeEgg();
blazeEgg();
caveSpiderEgg();
creeperEgg();
dolphinEgg();
drownedEgg();
elderGuardEgg();
endermanEgg();
endermiteEgg();
}
private void beeEgg() {
ShapedRecipe beeEgg = util.shaped(Material.BEE_SPAWN_EGG, "bee_egg_recipe");
beeEgg.shape("aha","heh","aha");
beeEgg.setIngredient('a', Material.AIR);
beeEgg.setIngredient('h', Material.HONEYCOMB);
beeEgg.setIngredient('e', Material.EGG);
plugin.server.addRecipe(beeEgg);
}
private void blazeEgg() {
ShapedRecipe blazeEgg = util.shaped(Material.BLAZE_SPAWN_EGG, "blaze_egg_recipe");
blazeEgg.shape("sbs","beb","sbs");
blazeEgg.setIngredient('s', Material.SOUL_SOIL);
blazeEgg.setIngredient('b', Material.BLAZE_ROD);
blazeEgg.setIngredient('e', Material.EGG);
plugin.server.addRecipe(blazeEgg);
}
private void caveSpiderEgg() {
ShapedRecipe caveSpiderEgg = util.shaped(Material.CAVE_SPIDER_SPAWN_EGG, "cave_spider_egg_recipe");
caveSpiderEgg.shape("afa","ses","afa");
caveSpiderEgg.setIngredient('a', Material.AIR);
caveSpiderEgg.setIngredient('f', Material.FERMENTED_SPIDER_EYE);
caveSpiderEgg.setIngredient('s', Material.SPIDER_EYE);
caveSpiderEgg.setIngredient('e', Material.SPIDER_SPAWN_EGG);
plugin.server.addRecipe(caveSpiderEgg);
}
private void creeperEgg() {
ShapedRecipe creeperEgg = util.shaped(Material.CREEPER_SPAWN_EGG, "creeper_egg_recipe");
creeperEgg.shape("aga","geg","aga");
creeperEgg.setIngredient('a', Material.AIR);
creeperEgg.setIngredient('g', Material.GUNPOWDER);
creeperEgg.setIngredient('e', Material.EGG);
plugin.server.addRecipe(creeperEgg);
}
private void dolphinEgg() {
ShapedRecipe dolphin = util.shaped(Material.DOLPHIN_SPAWN_EGG, "dolphin_egg_recipe");
dolphin.shape("aca","wew","aca");
dolphin.setIngredient('a', Material.AIR);
dolphin.setIngredient('w', Material.WATER_BUCKET);
dolphin.setIngredient('c', Material.COD);
dolphin.setIngredient('e', Material.EGG);
plugin.server.addRecipe(dolphin);
}
private void drownedEgg() {
ShapedRecipe drowned = util.shaped(Material.DROWNED_SPAWN_EGG, "drowned_egg_recipe");
drowned.shape("awa","fef","awa");
drowned.setIngredient('a', Material.AIR);
drowned.setIngredient('w', Material.WATER_BUCKET);
drowned.setIngredient('f', Material.FISHING_ROD);
drowned.setIngredient('e', Material.ZOMBIE_SPAWN_EGG);
plugin.server.addRecipe(drowned);
}
private void elderGuardEgg() {
ShapedRecipe eldGuard = util.shaped(Material.ELDER_GUARDIAN_SPAWN_EGG, "elder_guardian_egg_recipe");
eldGuard.shape("apa","ses","apa");
eldGuard.setIngredient('a', Material.AIR);
eldGuard.setIngredient('p', Material.PRISMARINE_SHARD);
eldGuard.setIngredient('e', Material.GUARDIAN_SPAWN_EGG);
eldGuard.setIngredient('s', Material.SPONGE);
plugin.server.addRecipe(eldGuard);
}
private void endermanEgg() {
ShapedRecipe enderman = util.shaped(Material.ENDERMAN_SPAWN_EGG, "enderman_egg_recipe");
enderman.shape("apa","pep","apa");
enderman.setIngredient('a', Material.AIR);
enderman.setIngredient('p', Material.ENDER_PEARL);
enderman.setIngredient('e', Material.EGG);
plugin.server.addRecipe(enderman);
}
private void endermiteEgg() {
ShapedRecipe endermite = util.shaped(Material.ENDERMITE_SPAWN_EGG, "endermite_egg_recipe");
endermite.shape("apa","cec","apa");
endermite.setIngredient('a', Material.AIR);
endermite.setIngredient('p', Material.ENDER_PEARL);
endermite.setIngredient('c', Material.CHORUS_FRUIT);
endermite.setIngredient('e', Material.EGG);
plugin.server.addRecipe(endermite);
}
}