Showing results for Coal PNG PNG
GitHub Repo
https://github.com/Hamida-del/Course-Project-2
Hamida-del/Course-Project-2
Course Data Fine particulate matter (PM2.5) is an ambient air pollutant for which there is strong evidence that it is harmful to human health. In the United States, the Environmental Protection Agency (EPA) is tasked with setting national ambient air quality standards for fine PM and for tracking the emissions of this pollutant into the atmosphere. Approximatly every 3 years, the EPA releases its database on emissions of PM2.5. This database is known as the National Emissions Inventory (NEI). Additional information about the NEI can be found at the EPA National Emissions Inventory web site. The NEI project data was downloaded and loaded into the environment as shown below. exdata_filename <- "exdata-data-NEI_data.zip" if (!file.exists(exdata_filename)) { download_url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zip" download.file(download_url, destfile = exdata_filename) unzip (zipfile = exdata_filename) } if (!exists("NEI")) { # print("Loading NEI Data, please wait.") NEI <- readRDS("summarySCC_PM25.rds") } if (!exists("SCC")) { # print("Loading SCC Data.") SCC <- readRDS("Source_Classification_Code.rds") } PM2.5 Emissions Data (summarySCC_PM25.rds) contains a data frame with all of the PM2.5 emissions data for 1999, 2002, 2005, and 2008. For each year, the table contains number of tons of PM2.5 emitted from a specific type of source for the entire year. Here are the first few rows. head(NEI) ## fips SCC Pollutant Emissions type year ## 4 09001 10100401 PM25-PRI 15.714 POINT 1999 ## 8 09001 10100404 PM25-PRI 234.178 POINT 1999 ## 12 09001 10100501 PM25-PRI 0.128 POINT 1999 ## 16 09001 10200401 PM25-PRI 2.036 POINT 1999 ## 20 09001 10200504 PM25-PRI 0.388 POINT 1999 ## 24 09001 10200602 PM25-PRI 1.490 POINT 1999 The PM2.5 variables are as follows: fips: A five-digit number (represented as a string) indicating the U.S. county SCC: The name of the source as indicated by a digit string (see source code classification table) Pollutant: A string indicating the pollutant Emissions: Amount of PM2.5 emitted, in tons type: The type of source (point, non-point, on-road, or non-road) year: The year of emissions recorded The Source Classification Table (Source_Classification_Code.rds) provides a mapping from the SCC digit strings in the Emissions table to the actual name of the PM2.5 source. head(SCC[,c("SCC", "Short.Name")]) ## SCC ## 1 10100101 ## 2 10100102 ## 3 10100201 ## 4 10100202 ## 5 10100203 ## 6 10100204 ## Short.Name ## 1 Ext Comb /Electric Gen /Anthracite Coal /Pulverized Coal ## 2 Ext Comb /Electric Gen /Anthracite Coal /Traveling Grate (Overfeed) Stoker ## 3 Ext Comb /Electric Gen /Bituminous Coal /Pulverized Coal: Wet Bottom ## 4 Ext Comb /Electric Gen /Bituminous Coal /Pulverized Coal: Dry Bottom ## 5 Ext Comb /Electric Gen /Bituminous Coal /Cyclone Furnace ## 6 Ext Comb /Electric Gen /Bituminous Coal /Spreader Stoker Questions and Answers The project aims to answer the questions listed below. The answers to the questions are illustrated in the plots following each question. Question #1: Have total emissions from PM2.5 decreased in the United States from 1999 to 2008? Using the base plotting system, make a plot showing the total PM2.5 emission from all sources for each of the years 1999, 2002, 2005, and 2008. total_annual_emissions <- aggregate(Emissions ~ year, NEI, FUN = sum) color_range <- 2:(length(total_annual_emissions$year)+1) with(total_annual_emissions, barplot(height=Emissions/1000, names.arg = year, col = color_range, xlab = "Year", ylab = expression('PM'[2.5]*' in Kilotons'), main = expression('Annual Emission PM'[2.5]*' from 1999 to 2008'))) Question #2: Have total emissions from PM2.5 decreased in the Baltimore City, Maryland ( fips == “24510”) from 1999 to 2008? Use the base plotting system to make a plot answering this question. b_total_emissions <- NEI %>% filter(fips == "24510") %>% group_by(year) %>% summarise(Emissions = sum(Emissions)) with(b_total_emissions, barplot(height=Emissions/1000, names.arg = year, col = color_range, xlab = "Year", ylab = expression('PM'[2.5]*' in Kilotons'), main = expression('Baltimore, Maryland Emissions from 1999 to 2008')) ) Question #3: Of the four types of sources indicated by the (point, nonpoint, onroad, nonroad) variable, which of these four sources have seen decreases in emissions from 19992008 for Baltimore City? Which have seen increases in emissions from 19992008? Use the ggplot2 plotting system to make a plot answer this question. b_emissions <- NEI %>% filter(fips == "24510") %>% group_by(year, type) %>% summarise(Emissions=sum(Emissions)) b_em_plot <- ggplot(data = b_emissions, aes(x = factor(year), y = Emissions, fill = type, colore = "black")) + geom_bar(stat = "identity") + facet_grid(. ~ type) + xlab("Year") + ylab(expression('PM'[2.5]*' Emission')) + ggtitle("Baltimore Emissions by Source Type") print(b_em_plot) Question #4: Across the United States, how have emissions from coal combustion-related sources changed from 1999 to 2008? coal_SCC <- SCC[grep("[Cc][Oo][Aa][Ll]", SCC$EI.Sector), "SCC"] coal_NEI <- NEI %>% filter(SCC %in% coal_SCC) coal_summary <- coal_NEI %>% group_by(year) %>% summarise(Emissions = sum(Emissions)) c_plot <- ggplot(coal_summary, aes(x=year, y=round(Emissions/1000,2), label=round(Emissions/1000,2), fill=year)) + geom_bar(stat="identity") + ylab(expression('PM'[2.5]*' Emissions in Kilotons')) + xlab("Year") + geom_label(aes(fill = year),colour = "white", fontface = "bold") + ggtitle("Coal Combustion Emissions, 1999 to 2008.") print(c_plot) Question #5: How have emissions from motor vehicle sources changed from 1999 to 2008 in Baltimore City? scc_vehicles <- SCC[grep("[Vv]ehicle", SCC$EI.Sector), "SCC"] vehicle_emissions <- NEI %>% filter(SCC %in% scc_vehicles & fips == "24510") %>% group_by(year) %>% summarise(Emissions = sum(Emissions)) png("plot5.png", width = 640, height = 480) v_plot <- ggplot(coal_summary, aes(x=year, y=round(Emissions/1000,2), label=round(Emissions/1000,2), fill=year)) + geom_bar(stat="identity") + ylab(expression('PM'[2.5]*' Emissions in Kilotons')) + xlab("Year") + geom_label(aes(fill = year),colour = "white", fontface = "bold") + ggtitle("Baltimore Vehicle Emissions, 1999 to 2008.") print(v_plot) Question #6: Compare emissions from motor vehicle sources in Baltimore City with emissions from motor vehicle sources in Los Angeles County, California ( == “”). Which city has seen greater changes over time in motor vehicle emissions? fips_lookup <- data.frame(fips = c("06037", "24510"), county = c("Los Angeles", "Baltimore")) vehicles_SCC <- SCC[grep("[Vv]ehicle", SCC$EI.Sector), "SCC"] vehicle_emissions <- NEI %>% filter(SCC %in% vehicles_SCC & fips %in% fips_lookup$fips) %>% group_by(fips, year) %>% summarize(Emissions = sum(Emissions)) vehicle_emissions <- merge(vehicle_emissions, fips_lookup) bcv_plot <- ggplot(vehicle_emissions, aes(x = factor(year), y = round(Emissions/1000, 2), label=round(Emissions/1000,2), fill = year)) + geom_bar(stat = "identity") + facet_grid(. ~ county) + ylab(expression('PM'[2.5]*' Emissions in Kilotons')) + xlab("Year") + geom_label(aes(fill = year),colour = "white", fontface = "bold") + ggtitle("Los Angeles vs Baltimore Vehicle Emissions.") print(bcv_plot)
GitHub Repo
https://github.com/Mickwen/Data-Analysis-Project-02
Mickwen/Data-Analysis-Project-02
Introduction Fine particulate matter (PM2.5) is an ambient air pollutant for which there is strong evidence that it is harmful to human health. In the United States, the Environmental Protection Agency (EPA) is tasked with setting national ambient air quality standards for fine PM and for tracking the emissions of this pollutant into the atmosphere. Approximatly every 3 years, the EPA releases its database on emissions of PM2.5. This database is known as the National Emissions Inventory (NEI). You can read more information about the NEI at the EPA National Emissions Inventory web site. For each year and for each type of PM source, the NEI records how many tons of PM2.5 were emitted from that source over the course of the entire year. The data that you will use for this assignment are for 1999, 2002, 2005, and 2008. Data The data for this assignment are available from the course web site as a single zip file: Data for Peer Assessment [29Mb] The zip file contains two files: PM2.5 Emissions Data (summarySCC_PM25.rds): This file contains a data frame with all of the PM2.5 emissions data for 1999, 2002, 2005, and 2008. For each year, the table contains number of tons of PM2.5 emitted from a specific type of source for the entire year. Here are the first few rows. ## fips SCC Pollutant Emissions type year ## 4 09001 10100401 PM25-PRI 15.714 POINT 1999 ## 8 09001 10100404 PM25-PRI 234.178 POINT 1999 ## 12 09001 10100501 PM25-PRI 0.128 POINT 1999 ## 16 09001 10200401 PM25-PRI 2.036 POINT 1999 ## 20 09001 10200504 PM25-PRI 0.388 POINT 1999 ## 24 09001 10200602 PM25-PRI 1.490 POINT 1999 fips: A five-digit number (represented as a string) indicating the U.S. county SCC: The name of the source as indicated by a digit string (see source code classification table) Pollutant: A string indicating the pollutant Emissions: Amount of PM2.5 emitted, in tons type: The type of source (point, non-point, on-road, or non-road) year: The year of emissions recorded Source Classification Code Table (Source_Classification_Code.rds): This table provides a mapping from the SCC digit strings in the Emissions table to the actual name of the PM2.5 source. The sources are categorized in a few different ways from more general to more specific and you may choose to explore whatever categories you think are most useful. For example, source “10100101” is known as “Ext Comb /Electric Gen /Anthracite Coal /Pulverized Coal”. You can read each of the two files using the readRDS() function in R. For example, reading in each file can be done with the following code: ## This first line will likely take a few seconds. Be patient! NEI <- readRDS("summarySCC_PM25.rds") SCC <- readRDS("Source_Classification_Code.rds") as long as each of those files is in your current working directory (check by calling dir() and see if those files are in the listing). Assignment The overall goal of this assignment is to explore the National Emissions Inventory database and see what it say about fine particulate matter pollution in the United states over the 10-year period 1999–2008. You may use any R package you want to support your analysis. Questions You must address the following questions and tasks in your exploratory analysis. For each question/task you will need to make a single plot. Unless specified, you can use any plotting system in R to make your plot. Have total emissions from PM2.5 decreased in the United States from 1999 to 2008? Using the base plotting system, make a plot showing the total PM2.5 emission from all sources for each of the years 1999, 2002, 2005, and 2008. Have total emissions from PM2.5 decreased in the Baltimore City, Maryland (fips == "24510") from 1999 to 2008? Use the base plotting system to make a plot answering this question. Of the four types of sources indicated by the type (point, nonpoint, onroad, nonroad) variable, which of these four sources have seen decreases in emissions from 1999–2008 for Baltimore City? Which have seen increases in emissions from 1999–2008? Use the ggplot2 plotting system to make a plot answer this question. Across the United States, how have emissions from coal combustion-related sources changed from 1999–2008? How have emissions from motor vehicle sources changed from 1999–2008 in Baltimore City? Compare emissions from motor vehicle sources in Baltimore City with emissions from motor vehicle sources in Los Angeles County, California (fips == "06037"). Which city has seen greater changes over time in motor vehicle emissions? Making and Submitting Plots For each plot you should Construct the plot and save it to a PNG file. Create a separate R code file (plot1.R, plot2.R, etc.) that constructs the corresponding plot, i.e. code in plot1.R constructs the plot1.png plot. Your code file should include code for reading the data so that the plot can be fully reproduced. You must also include the code that creates the PNG file. Only include the code for a single plot (i.e. plot1.R should only include code for producing plot1.png) Upload the PNG file on the Assignment submission page Copy and paste the R code from the corresponding R file into the text box at the appropriate point in the peer assessment.
GitHub Repo
https://github.com/jalbertbowden/us-coal-map
jalbertbowden/us-coal-map
US Coal map of 48 contiguous states, USGS publication. Shapefiles converted to GeoJSON/TopoJSON, .xlsx reference to .csv, and .pdf map to .png, for now.
GitHub Repo
https://github.com/Izaakwltn/coalton-png
Izaakwltn/coalton-png
No repository description available.
GitHub Repo
https://github.com/HadyShaaban/Coursera-project-2-Data-analysis
HadyShaaban/Coursera-project-2-Data-analysis
Introduction Fine particulate matter (PM_{2.5}) is an ambient air pollutant for which there is strong evidence that it is harmful to human health. In the United States, the Environmental Protection Agency (EPA) is tasked with setting national ambient air quality standards for fine PM and for tracking the emissions of this pollutant into the atmosphere. Approximatly every 3 years, the EPA releases its database on emissions of PM_{2.5}. This database is known as the National Emissions Inventory (NEI). You can read more information about the NEI at the [[http://www.epa.gov/ttn/chief/eiinformation.html][EPA National Emissions Inventory web site]]. For each year and for each type of PM source, the NEI records how many tons of PM_{2.5} were emitted from that source over the course of the entire year. The data that we use for this assignment are for 1999, 2002, 2005, and 2008. The data is available [[https://d396qusza40orc.cloudfront.net/exdata%252Fdata%252FNEI_data.zip][here]]. Goal The overall goal is to explore the National Emissions Inventory database and see what it say about fine particulate matter pollution in the United states over the 10-year period 1999-2008. Questions Have total emissions from PM_{2.5} decreased in the United States from 1999 to 2008? [[./plot1.png]] Have total emissions from PM_{2.5} decreased in the Baltimore City, Maryland from 1999 to 2008? [[./plot2.png]] Of the four types of sources indicated by the =type= (point, nonpoint, onroad, nonroad) variable, which of these four sources have seen decreases in emissions from 1999-2008 for Baltimore City? Which have seen increases in emissions from 1999-2008? [[./plot3.png]] Across the United States, how have emissions from coal combustion-related sources changed from 1999-2008? [[./plot4.png]] How have emissions from motor vehicle sources changed from 1999-2008 in Baltimore City? [[./plot5.png]] Compare emissions from motor vehicle sources in Baltimore City with emissions from motor vehicle sources in Los Angeles County, California. Which city has seen greater changes over time in motor vehicle emissions? [[./plot6.png]]
GitHub Repo
https://github.com/Xantipo/Hexxit-ModPack
Xantipo/Hexxit-ModPack
var ender = 0; var mon = 0; var ninja = 0; var DwarfS = 0; var Wind = 0; var Dg = 0; var Zen = 0; var Inf = 0; var min = 0; var death = 0; var guard = 0; var basilisk = 0; var dpet = 0; var king = 0; var queen = 0; var fallen = 0; var GUI; var ctx = com.mojang.minecraftpe.MainActivity.currentMainActivity.get(); var blockx; var blocky; var blockz; var on = false; var digg=0; var velX; var velY; var velZ; var flame; var knife; var shotgun; var tnt; var dig; shotgun=80; knife=80; flame=81; tnt=65; Block.defineBlock(189,"Broken uncharged Healing Block", [["redstone_block", 0], ["redstone_block", 0], ["redstone_block", 0], ["redstone_block", 0], ["redstone_block", 0], ["redstone_block",0]] ,19,19,0); Block.defineBlock(190,"Healing Block uncharged", [["redstone_block", 0], ["redstone_block", 0], ["redstone_block", 0], ["redstone_block", 0], ["redstone_block", 0], ["redstone_block",0]] ,19,19,0); Block.defineBlock(191,"Healing Block Charged", [["redstone_block", 0], ["redstone_block", 0], ["redstone_block", 0], ["redstone_block", 0], ["redstone_block", 0], ["redstone_block",0]],19,19,0); Block.defineBlock(192,"Soul Block", [["quartz_block", 0], ["quartz_block", 0], ["quartz_block", 0], ["quartz_block", 0], ["quartz_block", 0], ["quartz_block",0]],19,19,0); Block.defineBlock(193,"Godly Soul Block", [["quartz_block", 0], ["quartz_block", 0], ["quartz_block", 0], ["quartz_block", 0], ["quartz_block", 0], ["quartz_block",0]],19,19,0); Block.defineBlock(194,"Quest Block", [["coal_block", 0], ["coal_ore", 0], ["quartz_ore", 0], ["quartz_ore", 0], ["quartz_ore", 0], ["quartz_ore",0]],19,19,0); Block.defineBlock(195,"Quest Block", [["lapis_block", 0], ["lapis_ore", 0], ["quartz_ore", 0], ["quartz_ore", 0], ["quartz_ore", 0], ["quartz_ore",0]],19,19,0); Block.defineBlock(196,"Quest Block", [["redstone_block", 0], ["redstone_ore", 0], ["quartz_ore", 0], ["quartz_ore", 0], ["quartz_ore", 0], ["quartz_ore",0]],19,19,0); Block.defineBlock(197,"Quest Block", [["iron_block", 0], ["iron_ore", 0], ["quartz_ore", 0], ["quartz_ore", 0], ["quartz_ore", 0], ["quartz_ore",0]],19,19,0); Block.defineBlock(198,"Quest Block", [["diamond_block", 0], ["diamond_ore", 0], ["quartz_ore", 0], ["quartz_ore", 0], ["quartz_ore", 0], ["quartz_ore",0]],19,19,0); Block.setShape(198, 0, 0, 0, 1, 1, 1); Block.defineBlock(199, ChatColor.BLACK+ "Great Sword", [["iron_block", 0], ["iron_block", 0], ["iron_block", 0], ["iron_block", 0], ["iron_block", 0], ["iron_block",0]],19,19,0); Block.setShape(199, 0, 0, 0, 0.25, 8, 0.75); Block.defineBlock(200,"Block of Steel", [["iron_block", 0], ["iron_block", 0], ["iron_block", 0], ["iron_block", 0], ["iron_block", 0], ["iron_block",0]] ,19,19,0); Block.defineBlock(201, ChatColor.BLACK+ "Great Sword +1", [["iron_block", 0], ["iron_block", 0], ["iron_block", 0], ["iron_block", 0], ["iron_block", 0], ["iron_block",0]] ,19,19,0); Block.setShape(201, 0, 0, 0, 0.25, 8, 0.75) Block.defineBlock(202, ChatColor.BLACK+ "Great Sword +2", [["iron_block", 0], ["iron_block", 0], ["iron_block", 0], ["iron_block", 0], ["iron_block", 0], ["iron_block",0]] ,19,19,0); Block.setShape(202, 0, 0, 0, 0.25, 8, 0.75) Block.defineBlock(203,"Anciant Lock Stone", [["cobblestone_mossy", 0], ["cobblestone_mossy", 0], ["cobblestone_mossy", 0], ["cobblestone_mossy", 0], ["bedrock", 0], ["cobblestone_mossy",0]],19,19,0); Block.defineBlock(204,"Legendary Bell", [["ice_packed", 0], ["ice_packed", 0], ["ice_packed", 0], ["ice_packed", 0], ["ice_packed", 0], ["ice_packed",0]],19,19,0); Block.defineBlock(205,"Guard Caller", [["redstone_block", 0], ["redstone_block", 0], ["redstone_block", 0], ["redstone_block", 0], ["redstone_block", 0], ["redstone_block",0]],19,19,0); Block.defineBlock(206, ChatColor.GOLD+ "Royal Guardian Blade", [["dragon_egg", 0], ["dragon_egg", 0], ["dragon_egg", 0], ["dragon_egg", 0], ["dragon_egg", 0], ["dragon_egg",0]],19,19,0); Block.setShape(206,0, 0, 0, 0.35,7.5, 0.95); Block.defineBlock(207, ChatColor.BLACK+ "Dragonslayer Spear", [["gold_block", 0], ["gold_block", 0], ["gold_block", 0], ["gold_block", 0], ["gold_block", 0], ["gold_block",0]],19,19,0); Block.setShape(207,-1, 0,0.5,8,0.2, 0.2); Block.defineBlock(208, ChatColor.BLACK+ "Queen Blade", [["enchanting_table_top", 0], [ "enchanting_table_top", 0], ["enchanting_table_top", 0], ["enchanting_table_top", 0], ["enchanting_table_top", 0], ["enchanting_table_top", 0]],19,19,0); Block.setShape(208,0, 0, 0, 0.35,9, 0.9); Block.defineBlock(209, ChatColor.RED+ "Big Bertha", [["enchanting_table_bottom", 0], ["enchanting_table_bottom", 0], ["enchanting_table_bottom", 0], ["enchanting_table_bottom", 0], ["enchanting_table_bottom", 0], ["enchanting_table_bottom", 0]],19,19,0); Block.setShape(209,0, 0, 0, 0.35,10, 0.94); Block.defineBlock(210, ChatColor.WHITE+ "Slice", [["enchanting_table_side", 0], ["glass", 0], ["glass", 0], ["enchanting_table_side", 0], ["enchanting_table_side", 0], ["enchanting_table_side", 0]],19,19,0); Block.setShape(210,0, 0, 0, 0.35,9.5, 0.94); ModPE.setItem(380,"record_far",0, ChatColor.BLACK+ "Chime Hammer",1); ModPE.setItem(385,"brewing_stand",0, ChatColor.RED+ "Light Saber",1); ModPE.setItem(381,"lead",0,"Story 1",1); ModPE.setItem(382,"lead",0,"Story 2",1); ModPE.setItem(384,"book_writable",0,"Diary of the lone Knight",1); ModPE.setItem(400,"ghast_tear",0,"Ender Giant Sword",1); ModPE.setItem(401,"cauldron",0, ChatColor.BLACK+ "Monking Sword",1); ModPE.setItem(402,"flower_pot",0,"Ninja Dagger",1); ModPE.setItem(403,"gold_nugget",0,"Dwarf Spear",1); ModPE.setItem(404,"ender_eye",0,"Wind Sword",1); ModPE.setItem(405,"nether_wart",0, ChatColor.BLUE+ "Zenpakuto",1); ModPE.setItem(406,"iron_horse_armor",0,"Diamond Giant Sword",1); ModPE.setItem(407,"gold_horse_armor",0,"Syringe"); ModPE.setItem(408,"gold_horse_armor",0,"Filled Syringe"); ModPE.setItem(409,"gold_horse_armor",0,"Monster Blood Filled Syringe"); ModPE.setItem(410,"ender_pearl",0,"Mystic Gem",16); ModPE.setItem(411,"ender_pearl",0,"Mystic Gem 25% Charged",16); ModPE.setItem(412,"ender_pearl",0,"Mystic Gem 50% Charged",16); ModPE.setItem(413,"ender_pearl",0,"Mystic Gem 100% Charged",16); ModPE.setItem(414,"diamond_horse_armor",0,"Iron Giant Sword",1); ModPE.setItem(415,"redstone_dust",0,"Bloody Flesh Tear I"); ModPE.setItem(416,"redstone_dust",0,"Bloody Flesh Tear II"); ModPE.setItem(417,"redstone_dust",0,"Bloody Flesh Tear III"); ModPE.setItem(418,"redstone_dust",0,"Living Mass"); ModPE.setItem(419,"empty_armor_slot_leggings",0,"Bio-Mass Stick"); ModPE.setItem(420,"name_tag",0,"Bio-Mass Giant Sword",1); ModPE.setItem(421,"redstone_dust",0,"Bio-Mass",16); ModPE.setItem(422,"nether_star",0,"Cleaver",1); ModPE.setItem(423,"iron_ingot",0,"Steel",64); ModPE.setItem(424,"diamond",0,"Hardened Diamond",16); ModPE.setItem(425,"lead",0, ChatColor.BLUE+ "Spawn Monking",1); ModPE.setItem(426,"sword",4,"Hardened Diamond Sword",1); ModPE.setItem(427,"ruby",0,"Dungeon Crystal",10); ModPE.setItem(428,"apple_golden",0,"Healing Shard",16); ModPE.setItem(429,"egg",0, ChatColor.GREEN+ "Easter Egg",1); ModPE.setItem(430,"sword",3, ChatColor.RED+ "Crazy Blade",1); ModPE.setItem(431,"lead",0, ChatColor.BLUE+"Infected PigZombie King Summoner",1); ModPE.setItem(432,"blaze_powder",0, "Soul Shard",16); ModPE.setItem(433,"blaze_powder",0, "Soul",16); ModPE.setItem(434,"hoe",4, "Soul Stealer",1); ModPE.setItem(435,"empty_armor_slot_chestplate",0,"Crafting Stone"); ModPE.setItem(436,"fireworks",0, ChatColor.BLUE+ " Soul _Eater ",1); ModPE.setItem(437,"spider_eye",0, ChatColor.BLUE+ " Blade_of_Souls ",1); ModPE.setItem(438,"empty_armor_slot_leggings",0," Living_Biomass Stick "); ModPE.setItem(439,"apple_golden",0,"OverCharged Healing Shard",16); ModPE.setItem(440,"quiver",0, ChatColor.AQUA+ "Infinity_Blade",1); ModPE.setItem(441,"boat",0, "Godly Stick"); ModPE.setItem(442,"lead",0, ChatColor.BLUE+"Call Ender Dragon Raptor Horde",1); ModPE.setItem(443,"hopper",0, ChatColor.GREEN+ "Mystic Giant Sword",1); ModPE.setItem(444,"blaze_powder",0, ChatColor.WHITE+ "Dragonborn Soul",1); ModPE.setItem(445,"blaze_powder",0, ChatColor.WHITE+ "Monking Soul",1); ModPE.setItem(446,"blaze_powder",0, ChatColor.WHITE+ "PigZombie King Soul",1); ModPE.setItem(447,"empty_armor_slot_helmet",0, ChatColor.BLACK+ "Dragonslayer Torso",1); ModPE.setItem(448,"potion_bottle_empty",0, "Empty Bottle",16); ModPE.setItem(449,"potion_bottle_splash",0, ChatColor.Yellow+ "Estus Flakon",6); ModPE.setItem(450,"book_writable",0, ChatColor.LIME+ "Boss Guide",1); ModPE.setItem(451,"sword",3, ChatColor.BLACK+ "Inected Blade",1); ModPE.setItem(452,"sword",4,"Fire Diamond Sword",1); ModPE.setItem(453,"sword",3,"Fire Gold Sword",1); ModPE.setItem(454,"sword",2,"Fire Iron Sword",1); ModPE.setItem(455,"sword",1,"Fire Stone Sword",1); ModPE.setItem(456,"sword",0,"Fire Wood Sword",1); ModPE.setItem(457,"magma_cream",0,"Fire Shlick[BUFF]",1); ModPE.setItem(459,"diamond_horse_armor",0,"Fire Iron Giant Sword",1); ModPE.setItem(460,"sword",4,"Fire Hardened Diamond Sword",1); ModPE.setItem(461,"magma_cream",0,"Sunlight Blade[BUFF]",16); ModPE.setItem(462,"sword",4,"Thunder Diamond Sword",1); ModPE.setItem(463,"sword",3,"Thunder Gold Sword",1); ModPE.setItem(464,"sword",2,"Thunder Iron Sword",1); ModPE.setItem(465,"sword",1,"Thunder Stone Sword",1); ModPE.setItem(466,"sword",0,"Thunder Wooden Sword",1); ModPE.setItem(467,"ghast_tear",0,"Thunder Ender Giant Sword",1); ModPE.setItem(468,"diamond_horse_armor",0,"Thunder Iron Giant Sword",1); ModPE.setItem(469,"sword",2,"Steel Sword",1); ModPE.setItem(470,"sword",4,"Thunder Hardened Diamond Sword",1); ModPE.setItem(471,"diamond_horse_armor",0,"Steel Giant Sword",1); ModPE.setItem(472,"diamond_horse_armor",0,"Fire Steel Giant Sword",1); ModPE.setItem(473,"diamond_horse_armor",0,"Thunder Steel Giant Sword",1); ModPE.setItem(474,"sword",2,"Fire Steel Sword",1); ModPE.setItem(475,"sword",2,"Thunder Steel Sword",1); ModPE.setItem(476,"iron_horse_armor",0,"Diamond Giant Sword",1); ModPE.setItem(477,"iron_horse_armor",0,"Fire Diamond Giant Sword",1); ModPE.setItem(478,"iron_horse_armor",0,"Thunder Diamond Giant Sword",1); ModPE.setItem(479,"blaze_powder",0,"King Soul"); ModPE.setItem(480,"slimeball",0, ChatColor.BLACK+ "Wolffang Rapier",1); ModPE.setItem(481,"record_13",0, ChatColor.BLACK+ "Minotaurus Hammer",1); ModPE.setItem(482,"blaze_powder",0, ChatColor.WHITE+ "Minotaurus Soul"); ModPE.setItem(483,"blaze_powder",0, ChatColor.WHITE+ "Cursed Wolf Soul"); ModPE.setItem(484,"lead",0, ChatColor.BLUE+"Spawn Minotaurus",1); ModPE.setItem(485,"lead",0, ChatColor.BLUE+"Cursed Wolf Bait",1); ModPE.setItem(486,"map_empty",0, ChatColor.BLACK+ "Aun_Tauns Battleaxe",1); ModPE.setItem(487,"rotten_flesh",0,"Dragonslayer Sword",1); ModPE.setItem(488,"rotten_flesh",0,"Dragonslayer Sword +1",1); ModPE.setItem(489,"rotten_flesh",0,"Dragonslayer Sword +2",1); ModPE.setItem(490,"rotten_flesh",0,"Dragonslayer Sword +3",1); ModPE.setItem(491,"rotten_flesh",0,"Dragonslayer Sword +4",1); ModPE.setItem(492,"slimeball",0, ChatColor.BLACK+ "Wolffang Rapier +1",1); ModPE.setItem(493,"slimeball",0, ChatColor.BLACK+ "Wolffang Rapier +2",1); ModPE.setItem(494,"record_13",0, ChatColor.BLACK+ "Minotaurus Hammer +1",1); ModPE.setItem(495,"record_13",0, ChatColor.BLACK+ "Minotaurus Hammer +2",1); ModPE.setItem(496,"sword",3, ChatColor.BLACK+ "Inected Blade +1",1); ModPE.setItem(497,"sword",3, ChatColor.BLACK+ "Inected Blade +2",1); ModPE.setItem(498,"cauldron",0, ChatColor.BLACK+ "Monking Sword +1",1); ModPE.setItem(499,"cauldron",0, ChatColor.BLACK+ "Monking Sword +2",1); ModPE.setItem(500,"record_strad",0, ChatColor.AQUA+ "Moonlight Great Sword",1); ModPE.setItem(501,"record_mellohi",0,"Soul Infused Crystal Dust"); ModPE.setItem(502,"record_chirp",0,"Titan Ingot"); ModPE.setItem(503,"record_wait",0, ChatColor.RED+ "Drakeblood Sword",1); ModPE.setItem(504,"record_wait",0, ChatColor.RED+ "Drakeblood Sword +1",1); ModPE.setItem(505,"record_wait",0, ChatColor.RED+ "Drakeblood Sword +2",1); ModPE.setItem(506,"record_wait",0, ChatColor.RED+ "Drakeblood Sword +3",1); ModPE.setItem(507,"record_stal",0, ChatColor.RED+ "Dragoor Blade",1); ModPE.setItem(508,"empty_armor_slot_boots",0, ChatColor.BLACK+ "Armor of the Deathless",1); ModPE.setItem(509,"fish_raw",0,"Light Saber (closed)",1); ModPE.setItem(510,"record_11",0, ChatColor.BLUE+ "LightSaber",1); ModPE.setItem(511,"fish_cooked",0,"Light Saber (closed)",1); ModPE.setItem(390,"book_writable",0,"Monlog of the Forgotten King",1); ModPE.setItem(391,"lead",0,"Forgotten King",1); ModPE.setItem(392,"book_enchanted",0, ChatColor.BLUE+ "Infinity_Blade",1); ModPE.setItem(393,"ender_pearl",0, "Ender Raptor Pet",1); ModPE.setItem(394,"blaze_powder",0, ChatColor.BLACK+ "Tower Guard Soul",1); ModPE.setItem(395,"skull_steve",0, "Flee",1); ModPE.setItem(396,"skull_skeleton",0,"Fight",1); ModPE.setItem(397,"skull_creeper",0, ChatColor.BLACK+ "Dragonslayer Axe",1); ModPE.setItem(398,"blaze_powder",0, ChatColor.GOLD+ "Royal Soul",1); ModPE.setItem(399,"blaze_powder",0, ChatColor.BLACK+ "Deathless King Soul",1); ModPE.setItem(379,"emerald",0, "pet gear",1); ModPE.setItem(378,"skull_zombie",0, ChatColor.GOLD+ "Roayl Fighting Set",1); ModPE.setItem(377,"blaze_powder",0, ChatColor.GOLD+ "King Soul",9); ModPE.setItem(376,"minecart_tnt",0, ChatColor.BLACK+ "Primal Long Sword",1); ModPE.setItem(375,"lead",0, ChatColor.BLUE+ "Fallen Hero",1); ModPE.setItem(373,"minecart_tnt",0, ChatColor.BLACK+ "Chaotic Long Sword",1); ModPE.setItem(374,"item_frame",0, ChatColor.RED+ "Abysal Whip",1); ModPE.setItem(373,"item_frame",0, ChatColor.RED+ "Abysal Whip +1",1); ModPE.setItem(372,"item_frame",0, ChatColor.RED+ "Abysal Whip +2",1); ModPE.setItem(371,"map_empty",0, ChatColor.BLACK+ "Aun_Tauns Battleaxe +1",1); ModPE.setItem(370,"map_empty",0, ChatColor.BLACK+ "Aun_Tauns Battleaxe +2",1); ModPE.setItem(369,"skull_creeper",0, ChatColor.BLACK+ "Dragonslayer Axe +1",1); ModPE.setItem(368,"skull_creeper",0, ChatColor.BLACK+ "Dragonslayer Axe +2",1); Item.addCraftRecipe(406,1,0,[435,1,0,264,1,0,264,1,0,264,1,0,264,1,0,264,1,0,280,1,0,264,1,0,435,1,0]); Item.addCraftRecipe(407,1,0,[435,3,0,20,1,0,435,1,0,20,1,0,435,1,0,20,1,0,435,1,0]); Item.addCraftRecipe(410,1,0,[435,1,0,265,1,0, 435,1,0,265,1,0,264,1,0,265,1,0,435,1,0,265,1,0,435,1,0]); Item.addCraftRecipe(414,1,0,[435,1,0,265,1,0,265,1,0,265,1,0,265,1,0,265,1,0,280,1,0,265,1,0,435,1,0]); Item.addCraftRecipe(400,1,0,[435,1,0,49,1,0,49,1,0,49,1,0,413,1,0,49,1,0,419,1,0,49,1,0,435,1,0]); Item.addCraftRecipe(383,1,12,[435,1,0,319,1,0,435,1,0,319,1,0,409,1,0,319,1,0,435,1,0,319,1,0,435,1,0]); Item.addCraftRecipe(383,1,13,[435,1,0,35,1,0,435,1,0,35,1,0,409,1,0,35,1,0,435,1,0,35,1,0,435,1,0]); Item.addCraftRecipe(383,1,11,[435,1,0,363,1,0,435,1,0,363,1,0,409,1,0,363,1,0,435,1,0,363,1,0,435,1,0]); Item.addCraftRecipe(383,1,10,[435,1,0,288,1,0,435,1,0,288,1,0,409,1,0,288,1,0,435,1,0,288,1,0,435,1,0]); Item.addCraftRecipe(383,1,95,[435,1,0,352,1,0,435,1,0,352,1,0,409,1,0,352,1,0,435,1,0,352,1,0,435,1,0]); Item.addCraftRecipe(52,1,0,[101,1,0,101,1,0,101,1,0,101,1,0,409,1,0,101,1,0,101,1,0,01,1,0,101,1,0]); Item.addCraftRecipe(415,1,0,[408,1,0,435,3,0,319,1,0,435,1,0,435,1,0,435,1,0,409,1,0]); Item.addCraftRecipe(416,1,0,[408,1,0,435,1,0,435,1,0,435,1,0,415,1,0,435,1,0,435,1,0,435,1,0,409,1,0]); Item.addCraftRecipe(417,1,0,[408,1,0,435,1,0,435,1,0,435,1,0,416,1,0,435,1,0,435,1,0,435,1,0,409,1,0]); Item.addCraftRecipe(418,1,0,[408,1,0,435,1,0,435,1,0,435,1,0,417,1,0,435,1,0,435,1,0,435,1,0,409,1,0]); Item.addCraftRecipe(421,1,0,[417,1,0,417,1,0,417,1,0,418,1,0,417,1,0,417,1,0,417,1,0,417,1,0,417,1,0]); Item.addCraftRecipe(420,1,0,[435,1,0,421,1,0,421,1,0,421,1,0,421,1,0,421,1,0,419,1,0,421,1,0,435,1,0]); Item.addCraftRecipe(422,1,0,[435,1,0,200,1,0,406,1,0,200,1,0,414,1,0,200,1,0,419,1,0,200,1,0,435,1,0]); Item.addCraftRecipe(423,1,0,[265,2,0]); Item.addCraftRecipe(426,1,0,[435,2,0,426,1,0,435,1,0,424,1,0,424,1,0,435,1,0,280,1,0,435,2,0]); Item.addCraftRecipe(419,1,0,[435,1,0,421,1,0,435,1,0,421,1,0,280,1,0,421,1,0,435,1,0,421,1,0,435,1,0]); Item.addCraftRecipe(189,1,0,[428,3,0,408,1,0,413,1,0,408,1,0,428,3,0]); Item.addCraftRecipe(190,1,0,[428,4,0,189,1,0,428,4,0]); Item.addCraftRecipe(191,1,0,[413,4,0,190,1,0,413,4,0]); Item.addCraftRecipe(427,1,0,[424,1,0,421,1,0,424,1,0,413,1,0,428,1,0,432,1,0,424,1,0,421,1,0,424,1,0]); Item.addCraftRecipe(428,1,0,[421,3,0,408,1,0,421,1,0,409,1,0,421,3,0]); Item.addCraftRecipe(402,1,0,[435,4,0,427,1,0,435,1,0,419,1,0,435,2,0]); Item.addCraftRecipe(403,1,0,[435,1,0,427,2,0,435,1,0,419,1,0,427,1,0,419,1,0,435,2,0]); Item.addCraftRecipe(404,1,0,[435,2,0,427,1,0,435,1,0,427,1,0,435,1,0,419,1,0,435,2,0]); Item.addCraftRecipe(425,1,0,[264,4,0,264,1,0,264,4,0]); Item.addCraftRecipe(424,1,0,[423,4,0,264,1,0,423,4,0]); Item.addCraftRecipe(426,1,0,[435,2,0,424,1,0,435,1,0,424,1,0,0,1,0,280,1,0,435,2,0]); Item.addCraftRecipe(430,1,0,[266,6,0,280,1,0,266,2,0]); Item.addCraftRecipe(431,1,0,[264,4,0,427,1,0,264,4,0]); Item.addCraftRecipe(432,1,0,[433,9,0]); Item.addCraftRecipe(434,1,0,[428,3,0,435,1,0,419,1,0,435,1,0,280,1,0,435,2,0]); Item.addCraftRecipe(192,1,0,[432,9,0]); Item.addCraftRecipe(438,1,0,[432,3,0,413,1,0,419,1,0,413,1,0,432,3,0]); Item.addCraftRecipe(436,1,0,[192,2,0,434,1,0,435,1,0,190,1,0,438,1,0,438,1,0,435,2,0]); Item.addCraftRecipe(437,1,0,[192,1,0,439,1,0,192,2,0,426,1,0,192,1,0,49,1,0,438,1,0,49,1,0]); Item.addCraftRecipe(439,1,0,[428,9,0]); Item.addCraftRecipe(193,1,0,[192,9,0]); Item.addCraftRecipe(440,1,0,[193,2,0,426,1,0,193,1,0,426,1,0,193,1,0,441,1,0,193,2,0]); Item.addCraftRecipe(441,1,0,[193,1,0,435,2,0,193,1,0,435,2,0,193,1,0,435,2,0]); Item.addCraftRecipe(448,3,0,[20,1,0,435,1,0,20,2,0,435,1,0,20,4,0]); Item.addCraftRecipe(449,2,0,[448,1,0,428,1,0,448,1,0]); Item.addCraftRecipe(450,1,0,[17,1,0]); Item.addCraftRecipe(194,1,0,[17,9,0]); Item.addCraftRecipe(442,1,0,[264,4,0,427,1,0,264,4,0]); Item.addCraftRecipe(457,8,0,[263,9,0]); Item.addCraftRecipe(452,1,0,[276,1,0,457,1,0]); Item.addCraftRecipe(453,1,0,[283,1,0,457,1,0]); Item.addCraftRecipe(454,1,0,[267,1,0,457,1,0]); Item.addCraftRecipe(455,1,0,[272,1,0,457,1,0]); Item.addCraftRecipe(456,1,0,[268,1,0,457,1,0]); Item.addCraftRecipe(459,1,0,[414,1,0,457,1,0]); Item.addCraftRecipe(460,1,0,[426,1,0,457,1,0]); Item.addCraftRecipe(462,1,0,[276,1,0,461,1,0]); Item.addCraftRecipe(463,1,0,[283,1,0,461,1,0]); Item.addCraftRecipe(464,1,0,[267,1,0,461,1,0]); Item.addCraftRecipe(465,1,0,[262,1,0,461,1,0]); Item.addCraftRecipe(466,1,0,[268,1,0,461,1,0]); Item.addCraftRecipe(467,1,0,[400,1,0,461,1,0]); Item.addCraftRecipe(200,1,0,[423,9,0]); Item.addCraftRecipe(468,1,0,[414,1,0,461,1,0]); Item.addCraftRecipe(469,1,0,[435,2,0,423,1,0,435,1,0,423,1,0,435,1,0,280,1,0,435,1,0]); Item.addCraftRecipe(470,1,0,[426,1,0,461,1,0]); Item.addCraftRecipe(471,1,0,[435,1,0,423,1,0,423,1,0,423,1,0,423,1,0,423,1,0,280,1,0,423,1,0,435,1,0]); Item.addCraftRecipe(472,1,0,[471,1,0,457,1,0]); Item.addCraftRecipe(473,1,0,[471,1,0,461,1,0]); Item.addCraftRecipe(474,1,0,[469,1,0,457,1,0]); Item.addCraftRecipe(475,1,0,[469,1,0,461,1,0]); Item.addCraftRecipe(442,1,0,[427,9,0]); Item.addCraftRecipe(501,2,0,[433,4,0,413,1,0,433,4,0]); Item.addCraftRecipe(500,1,0,[264,1,0,501,2,0,432,1,0,413,1,0,432,1,0,265,1,0,501,1,0,264,1,0]); Item.addCraftRecipe(488,1,0,[502,1,0,487,1,0]); Item.addCraftRecipe(489,1,0,[502,1,0,488,1,0]); Item.addCraftRecipe(490,1,0,[502,1,0,489,1,0]); Item.addCraftRecipe(491,1,0,[502,1,0,490,1,0]); Item.addCraftRecipe(492,1,0,[502,1,0,480,1,0]); Item.addCraftRecipe(493,1,0,[502,1,0,492,1,0]); Item.addCraftRecipe(494,1,0,[502,1,0,481,1,0]); Item.addCraftRecipe(495,1,0,[502,1,0,494,1,0]); Item.addCraftRecipe(496,1,0,[502,1,0,451,1,0]); Item.addCraftRecipe(497,1,0,[502,1,0,496,1,0]); Item.addCraftRecipe(498,1,0,[502,1,0,401,1,0]); Item.addCraftRecipe(499,1,0,[502,1,0,498,1,0]); Item.addCraftRecipe(201,1,0,[502,1,0,199,1,0]); Item.addCraftRecipe(202,1,0,[502,1,0,201,1,0]); Item.addCraftRecipe(502,1,0,[432,3,0,264,3,0,432,3,0]); Item.addCraftRecipe(199,1,0,[200,2,0,413,1,0,200,1,0,413,1,0,200,1,0,17,1,0,200,2,0]); Item.addCraftRecipe(504,1,0,[502,1,0,503,1,0]); Item.addCraftRecipe(505,1,0,[502,1,0,504,1,0]); Item.addCraftRecipe(506,1,0,[502,1,0,505,1,0]); Item.addCraftRecipe(381,1,0,[17,9,0]); Item.addCraftRecipe(385,1,0,[427,1,0,435,1,0,200,1,0,435,1,0,427,1,0,435,1,0,200,1,0,435,1,0,427,1,0]); Item.addCraftRecipe(486,1,0,[457,2,0,49,1,0,264,1,0,438,1,0,457,1,0,438,1,0,264,1,0,457,1,0]); Item.addCraftRecipe(487,1,0,[435,1,0,192,2,0,461,1,0,41,1,0,192,1,0,438,1,0,461,1,0,435,1,0]); Item.addCraftRecipe(510,1,0,[57,1,0,435,1,0,200,1,0,435,1,0,57,1,0,435,1,0,200,1,0,435,1,0,57,1,0]); Item.addCraftRecipe(392,1,0,[502,1,0,427,1,0,502,1,0,427,1,0,440,1,0,427,1,0,502,1,0,427,1,0,502,1,0]); Item.addCraftRecipe(379,1,0,[435,1,0,192,1,0,435,1,0,192,1,9,413,1,0,192,1,0,435,1,0,192,1,0,435,1,0]); Item.addCraftRecipe(377,1,0,[398,9,0]); Item.addCraftRecipe(206,1,0,[377,9,0]); Item.addCraftRecipe(209,1,0,[401,1,0,427,1,0,440,1,0,503,1,0,451,1,0,427,1,0,441,1,0,427,1,0,193,1,0]); Item.addCraftRecipe(210,1,0,[265,4,0,209,1,0,265,4,0]); Item.addCraftRecipe(373,1,0,[502,1,0,374,1,0]); Item.addCraftRecipe(372,1,0,[502,1,0,373,1,0]); Item.addCraftRecipe(371,1,0,[502,1,0,486,1,0]); Item.addCraftRecipe(370,1,0,[502,1,0,371,1,0]); Item.addCraftRecipe(369,1,0,[502,1,0,397,1,0]); Item.addCraftRecipe(368,1,0,[502,1,0,369,1,0]); Item.addCraftRecipe(374,1,0,[444,3,0,445,3,0,446,3,0]); function modTick() { if(Player.getArmorSlot(0)==302&& Player.getArmorSlot(1)==303&& Player.getArmorSlot(2)==304&& Player.getArmorSlot(3)==305) { Player.setHealth(Entity.getHealth(Player.getEntity())+3); } } function addDraptorToRenderer(renderer) { var var2 = 0; var model = renderer.getModel(); var bipedBody = model.getPart("body").clear().setTextureOffset(16,16); bipedBody.addBox(-5.0, 3.0, -10.0, 7, 5, 24, var2); bipedBody.addBox(-3.0, 3.0, 14.0, 3, 1, 14, var2); var bipedHead = model.getPart("head").clear().setTextureOffset(0,0); bipedHead.addBox(-4.0, 1.0, -26.0, 5, 3, 10, var2); bipedHead.addBox(-4.0, 4.0, -17.0, 5, 2, 1, var2); bipedHead.addBox(-4.0, 6.0, -23.0, 5, 1, 6, var2); bipedHead.addBox(-5.0, 4.0, -16.0, 3, 2, 4, var2); var bipedRightArm = model.getPart("rightArm").clear().setTextureOffset(40,16); bipedRightArm.addBox(-23.0, 1.0, -5.0, 20, 1, 4, var2); bipedRightArm.addBox(-20.0, 1.0, -1.0, 17, 1, 4, var2); bipedRightArm.addBox(-16.0, 1.0, -3.0, 13, 1, 3, var2); var bipedLeftArm = model.getPart("leftArm").clear().setTextureOffset(40, 16); bipedLeftArm.addBox(4.0, 1.0, -5.0, 20, 1, 4, var2); bipedLeftArm.addBox(4.0, 1.0, -1.0, 17, 1, 4, var2); bipedLeftArm.addBox(4.0, 1.0, 3.0, 13, 1, 3, var2); var bipedRightLeg = model.getPart("rightLeg").clear().setTextureOffset(0, 16); bipedRightLeg.addBox(-3.0, 8.0, -1.0, 3, 5, 3, var2); bipedRightLeg.addBox(-3.0, 13.0, -3.0, 3, 1, 4, var2); var bipedLeftLeg = model.getPart("leftLeg").clear().setTextureOffset(0, 16); bipedLeftLeg.addBox(1.0, 8.0, -1.0, 3, 5, 3, var2); bipedLeftLeg.addBox(1.0, 13.0, -3.0, 3, 1, 4, var2); } var DraptorRenderer = Renderer.createHumanoidRenderer(); addDraptorToRenderer(DraptorRenderer); function addGolemToRenderer(renderer) { var var2 = 0; var model = renderer.getModel(); var bipedBody = model.getPart("body").clear().setTextureOffset(56, 0); bipedBody.addBox(-4.0, -16.0, -2.0, 20, 15, -15, var2); bipedBody.addBox(-2.0, -1.0, -2.0, 12, 5, 10, var2); bipedBody.addBox(-4.0, -16.0, 2.0, 20, 15, -15, var2); var bipedHead = model.getPart("head").clear().setTextureOffset(56, 0); bipedBody.addBox(-1.0, -27.0, -3.0, 10, 12, 10, var2); bipedBody.addBox(2.6, -18.8, -4.5, 3, -13, 20, var2); var bipedRightArm = model.getPart("rightArm").clear().setTextureOffset(56, 0); bipedRightArm.addBox(-7.0, -16.0, -2.0, 6, 42, 8, var2); var bipedLeftArm = model.getPart("leftArm").clear().setTextureOffset(56, 0); bipedLeftArm.addBox(10.0, -16.0, -2.0, 6, 42, 8, var2); var bipedRightLeg = model.getPart("rightLeg").clear().setTextureOffset(56, 0); bipedRightLeg.addBox(8.0, -8.0, -1.0, 6.5, 20, 9, var2); var bipedLeftLeg = model.getPart("leftLeg").clear().setTextureOffset(56, 0); bipedLeftLeg.addBox(-6, -8.0, -1.0, 6.5, 20, 9, var2); } var golemRenderer = Renderer.createHumanoidRenderer(); addGolemToRenderer(golemRenderer); var block1 = 49; var block2 = 49; function useItem(x, y, z, itemId, blockId) { if(itemId==396&&blockId) { clientMessage("Forgotten King:You dare fighting me, little Kid. Then this was your last mistake."); var king = Level.spawnMob (x, y+1, z, 35, "mob/king.png"); Entity.setHealth(king, 2000); Entity.setRenderType(king,3); Entity.setCarriedItem (king, 392, 1, 0); Entity.setNameTag(king, "Forgotten King[SecretBOSS]"); Player.addItemInventory(396, -1); } if(itemId==395&&blockId) { clientMessage("Forgotten King: You are right to run away, Little Kid......"); Player.addItemInventory(395, -1); Player.addItemInventory(396, -1); } if(itemId==391&&blockId) { clientMessage("Forgotten King: What are you doing here little Kid.I've killed hundreds of warriors which were stronger than you.Do you want to fight me? Choose your Answer....."); Player.addItemInventory(395, +1); Player.addItemInventory(396, +1); } if(itemId==393&&blockId) { var dpet = Level.spawnMob(x, y + 1, z, 14,"mob/enderman.png"); Entity.setHealth(dpet, 500); Entity.setRenderType(dpet, DraptorRenderer .renderType); Entity.setNameTag(dpet, "Ender Raptor[Pet]"); } if(itemId&&blockId==203) { clientMessage( "Tap this with Infinity Blade"); } if(itemId==384&&blockId) { clientMessage( "Friday:Dear Diary, the Villigers in the Forest think i'm crazy, because I want to fight the army of Pigman.....Monday:I think the are searching for me but I have to find the grave of the old Deathless Pig Zombie King....Saturday: This is are my last words: Please anyone who will find this diary, find the long hidden grave of the Deathless King."); } if(itemId==438&&blockId==204) { clientMessage( "The Stick and the Bell are now Connected."); Player.addItemInventory(380, +1); setTile(x, y, z, 0); } if(itemId==381&&blockId) { clientMessage( "A long time ago the army of the Deathless Pigman Zombie King invaded this land. The Villagers have been forced to hide in the forest.His grave is hidden deep in the forest"); } if(itemId==382&&blockId) { clientMessage( "This must be the Portal to the Pig Man World. It looks broken. I must kill every pig Man in this forest."); } if(itemId==375&&blockId) { var fallen = Level.spawnMob (x, y, z, 35, "mob/fallen.png"); Entity.setHealth(fallen, 9000); Entity.setRenderType(fallen,3); Entity.setNameTag(fallen, "Fallen Hero[SecretBOSS]"); } if(itemId&&blockId==204) { clientMessage( "A Hint: It looks like an very old Bell.I think it could be removed if i tap with an living Bio-Mass Stick"); } if(itemId==440&&blockId==203) { clientMessage("Die now weak human. No you are fighting a Deathless.Once I ruled over this land together with a Hero who now is called the fallen.But he betrayed me and burried me in this grave."); clientMessage("Majula: Oh no, young Adventurer, you have awekened the long forgotten Deathless King of Zombie Pigmen.One of the Hidden Boss Fights."); Player.addItemInventory(508, +1); var death = Level.spawnMob (x, y, z, 35, "mob/deathless.png"); Entity.setHealth(death, 1000); Entity.setRenderType(death,3); Entity.setCarriedItem (death, 440, 1, 0); Entity.setNameTag(guard, "Deathless Pig Zombie King[SecretBOSS]"); } if(itemId&&blockId==205) { clientMessage("Majula: You have called the three tower Guards.One of the secret boss Fights."); var guard = Level.spawnMob (x, y, z, 36, "mob/deathless.png"); Entity.setHealth(guard, 480); Entity.setCarriedItem (guard, 199, 1, 0); Entity.setNameTag(guard, "Tower Guard[SecretBOSS]"); var guard = Level.spawnMob (x, y, z, 36, "mob/deathless.png"); Entity.setCarriedItem (guard, 199, 1, 0); Entity.setNameTag(guard, "TowerGuard[SecretBOSS]"); var guard = Level.spawnMob (x, y, z, 36, "mob/deathless.png"); Entity.setHealth(guard, 480); Entity.setCarriedItem (guard, 199, 1, 0); Entity.setNameTag(guard, "Tower Guard[SecretBOSS]"); setTile(x, y, z, 0); } if(itemId==206&&blockId) { preventDefault(); } if(itemId==207&&blockId) { preventDefault(); } if(itemId==202&&blockId) { preventDefault(); } if(itemId==201&&blockId) { preventDefault(); } if(itemId==394&&blockId) { Player.addItemInventory(394, -1); Player.addItemInventory(199, +1); } if(itemId==511&&blockId) { Player.addItemInventory(511, -1); Player.addItemInventory(510, +1); } if(itemId==510&&blockId) { Player.addItemInventory(511, +1); Player.addItemInventory(510, -1); } if(itemId==509&&blockId) { Player.addItemInventory(385, +1); Player.addItemInventory(509, -1); } if(itemId==385&&blockId) { Player.addItemInventory(385, -1); Player.addItemInventory(509, +1); } if(itemId==210&&blockId) { preventDefault(); } if(itemId==209&&blockId) { preventDefault(); } if(itemId==208&&blockId) { preventDefault(); } if(itemId==199&&blockId) { preventDefault(); } if(itemId==450&&blockId==194) { clientMessage( "????: Welcome young Adventurer this jurney won't be easy but I will guide you through it. My name is Majula.And I hope you will help me get rid of the Zombie Pigman Invasion." ); setTile(x, y, z, 195); } if(itemId==450&&blockId==195) { clientMessage( "Majula: The first Boss you should fight is the Monking. He has 500 Hitpoints but his attacks are weak." ); clientMessage("Majula: You willget a Soul by killing him. Tap it on this Block for getting the Monking Sword."); setTile(x, y, z, 196); } if(itemId==450&&blockId==196) { clientMessage( "Majula: Im proud of you. But there are more Bosses to defeat. Take time to prepair yourself for the fight against the Infected PigZombie King and his Army. I'll give you one hint: the King is the only one, holding a diamond sword. " ); setTile(x, y, z, 197); } if(itemId==450&&blockId==197) { clientMessage( "Majula: You have to take down the horde of Ender Dragon Raptors . They are smart and very strong."); setTile(x, y, z, 198); } if(itemId==450&&blockId==198) { clientMessage( "Majula:Young Adventurer it looks like someone opened the gate to Hell.You have to stop the escaped Biests.Start with the Terrifying Minotaurus.WIP "); setTile(x, y, z, 202); } if(itemId==450&&blockId==202) { clientMessage( "Majula:Its unbelivable that you have taken down this Biest.But the next One is a creature, which had hunted Heros like you since the Beginning of Time.WIP"); setTile(x, y, z, 203); } if(itemId==390&&blockId) { clientMessage( "Forgotten King: Now nobody nows who I am. But a long time ago I was the King of these land. I have created many legendary Weapons and ruled over hundreds of soldiers. But then a Hero ,whos name is now forgotten like me, has beaten me and thought that he had killed me but now I am forced to hide under the Earth.But one day I will get my revenge."); } if(itemId==450&&blockId==203) { clientMessage( "Majula:Gradulations young Hero."); setTile(x, y, z, 194); } if(itemId==0&&blockId) { Entity.setMobSkin(Player.getEntity(), "mob/char.png"); Player.addItemInventory(435, +64); } if(itemId==485&&blockId) { clientMessage( "Oh no, the Hunter of Heros is here.") Player.addItemInventory(483, +1); Player.addItemInventory(485, -1); } if(itemId==484&&blockId) { clientMessage( "Hide Yourself young Hero, the Minotaurus has invaded your World") Player.addItemInventory(482, +1); Player.addItemInventory(484, -1); } if(itemId==378){ Player.setArmorSlot(0, 378, 0); Player.setHealth(Entity.getHealth(Player.getEntity()) +600); Entity.setMobSkin(Player.getEntity(), "mob/kingar.png"); Player.addItemInventory(378, -1); } if(itemId==447){ Player.setArmorSlot(0, 447, 0); Player.setHealth(Entity.getHealth(Player.getEntity()) +200); Entity.setMobSkin(Player.getEntity(), "mob/dslayer.png"); Player.addItemInventory(447, -1); } if(itemId==508){ Player.setArmorSlot(0, 508, 0); Entity.setMobSkin(Player.getEntity(), "mob/deathless.png"); Player.setHealth(Entity.getHealth(Player.getEntity()) +400); Player.addItemInventory(508, -1); } if(itemId==402&&blockId) { setPosition(getPlayerEnt(), x, y+3, z); clientMessage( "teleported Player to Position" ); } if(itemId==405&&blockId) { setPosition(getPlayerEnt(), x, y+2, z-6); clientMessage( "Shadowstep performed" ); } if(itemId==407&&blockId) { Player.setHealth(Entity.getHealth(Player.getEntity()) -19); Player.addItemInventory(407, -1); Player.addItemInventory(408, +1); } if(itemId==482&&blockId) { Player.addItemInventory(481, +1); Player.addItemInventory(482, -1); } if(itemId==483&&blockId) { Player.addItemInventory(480, +1); Player.addItemInventory(483, -1); } if(itemId==445&&blockId) { Player.addItemInventory(401, +1); Player.addItemInventory(445, -1); } if(itemId==446&&blockId) { Player.addItemInventory(451, +1); Player.addItemInventory(446, -1); } if(itemId==444&&blockId) { Player.addItemInventory(447, +1); Player.addItemInventory(503, +1); Player.addItemInventory(444, -1); } if(itemId==0&&blockId==191) { Player.setHealth(20); } if(itemId==418&&blockId) { Player.setHealth(Entity.getHealth(Player.getEntity()) -10); } if(itemId==449&&blockId) { Player.setHealth(20); Player.addItemInventory(449, -1); } if(itemId==442&&blockId ) { clientMessage("Young Adventurer, run they are coming"); var Dg = Level.spawnMob(x, y + 1, z, 35,"mob/enderman.png"); Player.addItemInventory(444, +1); Entity.setHealth(Dg,500); Entity.setRot(Dg, 100, 1000) Entity.setRenderType(spider, DraptorRenderer .renderType); Entity.setRenderType(Dg, DraptorRenderer .renderType); var Dg = Level.spawnMob(x, y + 1, z, 35,"mob/enderman.png"); Player.addItemInventory(444, +1); Entity.setHealth(Dg,500); Entity.setRot(Dg, 100, 1000) Entity.setRenderType(Dg, DraptorRenderer .renderType); var Dg = Level.spawnMob(x, y + 1, z, 35,"mob/enderman.png"); Player.addItemInventory(444, +1); Entity.setHealth(Dg,500); Entity.setRot(Dg, 100, 1000) Entity.setRenderType(Dg, DraptorRenderer .renderType); var Dg = Level.spawnMob(x, y + 1, z, 35,"mob/enderman.png"); Player.addItemInventory(444, +1); Entity.setHealth(Dg,500); Entity.setRot(Dg, 100, 1000) Entity.setRenderType(Dg, DraptorRenderer .renderType); var Dg = Level.spawnMob(x, y-1, z, 35,"mob/enderman.png" ); Entity.setRot(spider, 100, 1000); Entity.setHealth(spider,500); Entity.setRenderType(Dg, DraptorRenderer .renderType); Player.addItemInventory(442, -1); } if(itemId==425&&blockId ) { clientMessage("Runnnn dump little weakling or I will crush you!!!!!"); Player.addItemInventory(445, +1); var spider = Level.spawnMob(x, y-1, z, 35,"mob/wolf.png" ); Entity.setHealth(spider,500); Entity.setRenderType(spider, golemRenderer .renderType); Entity.setNameTag(spider, "Monking[BOSS]"); Level.destroyBlock(x,y,z,false); setTile(x,y-1,z,0); Level.destroyBlock(x,y-2,z,false); setTile(x+1,y-1,z,0); setTile(x-1,y-1,z,0); Player.addItemInventory(425, -1); } if(itemId==431) { clientMessage("You have come far, but now you have to take it up with my army"); Player.addItemInventory(446, +1); var Inf = Level.spawnMob (x, y, z, 36, "mob/skeleton.png"); Entity.setHealth(Inf, 300); Entity.setRenderType(Inf,3); Entity.setCarriedItem (Inf, 276, 1, 0); Entity.setNameTag(Inf, "Infected PigZombie King[BOSS]"); var min = Level.spawnMob (x, y, z, 36, "mob/Zombie.png"); Entity.setHealth(min, 120); Entity.setRenderType(min,3); Entity.setCarriedItem (min, 267, 1, 0); var min = Level.spawnMob (x, y, z, 36, "mob/Zombie.png"); Entity.setHealth(min, 120); Entity.setRenderType(min,3); Entity.setCarriedItem (min, 267, 1, 0); var min = Level.spawnMob (x, y, z, 36, "mob/Zombie.png"); Entity.setHealth(min, 120); Entity.setRenderType(min,3); Entity.setCarriedItem (min, 267, 1, 0); var min = Level.spawnMob (x, y, z, 36, "mob/Zombie.png"); Entity.setHealth(min, 120); Entity.setRenderType(min,3); Entity.setCarriedItem (min, 267, 1, 0); var min = Level.spawnMob (x, y, z, 36, "mob/Zombie.png"); Entity.setHealth(min, 120); Entity.setRenderType(min,3); Entity.setCarriedItem (min, 267, 1, 0); var min = Level.spawnMob (x, y, z, 36, "mob/Zombie.png"); Entity.setHealth(min, 120); Entity.setRenderType(min,3); Entity.setCarriedItem (min, 267, 1, 0); var min = Level.spawnMob (x, y, z, 36, "mob/Zombie.png"); Entity.setHealth(min, 120); Entity.setRenderType(min,3); Entity.setCarriedItem (min, 267, 1, 0); var min = Level.spawnMob (x, y, z, 36, "mob/Zombie.png"); Entity.setHealth(min, 120); Entity.setRenderType(min,3); Entity.setCarriedItem (min, 267, 1, 0); var min = Level.spawnMob (x, y, z, 36, "mob/Zombie.png"); Entity.setHealth(min, 120); Entity.setRenderType(min,3); Entity.setCarriedItem (min, 267, 1, 0); var min = Level.spawnMob (x, y, z, 36, "mob/Zombie.png"); Entity.setHealth(min, 120); Entity.setRenderType(min,3); Entity.setCarriedItem (min, 267, 1, 0); addItemInventory(431, -1); var min = Level.spawnMob (x, y, z, 36, "mob/Zombie.png"); Entity.setHealth(min, 120); Entity.setRenderType(min,3); Entity.setCarriedItem (min, 267, 1, 0); var min = Level.spawnMob (x, y, z, 36, "mob/Zombie.png"); Entity.setHealth(min, 120); Entity.setRenderType(min,3); Entity.setCarriedItem (min, 267, 1, 0); var min = Level.spawnMob (x, y, z, 36, "mob/Zombie.png"); Entity.setHealth(min, 120); Entity.setRenderType(min,3); Entity.setCarriedItem (min, 267, 1, 0); var min = Level.spawnMob (x, y, z, 36, "mob/Zombie.png"); Entity.setHealth(min, 120); Entity.setRenderType(min,3); Entity.setCarriedItem (min, 267, 1, 0); addItemInventory(431, -1); var min = Level.spawnMob (x, y, z, 36, "mob/Zombie.png"); Entity.setHealth(min, 120); Entity.setRenderType(min,3); Entity.setCarriedItem (min, 267, 1, 0); var min = Level.spawnMob (x, y, z, 36, "mob/Zombie.png"); Entity.setHealth(min, 120); Entity.setRenderType(min,3); Entity.setCarriedItem (min, 267, 1, 0); var min = Level.spawnMob (x, y, z, 36, "mob/Zombie.png"); Entity.setHealth(min, 120); Entity.setRenderType(min,3); Entity.setCarriedItem (min, 267, 1, 0); var min = Level.spawnMob (x, y, z, 36, "mob/Zombie.png"); Entity.setHealth(min, 120); Entity.setRenderType(min,3); Entity.setCarriedItem (min, 267, 1, 0); var min = Level.spawnMob (x, y, z, 36, "mob/Zombie.png"); Entity.setHealth(min, 120); Entity.setRenderType(min,3); Entity.setCarriedItem (min, 267, 1, 0); var min = Level.spawnMob (x, y, z, 36, "mob/Zombie.png"); Entity.setHealth(min, 120); Entity.setRenderType(min,3); Entity.setCarriedItem (min, 267, 1, 0); addItemInventory(431, -1); } } var spider = 35 var king = 35; function attackHook(attacker,victim) { if(Player.getCarriedItem()==400) { Entity.setHealth(victim,Entity.getHealth(victim) -20); } if(Player.getCarriedItem()==401) { Entity.setHealth(victim,Entity.getHealth(victim) -26); } if(Player.getCarriedItem()==402) { Entity.setHealth(victim,Entity.getHealth(victim) -5); } if(Player.getCarriedItem()==403) { Entity.setHealth(victim,Entity.getHealth(victim) -21); } if(Player.getCarriedItem()==404) { Entity.setHealth(victim,Entity.getHealth(victim) -22); } if(Player.getCarriedItem()==405) { Entity.setHealth(victim,Entity.getHealth(victim) -17); } if(Player.getCarriedItem()==406) { Entity.setHealth(victim,Entity.getHealth(victim) -16); } if(Player.getCarriedItem()==407) { Entity.setHealth(victim,Entity.getHealth(victim) -1); Player.addItemInventory(407, -1); Player.addItemInventory(409, +1); } if(Player.getCarriedItem()==410) { Entity.setHealth(victim,Entity.getHealth(victim) -0); Player.addItemInventory(410, -1); Player.addItemInventory(411, +1); } if(Player.getCarriedItem()==411) { Entity.setHealth(victim,Entity.getHealth(victim) -0); Player.addItemInventory(411, -1); Player.addItemInventory(412, +1); } if(Player.getCarriedItem()==412) { Entity.setHealth(victim,Entity.getHealth(victim) -0); Player.addItemInventory(412, -1); Player.addItemInventory(413, +1); } if(Player.getCarriedItem()==414) { Entity.setHealth(victim,Entity.getHealth(victim) -13); } if(Player.getCarriedItem()==420) { Entity.setHealth(victim,Entity.getHealth(victim) -23); Entity.setHealth(attacker,Entity.getHealth(attacker) +4); } if(Player.getCarriedItem()==422) { Entity.setHealth(victim,Entity.getHealth(victim) -27); Entity.setHealth(attacker,Entity.getHealth(attacker) -1); Player.addItemInventory(415, +1); } if(Player.getCarriedItem()==426) { Entity.setHealth(victim,Entity.getHealth(victim) -16); } if(Player.getCarriedItem()==430) { Entity.setHealth(victim,Entity.getHealth(victim) -19); } if(Player.getCarriedItem()==434) { Entity.setHealth(victim,Entity.getHealth(victim) -5); Player.addItemInventory(433, +1); } if(Player.getCarriedItem()==436) { Entity.setHealth(victim,Entity.getHealth(victim) -28); Player.addItemInventory(433, +2); } if(Player.getCarriedItem()==437) { Entity.setHealth(victim,Entity.getHealth(victim) -28); Player.addItemInventory(433, +2); } if(Player.getCarriedItem()==440) { Entity.setHealth(victim,Entity.getHealth(victim) -40); Player.addItemInventory(433, +8); } if(Player.getCarriedItem()==443) { Entity.setHealth(victim,Entity.getHealth(victim) -36); Entity.setFireTicks(victim, 3); } if(Player.getCarriedItem()==451) { Entity.setHealth(victim,Entity.getHealth(victim) -28); } if(Player.getCarriedItem()==199) { Entity.setHealth(victim,Entity.getHealth(victim) -40); } if(Player.getCarriedItem()==452) { Entity.setHealth(victim,Entity.getHealth(victim) -7); Entity.setFireTicks(victim, 40); Player.addItemInventory(276, +1); Player.addItemInventory(452, -1); } if(Player.getCarriedItem()==453) { Entity.setHealth(victim,Entity.getHealth(victim) -4); Entity.setFireTicks(victim, 40); Player.addItemInventory(283, +1); Player.addItemInventory(453, -1); } if(Player.getCarriedItem()==454) { Entity.setHealth(victim,Entity.getHealth(victim) -6); Entity.setFireTicks(victim, 40); Player.addItemInventory(267, +1); Player.addItemInventory(454, -1); } if(Player.getCarriedItem()==379) { Entity.setHealth(victim, 100); Entity.setMobSkin(victim, "mob/enderman.png"); Entity.setRot(victim, 100, 1000) Entity.setAnimalAge(victim, 50); Entity.setNameTag(victim, "Ender Raptor geared[Pet]"); Player.addItemInventory(379, -1); } if(Player.getCarriedItem()==455) { Entity.setHealth(victim,Entity.getHealth(victim) -5); Entity.setFireTicks(victim, 40); Player.addItemInventory(272, +1); Player.addItemInventory(455, -1); } if(Player.getCarriedItem()==456) { Entity.setHealth(victim,Entity.getHealth(victim) -6); clientMessage("The Wooden Sword turned into ash, but the Damage was increased"); Entity.setFireTicks(victim, 40); Player.addItemInventory(456, -1); } if(Player.getCarriedItem()==459) { Entity.setHealth(victim,Entity.getHealth(victim) -14); Entity.setFireTicks(victim, 40); Player.addItemInventory(414, +1); Player.addItemInventory(459, -1); } if(Player.getCarriedItem()==460) { Entity.setHealth(victim,Entity.getHealth(victim) -16); Entity.setFireTicks(victim, 40); Player.addItemInventory(426, +1); Player.addItemInventory(460, -1); } if(Player.getCarriedItem()==462) { Entity.setHealth(victim,Entity.getHealth(victim) -9); Player.addItemInventory(276, +1); Player.addItemInventory(462, -1); } if(Player.getCarriedItem()==463) { clientMessage("The Damage Buff was increased because your weapon is made out of metal"); Entity.setHealth(victim,Entity.getHealth(victim) -7); Player.addItemInventory(283, +1); Player.addItemInventory(463, -1); } if(Player.getCarriedItem()==464) { clientMessage("The Damage Buff was increased because your weapon is made out of metal"); Entity.setHealth(victim,Entity.getHealth(victim) -9); Player.addItemInventory(267, +1); Player.addItemInventory(464, -1); } if(Player.getCarriedItem()==465) { clientMessage("The Damage Buff was decreased because your weapon is made out of stone"); Entity.setHealth(victim,Entity.getHealth(victim) -6.5); Player.addItemInventory(262, +1); Player.addItemInventory(465, -1); } if(Player.getCarriedItem()==466) { Entity.setHealth(victim,Entity.getHealth(victim) -6); Player.addItemInventory(268, +1); Player.addItemInventory(466, -1); } if(Player.getCarriedItem()==467) { Entity.setHealth(victim,Entity.getHealth(victim) -24); Player.addItemInventory(400, +1); Player.addItemInventory(467, -1); } if(Player.getCarriedItem()==468) { clientMessage("The Damage Buff was increased because your weapon is made out of metal"); Entity.setHealth(victim,Entity.getHealth(victim) -18); Player.addItemInventory(414, +1); Player.addItemInventory(468, -1); } if(Player.getCarriedItem()==469) { Entity.setHealth(victim,Entity.getHealth(victim) -9); } if(Player.getCarriedItem()==470) { Entity.setHealth(victim,Entity.getHealth(victim) -18); Player.addItemInventory(426, +1); Player.addItemInventory(470, -1); } if(Player.getCarriedItem()==471) { Entity.setHealth(victim,Entity.getHealth(victim) -18); } if(Player.getCarriedItem()==472) { Entity.setHealth(victim,Entity.getHealth(victim) -18); Entity.setFireTicks(victim, 40); Player.addItemInventory(471, +1); Player.addItemInventory(472, -1); } if(Player.getCarriedItem()==473) { Entity.setHealth(victim,Entity.getHealth(victim) -22); clientMessage("The Damage Buff was increased because your weapon is made out of metal"); Player.addItemInventory(471, +1); Player.addItemInventory(473, -1); } if(Player.getCarriedItem()==474) { Entity.setHealth(victim,Entity.getHealth(victim) -9); Entity.setFireTicks(victim, 40); Player.addItemInventory(469, +1); Player.addItemInventory(474, -1); } if(Player.getCarriedItem()==475) { Entity.setHealth(victim,Entity.getHealth(victim) -13); clientMessage("The Damage Buff was increased because your weapon is made out of metal"); Player.addItemInventory(469, +1); Player.addItemInventory(475, -1); } if(Player.getCarriedItem()==476) { Entity.setHealth(victim,Entity.getHealth(victim) -18); } if(Player.getCarriedItem()==477) { Entity.setHealth(victim,Entity.getHealth(victim) -18); Entity.setFireTicks(victim, 40); Player.addItemInventory(476, +1); Player.addItemInventory(477, -1); } if(Player.getCarriedItem()==478) { Entity.setHealth(victim,Entity.getHealth(victim) -20); Player.addItemInventory(476, +1); Player.addItemInventory(478, -1); } if(Player.getCarriedItem()==479) { Entity.setHealth(victim,Entity.getHealth(victim) -26); } if(Player.getCarriedItem()==480) { Entity.setHealth(victim,Entity.getHealth(victim) -32); } if(Player.getCarriedItem()==481) { Entity.setHealth(victim,Entity.getHealth(victim) -32); } if(Player.getCarriedItem()==486) { Entity.setHealth(victim,Entity.getHealth(victim) -34); Entity.setFireTicks(victim, 15); } if(Player.getCarriedItem()==487) { Entity.setHealth(victim,Entity.getHealth(victim) -30); Entity.setFireTicks(victim, 9); } if(Player.getCarriedItem()==488) { Entity.setHealth(victim,Entity.getHealth(victim) -34); Entity.setFireTicks(victim, 9); } if(Player.getCarriedItem()==489) { Entity.setHealth(victim,Entity.getHealth(victim) -38); Entity.setFireTicks(victim, 9); } if(Player.getCarriedItem()==490) { Entity.setHealth(victim,Entity.getHealth(victim) -43); Entity.setFireTicks(victim, 9); } if(Player.getCarriedItem()==491) { Entity.setHealth(victim,Entity.getHealth(victim) -48); Entity.setFireTicks(victim, 9); } if(Player.getCarriedItem()==201) { Entity.setHealth(victim,Entity.getHealth(victim) -45); } if(Player.getCarriedItem()==202) { Entity.setHealth(victim,Entity.getHealth(victim) -50); } if(Player.getCarriedItem()==492) { Entity.setHealth(victim,Entity.getHealth(victim) -33); } if(Player.getCarriedItem()==493) { Entity.setHealth(victim,Entity.getHealth(victim) -35); } if(Player.getCarriedItem()==494) { Entity.setHealth(victim,Entity.getHealth(victim) -34); } if(Player.getCarriedItem()==495) { Entity.setHealth(victim,Entity.getHealth(victim) -35); } if(Player.getCarriedItem()==496) { Entity.setHealth(victim,Entity.getHealth(victim) -37); } if(Player.getCarriedItem()==497) { Entity.setHealth(victim,Entity.getHealth(victim) -42); } if(Player.getCarriedItem()==498) { Entity.setHealth(victim,Entity.getHealth(victim) -37); } if(Player.getCarriedItem()==499) { Entity.setHealth(victim,Entity.getHealth(victim) -42); } if(Player.getCarriedItem()==500) { Entity.setHealth(victim,Entity.getHealth(victim) -28); } if(Player.getCarriedItem()==503) { Entity.setHealth(victim,Entity.getHealth(victim) -38); Entity.setFireTicks(victim, 7); } if(Player.getCarriedItem()==504) { Entity.setHealth(victim,Entity.getHealth(victim) -42); Entity.setFireTicks(victim, 7); } if(Player.getCarriedItem()==505) { Entity.setHealth(victim,Entity.getHealth(victim) -46); Entity.setFireTicks(victim, 7); } if(Player.getCarriedItem()==506) { Entity.setHealth(victim,Entity.getHealth(victim) -50); Entity.setFireTicks(victim, 7); } if(Player.getCarriedItem()==507) { Entity.setHealth(victim,Entity.getHealth(victim) -30); Entity.setFireTicks(victim, 40); } if(Player.getCarriedItem()==380) { Entity.setHealth(victim,Entity.getHealth(victim) -34); } if(Player.getCarriedItem()==206) { Entity.setHealth(victim,Entity.getHealth(victim) -750); } if(Player.getCarriedItem()==385) { Entity.setHealth(victim,Entity.getHealth(victim) -30); } if(Player.getCarriedItem()==510) { Entity.setHealth(victim,Entity.getHealth(victim) -30); } if(Player.getCarriedItem()==392) { Entity.setHealth(victim,Entity.getHealth(victim) -50); } if(Player.getCarriedItem()==207) { Entity.setHealth(victim,Entity.getHealth(victim) -46); } if(Player.getCarriedItem()==397) { Entity.setHealth(victim,Entity.getHealth(victim) -40); } if(Player.getCarriedItem()==208) { Entity.setHealth(victim,Entity.getHealth(victim) -1000); } if(Player.getCarriedItem()==209) { Entity.setHealth(victim,Entity.getHealth(victim) -550); Entity.setFireTicks(victim, 40); } if(Player.getCarriedItem()==210) { Entity.setHealth(victim,Entity.getHealth(victim) -650); Entity.setFireTicks(victim, 40); } if(Entity.getEntityTypeId(victim)==king) { Entity.setRenderType(king,3); Entity.setMobSkin(king, "mob/kingar.png"); } if(Player.getCarriedItem()==376) { Entity.setHealth(victim,Entity.getHealth(victim) -504); } if(Player.getCarriedItem()==374) { Entity.setHealth(victim,Entity.getHealth(victim) -74); } if(Player.getCarriedItem()==373) { Entity.setHealth(victim,Entity.getHealth(victim) -304); } if(Player.getCarriedItem()==374) { Entity.setHealth(victim,Entity.getHealth(victim) -77); } if(Player.getCarriedItem()==374) { Entity.setHealth(victim,Entity.getHealth(victim) -80); } if(Player.getCarriedItem()==471) { Entity.setHealth(victim,Entity.getHealth(victim) -40); Entity.setFireTicks(victim, 15); } if(Player.getCarriedItem()==470) { Entity.setHealth(victim,Entity.getHealth(victim) -47); Entity.setFireTicks(victim, 15); } if(Player.getCarriedItem()==369) { Entity.setHealth(victim,Entity.getHealth(victim) -44); } if(Player.getCarriedItem()==368) { Entity.setHealth(victim,Entity.getHealth(victim) -48); } }
GitHub Repo
https://github.com/Nixy1234/dfdfd