This file contains hidden or 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 ---- | |
// My bad. | |
Time: 2021-01-21 18:20 | |
Description: Rendering overlay | |
com.electronwill.nightconfig.core.io.WritingException: An I/O error occured | |
at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:222) ~[core-3.6.2.jar:?] {} | |
at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:202) ~[core-3.6.2.jar:?] {} | |
at com.electronwill.nightconfig.core.file.WriteSyncFileConfig.load(WriteSyncFileConfig.java:73) ~[core-3.6.2.jar:?] {} |
This file contains hidden or 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
// Tier 1 | |
public static ItemEntry<EssenceAxe> ESSENCE_AXE = getTool("essence_axe_", "Essence Axe", EssenceAxe.class, EssenceToolTiers.ESSENCE, axeRecipe(ESSENCE_INGOT.get(), new ResourceLocation("essence_axe")), EssenceTags.EssenceItemTags.ESSENCE_AXE); | |
public static ItemEntry<EssencePickaxe> ESSENCE_PICKAXE = getTool("essence_pickaxe_", "Essence Pickaxe", EssencePickaxe.class, EssenceToolTiers.ESSENCE, pickaxeRecipe(ESSENCE_INGOT.get(), new ResourceLocation("essence_pickaxe")), EssenceTags.EssenceItemTags.ESSENCE_PICKAXE); | |
public static ItemEntry<EssenceShovel> ESSENCE_SHOVEL = getTool("essence_shovel_", "Essence Shovel", EssenceShovel.class, EssenceToolTiers.ESSENCE, shovelRecipe(ESSENCE_INGOT.get(), new ResourceLocation("essence_shovel")), EssenceTags.EssenceItemTags.ESSENCE_SHOVEL); | |
public static ItemEntry<EssenceSword> ESSENCE_SWORD = getTool("essence_sword_", "Essence Sword", EssenceSword.class, EssenceToolTiers.ESSENCE, swordRecipe(ESSENCE_INGOT.get(), new ResourceLocation("essence_sword")) |
This file contains hidden or 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
package com.teamacronymcoders.essence.api.recipe.tool; | |
import com.hrznstudio.titanium.recipe.serializer.GenericSerializer; | |
import com.hrznstudio.titanium.recipe.serializer.SerializableRecipe; | |
import com.teamacronymcoders.essence.Essence; | |
import com.teamacronymcoders.essence.util.helper.EssenceBlockHelper; | |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.Map.Entry; | |
import java.util.Optional; |
This file contains hidden or 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
@Override | |
public ActionResultType onItemUseFirst (ItemStack stack, ItemUseContext context) { | |
World world = context.getWorld(); | |
BlockPos pos = context.getPos(); | |
BlockState state = world.getBlockState(pos); | |
PlayerEntity player = context.getPlayer(); | |
TileEntity te = world.getTileEntity(pos); | |
BlockSerializationEnum config = EssenceGeneralConfig.getInstance().getSerializeBlock().get(); | |
if (state.getBlock().isAir(state, world, pos) || !state.getFluidState().equals(Fluids.EMPTY.getDefaultState()) || player != null && !player.abilities.allowEdit && !stack.canPlaceOn(world.getTags(), new CachedBlockInfo(world, pos, false))) { |
This file contains hidden or 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
public ActionResultType resolveRecipe(ItemUseContext context) { | |
World world = context.getWorld(); | |
BlockPos blockpos = context.getPos(); | |
PlayerEntity player = context.getPlayer(); | |
ItemStack stack = context.getItem(); | |
BlockState targetedState = world.getBlockState(blockpos); | |
BlockState hook = net.minecraftforge.event.ForgeEventFactory.onToolUse(targetedState, world, blockpos, player, stack, ToolType.SHOVEL); | |
if (context.getFace() != Direction.DOWN && world.isAirBlock(blockpos.up())) { | |
if (to != null) { | |
world.playSound(player, blockpos, SoundEvents.ITEM_SHOVEL_FLATTEN, SoundCategory.BLOCKS, 1.0F, 1.0F); |
This file contains hidden or 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
package com.playhrzn.wce.json.control.fluid; | |
import com.hrznstudio.titanium.json.jsondirector.IJsonDirector; | |
import com.playhrzn.wce.WaterControlExtreme; | |
import net.minecraft.fluid.Fluid; | |
import net.minecraft.util.ResourceLocation; | |
import net.minecraft.world.biome.Biome; | |
import java.util.HashMap; | |
import java.util.List; |
This file contains hidden or 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
package com.playhrzn.wce.test; | |
import java.net.MalformedURLException; | |
import java.net.URL; | |
import java.util.Arrays; | |
import java.util.HashMap; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.logging.Logger; |
This file contains hidden or 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 ---- | |
// You're mean. | |
Time: 2020-09-09 16:00 | |
Description: keyPressed event handler | |
java.lang.NullPointerException: keyPressed event handler | |
at net.minecraft.client.gui.widget.button.Button.func_230930_b_(SourceFile:33) ~[?:?] {re:classloading,pl:accesstransformer:B} | |
at net.minecraft.client.gui.widget.button.AbstractButton.func_231046_a_(SourceFile:26) ~[?:?] {re:classloading} | |
at net.minecraft.client.gui.INestedGuiEventHandler.func_231046_a_(SourceFile:64) ~[?:?] {re:classloading} |
This file contains hidden or 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 ---- | |
// Why did you do that? | |
Time: 01/09/20 13:00 | |
Description: Rendering screen | |
java.lang.NullPointerException: Rendering screen | |
at com.github.alexthe666.rats.client.gui.GuiRat.drawEntityOnScreen(GuiRat.java:65) ~[?:6.0.6-1.16.1] {re:classloading,pl:runtimedistcleaner:A} | |
at com.github.alexthe666.rats.client.gui.GuiRat.func_230450_a_(GuiRat.java:123) ~[?:6.0.6-1.16.1] {re:classloading,pl:runtimedistcleaner:A} | |
at net.minecraft.client.gui.screen.inventory.ContainerScreen.func_230430_a_(ContainerScreen.java:88) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} |
This file contains hidden or 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
[22Aug2020 15:08:06.352] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, Lanse505, --version, 1.16.1-forge-32.0.108, --gameDir, C:\Users\simon\AppData\Roaming\.minecraft, --assetsDir, C:\Users\simon\AppData\Roaming\.minecraft\assets, --assetIndex, 1.16, --uuid, c00102016199483589ee90896ca43a70, --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] | |
[22Aug2020 15:08:06.363] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 6.1.1+74+master.966c698 starting: java version 1.8.0_51 by Oracle Corporation | |
[22Aug2020 15:08:06.867] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust | |
[22Aug2020 15:08:06.907] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8 Source=file:/C:/Users/simon/AppData/Roaming/.minecraft/ |