Skip to content

Commit

Permalink
Guide book fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
maxanier committed May 4, 2020
1 parent b413dcb commit 4f15850
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ sourceSets {
}
main {
java{
exclude '**/guide/*'
}
resources {
srcDirs += 'src/generated/resources'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public void onPlayerLoggedIn(PlayerEvent.PlayerLoggedInEvent event) {
}
}
if (event.getPlayer().getRNG().nextInt(4) == 0) {
event.getPlayer().sendMessage(new StringTextComponent("You are running an alpha version of Vampirism for MC 1.15").applyTextStyle(TextFormatting.DARK_RED));
event.getPlayer().sendMessage(new StringTextComponent("You are running a beta version of Vampirism for MC 1.15").applyTextStyle(TextFormatting.DARK_RED));
event.getPlayer().sendMessage(new StringTextComponent("Some parts are not working yet:"));
event.getPlayer().sendMessage(new StringTextComponent("- Blood vision"));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ private static Map<ResourceLocation, EntryAbstract> buildItems() {
ItemInfoBuilder.create(ModItems.hunter_intel_0).setLinks(new ResourceLocation("guide.vampirism.blocks.hunter_table")).setFormats(loc(ModBlocks.hunter_table)).build(entries);
ItemInfoBuilder.create(ModItems.item_garlic).build(entries);
ItemInfoBuilder.create(ModItems.purified_garlic).setFormats(loc(ModBlocks.garlic_beacon_normal)).setLinks(new ResourceLocation("guide.vampirism.blocks.garlic_beacon_normal")).recipes("alchemical_cauldron/purified_garlic").build(entries);
ItemInfoBuilder.create(ModItems.pitchfork).recipes("weapon_table/pitchfork").build(entries);
ItemInfoBuilder.create(ModItems.pitchfork).recipes("weapontable/pitchfork").build(entries);
ItemInfoBuilder.create(ModItems.stake).setFormats(((int) (VampirismConfig.BALANCE.hsInstantKill1MaxHealth.get() * 100)) + "%").recipes("hunter/stake").build(entries);
ItemInfoBuilder.create(ModItems.basic_crossbow, ModItems.enhanced_crossbow, ModItems.basic_double_crossbow, ModItems.enhanced_double_crossbow, ModItems.basic_tech_crossbow, ModItems.enhanced_tech_crossbow).setFormats(loc(ModItems.crossbow_arrow_normal), loc(ModItems.tech_crossbow_ammo_package)).setLinks(new ResourceLocation("guide.vampirism.items.crossbow_arrow_normal")).recipes("weapontable/basic_crossbow", "weapontable/enhanced_crossbow", "weapontable/basic_double_crossbow", "weapontable/enhanced_double_crossbow", "weapontable/basic_tech_crossbow", "weapontable/enhanced_tech_crossbow", "weapontable/tech_crossbow_ammo_package").setName("crossbows").customName().build(entries);
ItemInfoBuilder.create(ModItems.crossbow_arrow_normal, ModItems.crossbow_arrow_spitfire, ModItems.crossbow_arrow_vampire_killer).recipes("hunter/crossbow_arrow_normal", "weapontable/crossbow_arrow_spitfire", "weapontable/crossbow_arrow_vampire_killer").build(entries);
Expand Down

0 comments on commit 4f15850

Please sign in to comment.