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
craftingTable.addShaped("testrecipe2", | |
<item:minecraft:lingering_potion>.withTag({CustomPotionColor: -12383735, Potion: "minecraft:strong_harming" as string, display: {Lore: ["{\"text\": \"A Heavy duty explosive with the ability to cause\"}" as string, "{\"text\": \"massive forest fires, a pyromaniac's dream tool!\"}" as string, "{\"text\": \"Bomb is set on either a 5 or 1 second timer depending\"}" as string, "{\"text\": \"on user input.\"}" as string], Name: "{\"text\":\"Timed Fire Bomb M.2\"}" as string}}), | |
[ | |
[ | |
<item:minecraft:repeater>, | |
<item:minecraft:potion>.withTag({Potion: "minecraft:strong_poison" as string, display: {Name: "{\"text\":\"Methanol\"}" as string}}), | |
<item:minecraft:clock>.withTag({"quark:clock_calculated": 1}) | |
], | |
[ | |
<item:minecraft:potion>.withTag({Potion: "minecraft:strong_poison" as string, display: {Name: "{\"text\":\"Methanol\"}" as string}}), |
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
public void renderPack(T entityLivingBaseIn, float limbSwing, float limbSwingAmount, float partialTicks, float ageInTicks, float netHeadYaw, float headPitch, float scale) { | |
if (entityLivingBaseIn.getEntity() instanceof PlayerEntity) { | |
IItemHandler handler = entityLivingBaseIn.getCapability(CapabilityItemHandler.ITEM_HANDLER_CAPABILITY, Direction.UP).orElseThrow(NullPointerException::new); | |
int slotNum = -1; | |
for (int i = 0; i < handler.getSlots(); i++) { | |
ItemStack inSlot = handler.getStackInSlot(i); | |
if (inSlot.getItem() == ItemRegistry.travel_pack) { | |
slotNum = i; | |
break; | |
} |
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
[17:22:03] [Server-Worker-3/WARN]: Server-Worker-3 died | |
java.lang.NullPointerException: null | |
at net.minecraft.world.lighting.SectionLightStorage.func_215521_h(SourceFile:592) ~[?:?] | |
at net.minecraft.world.lighting.LightEngine.func_215471_c(LightEngine.java:129) ~[?:?] | |
at net.minecraft.world.lighting.LevelBasedGraph.func_215469_a(LevelBasedGraph.java:122) ~[?:?] | |
at net.minecraft.world.lighting.BlockLightEngine.func_215623_a(BlockLightEngine.java:118) ~[?:?] | |
at net.minecraft.world.lighting.WorldLightManager.func_215573_a(SourceFile:41) ~[?:?] | |
at net.minecraft.world.server.ServerWorldLightManager.func_215579_a(SourceFile:135) ~[?:?] | |
at net.minecraft.world.server.ServerWorldLightManager$$Lambda$12658/1338364051.accept(Unknown Source) ~[?:?] | |
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374) ~[?:1.8.0_51] |
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
#!/usr/bin/env python | |
import re | |
lookup = { | |
15: "dyeWhite", | |
14: "dyeOrange", | |
13: "dyeMagenta", | |
12: "dyeLightBlue", | |
11: "dyeYellow", |
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
{ | |
"type": "minecraft:fishing", | |
"pools": [ | |
{ | |
"rolls": 1, | |
"entries": [ | |
{ | |
"type": "minecraft:loot_table", | |
"weight": 15, | |
"quality": -2, |
This file has been truncated, but you can view the full file.
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
"type=single,pos_num=1,open=true,parent=true,rotate=true,north=true,east=true,south=true,up=true,down=true": { "model": "block/air" }, | |
"type=single,pos_num=1,open=true,parent=true,rotate=true,north=true,east=true,south=true,up=true,down=true": { "model": "block/air" }, | |
"type=single,pos_num=1,open=true,parent=true,rotate=true,north=true,east=true,south=true,up=false,down=true": { "model": "block/air" }, | |
"type=single,pos_num=1,open=true,parent=true,rotate=true,north=true,east=true,south=true,up=false,down=true": { "model": "block/air" }, | |
"type=single,pos_num=1,open=true,parent=true,rotate=true,north=true,east=true,south=false,up=true,down=true": { "model": "block/air" }, | |
"type=single,pos_num=1,open=true,parent=true,rotate=true,north=true,east=true,south=false,up=true,down=true": { "model": "block/air" }, | |
"type=single,pos_num=1,open=true,parent=true,rotate=true,north=true,east=true,south=false,up=false,down=true": { "model": "block/air" }, | |
"type=single,pos_num=1,open=true,parent=true,rotate=true,north=true,east= |
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
package noobanidus.libs.util.commands; | |
import com.google.common.collect.Lists; | |
import com.mojang.brigadier.CommandDispatcher; | |
import com.mojang.brigadier.builder.LiteralArgumentBuilder; | |
import it.unimi.dsi.fastutil.ints.IntOpenHashSet; | |
import net.minecraft.command.CommandSource; | |
import net.minecraft.command.Commands; | |
import net.minecraft.inventory.CraftingInventory; | |
import net.minecraft.item.ItemStack; |
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
package noobanidus.libs.util.commands; | |
import com.mojang.brigadier.CommandDispatcher; | |
import com.mojang.brigadier.builder.LiteralArgumentBuilder; | |
import it.unimi.dsi.fastutil.ints.IntOpenHashSet; | |
import net.minecraft.command.CommandSource; | |
import net.minecraft.command.Commands; | |
import net.minecraft.inventory.CraftingInventory; | |
import net.minecraft.item.ItemStack; | |
import net.minecraft.item.crafting.ICraftingRecipe; |
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
[01:09:31] [Server thread/ERROR] [ep.my.MysticalWorld/]: Unable to fake player having a shoulder entity | |
java.lang.invoke.WrongMethodTypeException: expected (PlayerEntity,CompoundNBT)void but found (ServerPlayerEntity,CompoundNBT)void | |
at java.lang.invoke.Invokers.newWrongMethodTypeException(Invokers.java:298) ~[?:1.8.0_252] {} | |
at java.lang.invoke.Invokers.checkExactType(Invokers.java:309) ~[?:1.8.0_252] {} | |
at epicsquid.mysticalworld.events.CapabilityHandler.lambda$onPlayerJoin$1(CapabilityHandler.java:51) ~[?:1.14.4-1.9.1] {re:classloading} | |
at net.minecraftforge.common.util.LazyOptional.ifPresent(LazyOptional.java:161) ~[?:?] {re:classloading} | |
at epicsquid.mysticalworld.events.CapabilityHandler.onPlayerJoin(CapabilityHandler.java:46) ~[?:1.14.4-1.9.1] {re:classloading} | |
at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:212) ~[eventbus-1.0.0-service.jar:?] {} | |
at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:204) ~ |
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 ---- | |
// Don't do that. | |
Time: 4/22/20 11:30 AM | |
Description: Exception in server tick loop | |
java.lang.ExceptionInInitializerError: null | |
at net.minecraftforge.fml.ModLoader.<init>(ModLoader.java:121) ~[?:?] {re:classloading} | |
at net.minecraftforge.fml.ModLoader.get(ModLoader.java:146) ~[?:?] {re:classloading} | |
at net.minecraftforge.fml.server.ServerModLoader.begin(ServerModLoader.java:45) ~[?:?] {re:classloading} |