Skip to content

Commit

Permalink
add integrations wiki category with extra versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheaterpaul committed Dec 19, 2023
1 parent ca24208 commit a598243
Show file tree
Hide file tree
Showing 41 changed files with 289 additions and 2 deletions.
35 changes: 34 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const config = {
/** this value must be changed if a new version is released */
label: '1.10',
}
}
},
},
blog: {
showReadingTime: true,
Expand All @@ -55,6 +55,23 @@ const config = {
],
],

plugins: [
[
'@docusaurus/plugin-content-docs',
{
id: 'integrations',
path: 'integrations',
routeBasePath: 'integrations',
sidebarPath: './sidebarsIntegrations.js',
versions: {
current: {
label: '1.8',
}
}
},
],
],

themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
Expand Down Expand Up @@ -88,6 +105,13 @@ const config = {
position: 'left',
label: 'Data Packs',
},
{
type: 'doc',
docId: 'wiki/intro',
docsPluginId: 'integrations',
position: 'left',
label: 'Integrations',
},
{to: '/blog', label: 'Blog', position: 'left'},
{
type: 'docsVersionDropdown',
Expand All @@ -96,7 +120,16 @@ const config = {
{ to: 'https://github.com/TeamLapen/Vampirism/wiki', label: 'For MC 1.7.10' },
{ to: 'https://github.com/TeamLapen/Vampirism/wiki', label: 'For MC 1.12' },
],
dropdownActiveClassDisabled: true,
},
{
type: 'docsVersionDropdown',
position: 'right',
dropdownItemsAfter: [
{ to: 'https://github.com/TeamLapen/VampirismIntegrations/wiki', label: 'For MC 1.19 or older' },
],
dropdownActiveClassDisabled: false,
docsPluginId: 'integrations',
},
{
href: 'https://github.com/Teamlapen/Vampirism',
Expand Down
14 changes: 14 additions & 0 deletions integrations/wiki/intro.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: Vampirism Integrations
sidebar_position: 1
---

Vampirism Integrations is a compatibility mod that adds integration between Vampirism and other mods. Some mods like Just Enough Items (JEI) or Guide-API are supported out of the box, but other mods require this mod to be installed to some integration.

In our quest to ensure continuous compatibility, we diligently maintain an updated list of supported mods and their associated features. Given the disparate update schedules of Vampirism and the mods it integrates with, we strive to keep pace with the emergence of new mods and the potential cessation of support for older ones.

It's important to note that if you encounter a version of Vampirism Integrations predating the release of an integrated mod for a new Minecraft version, the integration may not be incorporated until the subsequent release.

## Downloads
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/curseforge_vector.svg)](https://www.curseforge.com/minecraft/mc-mods/vampirism-integrations)
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/modrinth_vector.svg)](https://modrinth.com/mod/vampirism-integrations)
5 changes: 5 additions & 0 deletions integrations/wiki/mods/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"label": "Mods",
"collapsed": false,
"collapsible": true
}
Binary file added integrations/wiki/mods/assets/jade/blood.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added integrations/wiki/mods/assets/jade/blood_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added integrations/wiki/mods/assets/jade/diffuser_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added integrations/wiki/mods/assets/jade/infusion.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added integrations/wiki/mods/assets/jade/pedestal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added integrations/wiki/mods/assets/jade/pillar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added integrations/wiki/mods/assets/jade/player_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added integrations/wiki/mods/assets/jade/player_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added integrations/wiki/mods/assets/jade/totem_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added integrations/wiki/mods/assets/jade/totem_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions integrations/wiki/mods/better-combat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: Better Combat
---
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/curseforge_vector.svg)](https://www.curseforge.com/minecraft/mc-mods/better-combat-by-daedelus)
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/modrinth_vector.svg)](https://modrinth.com/mod/better-combat)
## Features
### Weapon Attributes

The following Weapons have been given Weapon Attributes:
- Heart Seeker -> Claymore
- Heart Striker -> Claymore
- Hunter Axe -> Heavy Axe
- Pitchfork -> Spear
- Stake -> Soul Knife
8 changes: 8 additions & 0 deletions integrations/wiki/mods/biomes-o-plenty.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: Biomes O' Plenty
---
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/curseforge_vector.svg)](https://www.curseforge.com/minecraft/mc-mods/biomes-o-plenty)
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/modrinth_vector.svg)](https://modrinth.com/mod/biomes-o-plenty)
## Features
### No sun damage
- [Omnious Woods](https://biomesoplenty.fandom.com/wiki/Ominous_Woods)
9 changes: 9 additions & 0 deletions integrations/wiki/mods/choicetheorems-overhauled-villages.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Choice Theorems Overhauled Villages
---
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/curseforge_vector.svg)](https://www.curseforge.com/minecraft/mc-mods/choicetheorems-overhauled-village)
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/modrinth_vector.svg)](https://modrinth.com/mod/ct-overhaul-village)
## Features
### Hunter Trainer

Hunter Trainer houses are added to the new villages
9 changes: 9 additions & 0 deletions integrations/wiki/mods/cold-sweat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Cold Sweat
---
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/curseforge_vector.svg)](https://www.curseforge.com/minecraft/mc-mods/cold-sweat)
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/modrinth_vector.svg)](https://modrinth.com/mod/cold-sweat)
## Features
### Temperature
- vampire players can resist colder temperatures
- vampire players' resistance to hotter temperatures is decreased
14 changes: 14 additions & 0 deletions integrations/wiki/mods/consecration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: Consecration
---
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/curseforge_vector.svg)](https://www.curseforge.com/minecraft/mc-mods/consecration)
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/modrinth_vector.svg)](https://modrinth.com/mod/consecration)
## Features
### Damage Types
The following damage types are marked as holy damage:
- `vampirism:holy_water`
- `vampirism:vampire_on_fire`
- `vampirism:vampire_in_fire`

### Entity Types
vampire entities are marked as undead for consecration
13 changes: 13 additions & 0 deletions integrations/wiki/mods/crafttweaker.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: CraftTweaker
---
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/curseforge_vector.svg)](https://www.curseforge.com/minecraft/mc-mods/crafttweaker)
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/modrinth_vector.svg)](https://modrinth.com/mod/crafttweaker)
## Features

### Recipes

Custom recipes can be created / modified / removed by crafttweaker:

- [Weapon Table Recipes](/docs/data/recipes/weapontable#craft-tweaker)
- [Alchemical Cauldron Recipes](/docs/data/recipes/alchemicalcauldron#craft-tweaker)
8 changes: 8 additions & 0 deletions integrations/wiki/mods/diet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: Diet
---
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/curseforge_vector.svg)](https://www.curseforge.com/minecraft/mc-mods/diet)
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/modrinth_vector.svg)](https://modrinth.com/mod/diet)
## Features

- disables diet for vampire players
8 changes: 8 additions & 0 deletions integrations/wiki/mods/evilcraft.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: EvilCraft
---
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/curseforge_vector.svg)](https://www.curseforge.com/minecraft/mc-mods/evilcraft)
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/modrinth_vector.svg)](https://modrinth.com/mod/evilcraft)
## Features

- [Evilcraft blood](https://ftb.fandom.com/wiki/Blood_(EvilCraft)) can be converted to Vampirism blood using a [Blood Sieve](/docs/wiki/content/blocks#blood-sieve)
7 changes: 7 additions & 0 deletions integrations/wiki/mods/guard-villagers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Guard Villagers
---
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/curseforge_vector.svg)](https://www.curseforge.com/minecraft/mc-mods/guard-villagers)
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/modrinth_vector.svg)](https://modrinth.com/mod/guard-villagers)
## Features
- guards attack faction entities that are hostile to the village
34 changes: 34 additions & 0 deletions integrations/wiki/mods/jade.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
title: Jade
---
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/curseforge_vector.svg)](https://www.curseforge.com/minecraft/mc-mods/jade)
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/modrinth_vector.svg)](https://modrinth.com/mod/jade)

## Features

### Entity Information
#### Blood
![](assets/jade/blood.png)
![](assets/jade/blood_2.png)
#### Player Faction
![](assets/jade/player_1.png)
![](assets/jade/player_2.png)
### Block Information
#### Garlic Diffuser
![](assets/jade/diffuser_1.png)
![](assets/jade/diffuser_2.png)
#### Altar of Infusion
![](assets/jade/infusion.png)
#### Altar of Inspiration
![](assets/jade/inspiration.png)
#### Blood Pedestal
![](assets/jade/pedestal.png)
#### Altar Pillar
![](assets/jade/pillar.png)
#### Potion Table
![](assets/jade/potion_table.png)
#### Village Totem
![](assets/jade/totem_1.png)
![](assets/jade/totem_2.png)
#### Weapon Table
![](assets/jade/weapon_table.png)
7 changes: 7 additions & 0 deletions integrations/wiki/mods/minecraft-comes-alive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Minecraft Comes Alive Reborn
---
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/curseforge_vector.svg)](https://www.curseforge.com/minecraft/mc-mods/minecraft-comes-alive-reborn)
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/modrinth_vector.svg)](https://modrinth.com/mod/minecraft-comes-alive-reborn)
## Features
- allow mca villager to be converted to vampire
10 changes: 10 additions & 0 deletions integrations/wiki/mods/nyctophobia.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Nyctophobia
---
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/curseforge_vector.svg)](https://www.curseforge.com/minecraft/mc-mods/nyctophobia-forge)
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/modrinth_vector.svg)](https://modrinth.com/mod/nyctophobia)
## Features

### No sun damage
- eroded haunted forest
- deep dark forest
7 changes: 7 additions & 0 deletions integrations/wiki/mods/player-companions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Player Companions
---
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/curseforge_vector.svg)](https://www.curseforge.com/minecraft/mc-mods/player-companions)
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/modrinth_vector.svg)](https://modrinth.com/mod/player-companions)
## Features
- the blood level of the player companion is replenished on death
10 changes: 10 additions & 0 deletions integrations/wiki/mods/survive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Survive
---
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/curseforge_vector.svg)](https://www.curseforge.com/minecraft/mc-mods/survive)
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/modrinth_vector.svg)](https://modrinth.com/mod/survive)
## Features
- disable thirst for vampire players
- adds cold resistance to vampire players
- decrease heat resistance of vampire players
- disable stamina for vampire players
8 changes: 8 additions & 0 deletions integrations/wiki/mods/tough-as-nails.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: Tough As Nails
---
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/curseforge_vector.svg)](https://www.curseforge.com/minecraft/mc-mods/tough-as-nails)
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/modrinth_vector.svg)](https://modrinth.com/mod/tough-as-nails)
## Features
- disable thirst for vampire players
- ignore icy and cold temperatures for vampire players
16 changes: 16 additions & 0 deletions integrations/wiki/mods/waila.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: WTHIT
---
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/curseforge_vector.svg)](https://www.curseforge.com/minecraft/mc-mods/wthit)
[![](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/modrinth_vector.svg)](https://modrinth.com/mod/wthit)
## Features

### Add Information
#### Blood Level
![](assets/waila/blood_level.png)
#### Garlic Diffuser
![](assets/waila/garlic_diffuser.png)
#### Blood Tank
![](assets/waila/blood_tank.png)
#### Faction Information
![](assets/waila/faction_level.png)
12 changes: 12 additions & 0 deletions integrations/wiki/reasons.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: Reasons
sidebar_position: 2
---

## Why is this in a separate mod?
1) Integrating mods poses a significant challenge when adapting to Minecraft updates. When Minecraft undergoes an update, and other mods are not yet compatible, it becomes necessary to uncomment relevant sections in the Vampirism code, eliminate dependencies, and repeat these adjustments once the mod is eventually updated.
2) I aim to avoid issuing frequent updates for Vampirism in response to changes in other mods. Releasing updates for every modification that requires adjustments can be cumbersome.
3) This practice maintains a higher level of organization within Vampirism's code.
4) It serves as a validation for the functionality of Vampirism's API, pinpointing areas for enhancement and offering a practical example.
5) Simplifying the process for others to contribute and integrate additional features becomes more accessible, fostering the potential for collaborative enhancements (although success in this regard has been elusive thus far).
6) If you are already installing many mods or a modpack it should not make that much difference anyway.
19 changes: 19 additions & 0 deletions sidebarsIntegrations.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/**
* Creating a sidebar enables you to:
- create an ordered group of docs
- render a sidebar for each doc of that group
- provide next/previous navigation
The sidebars can be generated from the filesystem, or explicitly defined here.
Create as many sidebars as you want.
*/

// @ts-check

/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
wikiSidebar: [{type: 'autogenerated', dirName: 'wiki'}],
};

module.exports = sidebars;
20 changes: 20 additions & 0 deletions src/theme/NavbarItem/DocsVersionDropdownNavbarItem.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import React from 'react';
import DocsVersionDropdownNavbarItem from '@theme-original/NavbarItem/DocsVersionDropdownNavbarItem';
import { useLocation } from '@docusaurus/router';
import {
useActivePluginAndVersion,
} from '@docusaurus/plugin-content-docs/client';

export default function DocsVersionDropdownNavbarItemWrapper(props) {
const {docsPluginId, className, type} = props
const {pathname} = useLocation()
const doesPathnameContainDocsPluginId = pathname.includes(docsPluginId) || (pathname.includes('docs') && docsPluginId === undefined)
if (!doesPathnameContainDocsPluginId) {
return null
}
return (
<>
<DocsVersionDropdownNavbarItem {...props} />
</>
);
}
4 changes: 3 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// This file is not used in compilation. It is here just for a nice editor experience.
"extends": "@tsconfig/docusaurus/tsconfig.json",
"compilerOptions": {
"baseUrl": "."
"baseUrl": ".",
"allowSyntheticDefaultImports": true,
"jsx": "react"
}
}

0 comments on commit a598243

Please sign in to comment.