Skip to content

Instantly share code, notes, and snippets.

View CorgiTaco's full-sized avatar

Corgi Taco CorgiTaco

View GitHub Profile
@CorgiTaco
CorgiTaco / BYGDimensionSettings.json
Last active July 6, 2020 00:18
Load BYG's Biomes(All dimensions). Steps: 1. Create a new world and import these settings. 2. Enter the nether/end and double check that it worked. Server Owners Only: 3. Exit the world and make the world your server's world. 4. Ensure that level-type=byg is in your server.properties. 5. Load the server. 6. Enjoy.
{
"dimensions": {
"minecraft:overworld": {
"generator": {
"biome_source": {
"seed": -1464245863,
"type": "byg:bygworld"
},
"seed": -1464245863,
"settings": "minecraft:overworld",
@CorgiTaco
CorgiTaco / BYGEndNetherInBOP.json
Last active July 14, 2020 21:22
Allows users to have a biomesoplenty world with BYG's Nether & End biomes. Import these settings on the create world screen
{
"dimensions": {
"minecraft:overworld": {
"generator": {
"biome_source": {
"seed": -1464245863,
"type": "minecraft:biomesoplenty_overworld"
},
"seed": -1464245863,
"settings": "minecraft:overworld",
@CorgiTaco
CorgiTaco / BiomeDataGenerator.java
Last active July 30, 2020 02:13
Use this to generate biomes from code to json. Tested and used in 20w29a. Code is a bit sloppy but yeah :) PLEASE FOR THE LOVE OF GOD PUT THIS IN ITS OWN EMPTY FOLDER, IF YOU DON'T THE DIRECTORY ITS IN WILL GET THANOS SNAPPED. Here's why https://streamable.com/efrpiw
/*
MIT License
Copyright (c) 2020 Corgi Taco
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@CorgiTaco
CorgiTaco / ExampleBiome1162.java
Last active July 29, 2020 22:07
An example biome in 1.16.2
package voronoiaoc.byg.common.biomes.biomes;
import net.minecraft.entity.EntityType;
import net.minecraft.entity.SpawnGroup;
import net.minecraft.sound.BiomeMoodSound;
import net.minecraft.world.biome.*;
import net.minecraft.world.gen.feature.DefaultBiomeFeatures;
import net.minecraft.world.gen.surfacebuilder.ConfiguredSurfaceBuilder;
import net.minecraft.world.gen.surfacebuilder.SurfaceBuilder;
import voronoiaoc.byg.common.biomes.BiomeHelper;
package voronoiaoc.byg.common.world.feature.features.overworld.trees.aspen;
import com.google.common.collect.Sets;
import com.mojang.datafixers.Dynamic;
import net.minecraft.block.BlockState;
import net.minecraft.block.Blocks;
import net.minecraft.util.Direction;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.MutableBoundingBox;
import net.minecraft.world.IWorld;
@CorgiTaco
CorgiTaco / TemplateBiomeClass1162.java
Last active September 10, 2020 20:27
A few cheat sheets for those porting to 1.16.2 :)
/*
MIT License
Copyright (c) 2020 Corgi Taco
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@CorgiTaco
CorgiTaco / EntitySpawnsCheatSheet.java
Last active August 24, 2020 00:08
EntitySpawns 1.16.2 Cheat Sheet
/*
MIT License
Copyright (c) 2020 CorgiTaco
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
{
"dimensions": {
"minecraft:overworld": {
"generator": {
"biome_source": {
"seed": -1464245863,
"large_biomes": false,
"type": "minecraft:vanilla_layered"
},
"seed": -1464245863,
[26Aug2020 14:28:56.418] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--width, 1280, --height, 720, --username, bessiq, --version, 1.16.1, --gameDir, M:\_gdl\instances\TIHI, --assetsDir, M:\_gdl\datastore\assets, --assetIndex, 1.16, --uuid, 1accc651675d4502b6ebcf5337a98c7d, --accessToken, ????????, --userType, mojang, --versionType, release, --launchTarget, fmlclient, --fml.forgeVersion, 32.0.108, --fml.mcVersion, 1.16.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20200625.160719]
[26Aug2020 14:28:56.423] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 6.1.1+74+master.966c698 starting: java version 1.8.0_242 by AdoptOpenJDK
[26Aug2020 14:28:57.520] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
[26Aug2020 14:28:57.633] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8 Source=file:/M:/_gdl/datastore/libraries/org/spongepowered/mixin/0.8/mixin-0.8.jar Ser
package net.oriondevcorgitaco.unearthed.util;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonPrimitive;
import net.minecraft.util.Pair;
import org.apache.commons.lang3.StringEscapeUtils;
import org.apache.commons.lang3.text.WordUtils;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;