Skip to content

Instantly share code, notes, and snippets.

@downslope7
Created December 30, 2014 20:38
Show Gist options
  • Save downslope7/e1b6ed7514f61c06ea5a to your computer and use it in GitHub Desktop.
Save downslope7/e1b6ed7514f61c06ea5a to your computer and use it in GitHub Desktop.
mystcraft 0.11.0.00 - ink effect probabilities
public static void init() {
registerProperty("Intra Linking", new Color(0.0F, 1.0F, 0.0F));
registerProperty("Generate Platform", new Color(0.5F, 0.5F, 0.5F));
registerProperty("Maintain Momentum", new Color(0.0F, 0.0F, 1.0F));
registerProperty("Disarm", new Color(1.0F, 0.0F, 0.0F));
registerProperty("Relative", new Color(0.6F, 0.0F, 0.6F));
addPropertyToItem(new ItemStack(Items.gunpowder), "Disarm", 0.2F);
addPropertyToItem(new ItemStack(Items.mushroom_stew), "Disarm", 0.05F);
addPropertyToItem(new ItemStack(Items.clay_ball), "Generate Platform", 0.25F);
addPropertyToItem(new ItemStack(Items.experience_bottle), "Intra Linking", 0.15F);
addPropertyToItem("dyeBlack", "", 0.5F);
addPropertyToItem(new ItemStack(Items.ender_pearl), "Intra Linking", 0.15F);
addPropertyToItem(new ItemStack(Items.ender_pearl), "Disarm", 0.15F);
addPropertyToItem(new ItemStack(Items.feather), "Maintain Momentum", 0.15F);
addPropertyToItem(Items.fire_charge, "Disarm", 0.25F);
addPropertyToItem("dustBrass", "Disarm", 0.15F);
addPropertyToItem("dustBronze", "Disarm", 0.15F);
addPropertyToItem("dustTin", "Generate Platform", 0.1F);
addPropertyToItem("dustTin", "Intra Linking", 0.1F);
addPropertyToItem("dustIron", "Generate Platform", 0.15F);
addPropertyToItem("dustIron", "Intra Linking", 0.15F);
addPropertyToItem("dustLead", "Disarm", 0.2F);
addPropertyToItem("dustLead", "Intra Linking", 0.2F);
addPropertyToItem("dustSilver", "Generate Platform", 0.2F);
addPropertyToItem("dustSilver", "Intra Linking", 0.2F);
addPropertyToItem("dustDiamond", "Intra Linking", 0.25F);
addPropertyToItem("dustDiamond", "Maintain Momentum", 0.1F);
addPropertyToItem("dustDiamond", "Generate Platform", 0.1F);
addPropertyToItem("dustGold", "Intra Linking", 0.25F);
addPropertyToItem("dustGold", "Generate Platform", 0.1F);
addPropertyToItem("dustGold", "Disarm", 0.1F);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment