This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"entries": [ | |
{ | |
"key": "BIOMANCY_BASICS", | |
"name": "research.thaumic_arcana.biomancy.title", | |
"icons": [ | |
"thaumic_arcana:textures/research/cat_biomancy.png" | |
], | |
"category": "BIOMANCY", | |
"location": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"research":"CREATURES", | |
"location":"thaumic_arcana:smile-craft", | |
"result":"minecraft:slime_ball;9;1", | |
"required_item":"", | |
"block":"thaumcraft:flesh_block", | |
"consume_block":true, | |
"consume_formula":true, | |
"vis":1, | |
"pollution":0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//we declare our configurations, so we can just add the required artifacts as dependencies of this build | |
configurations{ | |
cohfpack | |
thermalpack | |
//make cohfpack contain thermalpack | |
cohfpack.extends thermalpack | |
} | |
dependencies{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.openmodloader.gradle.OpenGradlePlugin | |
import org.apache.tools.ant.filters.ReplaceTokens | |
buildscript { | |
repositories { | |
maven { url = 'http://maven.modmuss50.me' } | |
} | |
dependencies { | |
classpath 'com.openmodloader:OpenGradle:0.0.11-SNAPSHOT' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.HashMap; | |
import java.util.Scanner; | |
import java.util.regex.Matcher; | |
import java.util.regex.Pattern; | |
public class CPU { | |
public String[] ram; | |
private HashMap<String, Instruction> rom; | |
private double accumulator; | |
private int instructionPointer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.google.gson.JsonObject | |
import hu.frontrider.gearcraft.Gearcraft | |
import hu.frontrider.gearcraft.api.recipes.IDismantlerRecipe | |
import net.minecraft.inventory.Inventory | |
import net.minecraft.item.ItemStack | |
import net.minecraft.recipe.Ingredient | |
import net.minecraft.recipe.Recipe | |
import net.minecraft.recipe.RecipeSerializer | |
import net.minecraft.tag.Tag | |
import net.minecraft.util.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def resourceDir = "generatedResources/" | |
def resourceBuildDir = "build/resourceSource/" | |
mkdir(file(resourceDir)) | |
mkdir(file(resourceBuildDir)) | |
sourceSets { | |
main { | |
resources { | |
srcDirs "src/main/resources", resourceBuildDir |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Allows for any block to be farmland, if it's tagged correctly. | |
*/ | |
@Mixin(CropBlock.class) | |
public abstract class CropBlockMixin { | |
@Inject(method = "Lnet/minecraft/block/CropBlock;canPlantOnTop(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z", | |
at = @At("HEAD")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---- Minecraft Crash Report ---- | |
// Quite honestly, I wouldn't worry myself about that. | |
Time: 9/22/19 9:55 AM | |
Description: Loading entity NBT | |
java.lang.AbstractMethodError: net.minecraft.server.network.ServerPlayerEntity.getServer()Lnet/minecraft/server/MinecraftServer; | |
at net.minecraft.server.network.ServerPlayerEntity.readCustomDataFromTag(ServerPlayerEntity.java:228) | |
at net.minecraft.entity.Entity.fromTag(Entity.java:1583) | |
at net.minecraft.server.PlayerManager.loadPlayerData(PlayerManager.java:296) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.mojang.brigadier.CommandDispatcher; | |
import com.mojang.brigadier.arguments.IntegerArgumentType; | |
import com.mojang.brigadier.context.CommandContext; | |
import net.minecraft.command.arguments.*; | |
import net.minecraft.server.command.CommandManager; | |
import net.minecraft.server.command.ServerCommandSource; | |
import net.minecraft.text.LiteralText; | |
public class InventoryCommand { |
OlderNewer