Jump to content

Recommended Posts

Posted (edited)

I created a custom "machine" but it crash.

Spoiler

package de.toocrazy007.reddeathmod.blocks;

import java.util.ArrayList;

import de.toocrazy007.reddeathmod.Deathblocks;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.block.state.IBlockState;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.item.ItemStack;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.EnumHand;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
import scala.reflect.internal.Trees.If;

public class DeathCrafter extends Block {

    

    public DeathCrafter() {
        super(Material.ROCK);
        this.setCreativeTab(CreativeTabs.REDSTONE);

    }
    
    @Override
    public boolean onBlockActivated(World worldIn, BlockPos pos, IBlockState state, EntityPlayer playerIn,
            EnumHand hand, ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ) {
  
        int X = pos.getX();
        int Y = pos.getY();
        int Z = pos.getZ();
        ArrayList<Block> craftingblocks = new ArrayList<Block>();
        ArrayList<BlockPos> craftingpos = new ArrayList<BlockPos>();
        BlockPos block1 = new BlockPos(X-1,Y,Z);
        BlockPos block2 = new BlockPos(X+1,Y,Z);
        BlockPos block3 = new BlockPos(X,Y,Z-1);
        BlockPos block4 = new BlockPos(X,Y,Z+1);
        BlockPos block5 = new BlockPos(X-1,Y,Z-1);
        BlockPos block6 = new BlockPos(X+1,Y,Z-1);
        BlockPos block7 = new BlockPos(X-1,Y,Z+1);
        BlockPos block8 = new BlockPos(X+1,Y,Z+1);
        craftingblocks.add(0, (Block) worldIn.getBlockState(block1));
        craftingblocks.add(1, (Block) worldIn.getBlockState(block2));
        craftingblocks.add(2, (Block) worldIn.getBlockState(block3));
        craftingblocks.add(3, (Block) worldIn.getBlockState(block4));
        craftingblocks.add(4, (Block) worldIn.getBlockState(block5));
        craftingblocks.add(5, (Block) worldIn.getBlockState(block6));
        craftingblocks.add(6, (Block) worldIn.getBlockState(block7));
        craftingblocks.add(7, (Block) worldIn.getBlockState(block8));
        craftingpos.add(0,(block1));
        craftingpos.add(1,(block2));
        craftingpos.add(2,(block3));
        craftingpos.add(3,(block4));
        craftingpos.add(4,(block5));
        craftingpos.add(5,(block6));
        craftingpos.add(6,(block7));
        craftingpos.add(7,(block8));
        
        checkRecipes(craftingblocks, craftingpos, worldIn, pos);
        
        return super.onBlockActivated(worldIn, pos, state, playerIn, hand, heldItem, side, hitX, hitY, hitZ);
    }

    private void checkRecipes(ArrayList<Block> craftingblocks, ArrayList<BlockPos> craftingpos, World worldIn, BlockPos pos) {
        if(craftingblocks.size() != 3)
            return;
        BlockPos result = new BlockPos(pos.getX(),pos.getY()-1,pos.getZ());
        //Darkshard
        int Comp1 = getCount(craftingblocks, Deathblocks.redsteelblock);
        int Comp2 = getCount(craftingblocks, Blocks.OBSIDIAN);
        int Comp3 = 0;
        int Comp4 = 0;
        if(Comp1 == 4 ||Comp2 == 4 ||Comp3 == 0 ||Comp4 == 0) {
            worldIn.setBlockState(result, (IBlockState) Blocks.ANVIL);
            setToAir(craftingpos, worldIn);
            return;
        }
        
            
    }

    private void setToAir(ArrayList<BlockPos> craftingpos, World worldIn) {
        worldIn.setBlockToAir(craftingpos.get(0));
        worldIn.setBlockToAir(craftingpos.get(1));
        worldIn.setBlockToAir(craftingpos.get(2));
        worldIn.setBlockToAir(craftingpos.get(3));
        worldIn.setBlockToAir(craftingpos.get(4));
        worldIn.setBlockToAir(craftingpos.get(5));
        worldIn.setBlockToAir(craftingpos.get(6));
        worldIn.setBlockToAir(craftingpos.get(7));
        
    }

    private int getCount(ArrayList<Block> craftingblocks,Block block) {
        int Cound = 0;
        if(craftingblocks.get(0) == block)
            Cound++;
        if(craftingblocks.get(1) == block)
            Cound++;
        if(craftingblocks.get(2) == block)
            Cound++;
        if(craftingblocks.get(3) == block)
            Cound++;
        if(craftingblocks.get(4) == block)
            Cound++;
        if(craftingblocks.get(5) == block)
            Cound++;
        if(craftingblocks.get(6) == block)
            Cound++;
        if(craftingblocks.get(7) == block)
            Cound++;
        return Cound;
    }
}
 

Spoiler

---- Minecraft Crash Report ----
// Quite honestly, I wouldn't worry myself about that.

Time: 23.03.19 10:45
Description: Unexpected error

java.lang.ClassCastException: net.minecraft.block.state.BlockStateContainer$StateImplementation cannot be cast to net.minecraft.block.Block
    at de.toocrazy007.reddeathmod.blocks.DeathCrafter.onBlockActivated(DeathCrafter.java:47)
    at net.minecraft.client.multiplayer.PlayerControllerMP.processRightClickBlock(PlayerControllerMP.java:442)
    at net.minecraft.client.Minecraft.rightClickMouse(Minecraft.java:1603)
    at net.minecraft.client.Minecraft.processKeyBinds(Minecraft.java:2281)
    at net.minecraft.client.Minecraft.runTickKeyboard(Minecraft.java:2058)
    at net.minecraft.client.Minecraft.runTick(Minecraft.java:1846)
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1118)
    at net.minecraft.client.Minecraft.run(Minecraft.java:406)
    at net.minecraft.client.main.Main.main(Main.java:118)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
    at GradleStart.main(GradleStart.java:26)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Client thread
Stacktrace:
    at de.toocrazy007.reddeathmod.blocks.DeathCrafter.onBlockActivated(DeathCrafter.java:47)
    at net.minecraft.client.multiplayer.PlayerControllerMP.processRightClickBlock(PlayerControllerMP.java:442)
    at net.minecraft.client.Minecraft.rightClickMouse(Minecraft.java:1603)
    at net.minecraft.client.Minecraft.processKeyBinds(Minecraft.java:2281)
    at net.minecraft.client.Minecraft.runTickKeyboard(Minecraft.java:2058)

-- Affected level --
Details:
    Level name: MpServer
    All players: 1 total; [EntityPlayerSP['Player914'/268, l='MpServer', x=-70,48, y=78,00, z=-49,75]]
    Chunk stats: MultiplayerChunkCache: 1038, 1038
    Level seed: 0
    Level generator: ID 00 - default, ver 1. Features enabled: false
    Level generator options: 
    Level spawn location: World: (-17,64,427), Chunk: (at 15,4,11 in -2,26; contains blocks -32,0,416 to -17,255,431), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
    Level time: 36213 game time, 36213 day time
    Level dimension: 0
    Level storage version: 0x00000 - Unknown?
    Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
    Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
    Forced entities: 130 total; [EntitySkeleton['Skeleton'/512, l='MpServer', x=-71,50, y=26,00, z=-15,50], EntityZombie['Zombie'/521, l='MpServer', x=-78,50, y=20,00, z=13,50], EntityBat['Bat'/522, l='MpServer', x=-77,47, y=18,76, z=4,45], EntityCreeper['Creeper'/269, l='MpServer', x=-74,54, y=54,00, z=-51,16], EntitySkeleton['Skeleton'/270, l='MpServer', x=-69,50, y=52,00, z=-48,50], EntityPig['Pig'/533, l='MpServer', x=-121,68, y=74,00, z=7,50], EntityPig['Pig'/534, l='MpServer', x=-110,70, y=73,00, z=-9,39], EntityBat['Bat'/535, l='MpServer', x=-66,50, y=30,62, z=-42,16], EntityBat['Bat'/536, l='MpServer', x=-64,34, y=32,09, z=-36,86], EntitySkeleton['Skeleton'/537, l='MpServer', x=-75,50, y=36,00, z=-47,50], EntitySkeleton['Skeleton'/538, l='MpServer', x=-66,50, y=52,00, z=-47,50], EntitySpider['Spider'/539, l='MpServer', x=-87,50, y=27,00, z=-1,50], EntityBat['Bat'/540, l='MpServer', x=-64,48, y=13,90, z=-26,48], EntitySquid['Squid'/541, l='MpServer', x=-68,86, y=59,62, z=-20,30], EntitySkeleton['Skeleton'/542, l='MpServer', x=-60,23, y=70,00, z=-46,52], EntityChicken['Chicken'/544, l='MpServer', x=-111,44, y=72,00, z=-35,78], EntityItem['item.item.egg'/545, l='MpServer', x=-110,71, y=72,00, z=-35,13], EntityCreeper['Creeper'/546, l='MpServer', x=-88,50, y=23,00, z=-63,50], EntityBat['Bat'/547, l='MpServer', x=-77,66, y=36,14, z=-52,19], EntityBat['Bat'/548, l='MpServer', x=-78,49, y=26,35, z=-55,38], EntityZombie['Zombie'/549, l='MpServer', x=-80,50, y=45,00, z=-61,50], EntityBat['Bat'/550, l='MpServer', x=-91,48, y=53,68, z=-50,34], EntityZombie['Zombie'/551, l='MpServer', x=-78,30, y=23,00, z=-79,70], EntityCreeper['Creeper'/552, l='MpServer', x=-74,50, y=46,00, z=-73,50], EntityZombie['Zombie'/553, l='MpServer', x=-92,50, y=23,00, z=-66,50], EntityZombie['Zombie'/554, l='MpServer', x=-87,50, y=23,00, z=-66,50], EntitySkeleton['Skeleton'/555, l='MpServer', x=-94,50, y=32,00, z=-65,50], EntityZombie['Zombie'/556, l='MpServer', x=-94,50, y=42,00, z=-75,50], EntityZombie['Zombie'/557, l='MpServer', x=-94,50, y=42,00, z=-75,50], EntityZombie['Zombie'/558, l='MpServer', x=-81,53, y=32,00, z=-68,73], EntitySkeleton['Skeleton'/559, l='MpServer', x=-85,53, y=50,00, z=-75,22], EntityZombie['Zombie'/560, l='MpServer', x=-78,65, y=23,00, z=-83,65], EntityZombie['Zombie'/561, l='MpServer', x=-73,50, y=23,00, z=-83,50], EntityZombie['Zombie'/562, l='MpServer', x=-74,70, y=23,00, z=-82,30], EntitySkeleton['Skeleton'/563, l='MpServer', x=-78,50, y=23,00, z=-82,50], EntityCreeper['Creeper'/564, l='MpServer', x=-79,38, y=19,00, z=-87,01], EntityBat['Bat'/565, l='MpServer', x=-74,50, y=23,79, z=-80,31], EntitySkeleton['Skeleton'/566, l='MpServer', x=-77,50, y=22,00, z=-88,50], EntitySquid['Squid'/1079, l='MpServer', x=-34,40, y=60,80, z=-101,54], EntitySquid['Squid'/1080, l='MpServer', x=-34,84, y=59,63, z=-113,34], EntitySquid['Squid'/1081, l='MpServer', x=-29,40, y=61,54, z=-108,10], EntityPlayerSP['Player914'/268, l='MpServer', x=-70,48, y=78,00, z=-49,75], EntityCreeper['Creeper'/587, l='MpServer', x=-11,50, y=27,00, z=-3,50], EntityChicken['Chicken'/591, l='MpServer', x=-22,87, y=64,00, z=25,49], EntitySkeleton['Skeleton'/599, l='MpServer', x=-62,50, y=27,00, z=5,50], EntityZombie['Zombie'/600, l='MpServer', x=-60,50, y=27,00, z=11,50], EntityZombie['Zombie'/601, l='MpServer', x=-59,50, y=27,00, z=9,50], EntityZombie['Zombie'/602, l='MpServer', x=-59,50, y=28,00, z=0,50], EntityZombie['Zombie'/603, l='MpServer', x=-48,30, y=40,00, z=6,50], EntityChicken['Chicken'/604, l='MpServer', x=-37,16, y=64,00, z=-16,50], EntityChicken['Chicken'/605, l='MpServer', x=-45,40, y=66,00, z=-2,12], EntityChicken['Chicken'/606, l='MpServer', x=-45,72, y=66,00, z=-7,49], EntityChicken['Chicken'/607, l='MpServer', x=-34,13, y=64,00, z=-10,35], EntityItem['item.item.egg'/608, l='MpServer', x=-34,09, y=64,00, z=-10,21], EntityItem['item.item.egg'/609, l='MpServer', x=-45,51, y=66,00, z=-1,98], EntityItem['item.item.egg'/610, l='MpServer', x=-45,56, y=66,00, z=-7,85], EntityZombie['Zombie'/611, l='MpServer', x=-0,50, y=29,00, z=-32,50], EntityBat['Bat'/612, l='MpServer', x=-6,25, y=16,10, z=-44,25], EntitySkeleton['Skeleton'/613, l='MpServer', x=-0,50, y=33,00, z=-44,50], EntityZombie['Zombie'/614, l='MpServer', x=-12,50, y=43,00, z=-33,50], EntityCreeper['Creeper'/615, l='MpServer', x=-1,50, y=33,00, z=-43,50], EntitySkeleton['Skeleton'/616, l='MpServer', x=-19,23, y=31,00, z=-5,54], EntityItem['item.item.egg'/617, l='MpServer', x=-31,92, y=63,00, z=-14,54], EntitySkeleton['Skeleton'/618, l='MpServer', x=-12,50, y=43,00, z=-31,50], EntityCreeper['Creeper'/619, l='MpServer', x=-10,50, y=43,00, z=-31,50], EntityZombie['Zombie'/623, l='MpServer', x=-50,50, y=28,00, z=-16,50], EntitySkeleton['Skeleton'/629, l='MpServer', x=-59,50, y=26,00, z=-2,50], EntityCreeper['Creeper'/630, l='MpServer', x=-56,50, y=28,00, z=-4,50], EntityCreeper['Creeper'/631, l='MpServer', x=-49,50, y=24,00, z=-7,50], EntityZombie['Zombie'/632, l='MpServer', x=-53,50, y=24,00, z=-6,50], EntityZombie['Zombie'/633, l='MpServer', x=-51,50, y=24,00, z=-2,50], EntityZombie['Zombie'/634, l='MpServer', x=-59,50, y=30,00, z=-0,50], EntityZombie['Zombie'/635, l='MpServer', x=-58,50, y=30,00, z=-2,50], EntityCreeper['Creeper'/636, l='MpServer', x=-22,50, y=37,00, z=-38,50], EntityCreeper['Creeper'/637, l='MpServer', x=-19,50, y=37,00, z=-42,50], EntityCreeper['Creeper'/638, l='MpServer', x=-19,50, y=37,00, z=-43,50], EntityChicken['Chicken'/642, l='MpServer', x=-34,68, y=62,70, z=-71,89], EntityItem['item.item.egg'/643, l='MpServer', x=-35,11, y=61,00, z=-75,65], EntityChicken['Chicken'/644, l='MpServer', x=-12,83, y=68,00, z=-82,51], EntityChicken['Chicken'/645, l='MpServer', x=-25,81, y=66,00, z=-92,89], EntityChicken['Chicken'/646, l='MpServer', x=-26,80, y=67,00, z=-88,52], EntityItem['item.item.egg'/647, l='MpServer', x=-17,34, y=67,00, z=-81,71], EntityItem['item.item.egg'/648, l='MpServer', x=-25,62, y=66,00, z=-93,21], EntityItem['item.item.egg'/649, l='MpServer', x=-26,79, y=67,00, z=-89,05], EntityChicken['Chicken'/656, l='MpServer', x=-17,78, y=66,00, z=-79,45], EntityItem['item.item.egg'/657, l='MpServer', x=-17,96, y=66,00, z=-79,38], EntityChicken['Chicken'/662, l='MpServer', x=-29,50, y=68,00, z=-87,84], EntityChicken['Chicken'/663, l='MpServer', x=-28,50, y=64,00, z=-101,50], EntitySquid['Squid'/665, l='MpServer', x=-33,21, y=62,49, z=-110,25], EntityPig['Pig'/410, l='MpServer', x=-149,82, y=72,00, z=4,20], EntityPig['Pig'/412, l='MpServer', x=-141,39, y=73,00, z=-13,32], EntityPig['Pig'/413, l='MpServer', x=-138,67, y=73,00, z=-13,51], EntityPig['Pig'/414, l='MpServer', x=-132,79, y=70,90, z=-10,85], EntityPig['Pig'/415, l='MpServer', x=-143,31, y=73,00, z=-23,27], EntityCreeper['Creeper'/927, l='MpServer', x=-94,50, y=31,00, z=-62,50], EntityCreeper['Creeper'/673, l='MpServer', x=-66,50, y=30,00, z=-63,50], EntityPig['Pig'/419, l='MpServer', x=-131,49, y=73,00, z=8,29], EntitySkeleton['Skeleton'/935, l='MpServer', x=-88,50, y=53,00, z=-49,50], EntityPig['Pig'/424, l='MpServer', x=-122,51, y=71,00, z=-45,34], EntityCreeper['Creeper'/936, l='MpServer', x=-89,50, y=53,00, z=-52,50], EntityPig['Pig'/425, l='MpServer', x=-124,20, y=72,00, z=-67,31], EntityChicken['Chicken'/426, l='MpServer', x=-112,58, y=71,00, z=-49,12], EntityItem['item.item.egg'/427, l='MpServer', x=-112,97, y=71,00, z=-49,52], EntityPig['Pig'/432, l='MpServer', x=-134,29, y=74,00, z=-17,51], EntityPig['Pig'/433, l='MpServer', x=-136,26, y=74,00, z=-18,65], EntityPig['Pig'/434, l='MpServer', x=-134,28, y=74,00, z=-18,76], EntityPig['Pig'/435, l='MpServer', x=-140,61, y=73,00, z=-24,75], EntityCreeper['Creeper'/691, l='MpServer', x=5,50, y=28,00, z=-5,50], EntityChicken['Chicken'/436, l='MpServer', x=-119,50, y=71,00, z=-47,50], EntityChicken['Chicken'/437, l='MpServer', x=-121,17, y=72,00, z=-41,54], EntitySpider['Spider'/693, l='MpServer', x=2,50, y=28,00, z=-4,50], EntityItem['item.item.egg'/438, l='MpServer', x=-119,31, y=71,00, z=-47,09], EntitySkeleton['Skeleton'/694, l='MpServer', x=1,50, y=28,00, z=-5,50], EntityZombie['Zombie'/439, l='MpServer', x=-105,50, y=27,00, z=-60,50], EntityZombie['Zombie'/695, l='MpServer', x=4,56, y=35,00, z=-12,27], EntityZombie['Zombie'/440, l='MpServer', x=-106,50, y=27,00, z=-60,50], EntityZombie['Zombie'/441, l='MpServer', x=-100,50, y=33,00, z=-63,50], EntityCreeper['Creeper'/442, l='MpServer', x=-103,50, y=36,00, z=-63,50], EntityPig['Pig'/443, l='MpServer', x=-104,28, y=70,00, z=-48,81], EntityBat['Bat'/956, l='MpServer', x=-17,40, y=35,05, z=-8,37], EntityBat['Bat'/448, l='MpServer', x=-109,80, y=34,55, z=-109,75], EntityBat['Bat'/449, l='MpServer', x=-106,36, y=33,66, z=-93,32], EntityPig['Pig'/450, l='MpServer', x=-119,47, y=72,00, z=-67,32], EntityBat['Bat'/455, l='MpServer', x=-107,43, y=37,10, z=-116,25], EntityZombie['Zombie'/711, l='MpServer', x=0,50, y=21,00, z=5,50], EntityChicken['Chicken'/714, l='MpServer', x=6,83, y=64,00, z=-60,54], EntityZombie['Zombie'/716, l='MpServer', x=4,27, y=34,00, z=-44,46], EntityBat['Bat'/1005, l='MpServer', x=-3,76, y=26,52, z=-3,72], EntitySkeleton['Skeleton'/510, l='MpServer', x=-82,50, y=30,00, z=3,50], EntityBat['Bat'/511, l='MpServer', x=-74,44, y=11,17, z=-9,99]]
    Retry entities: 0 total; []
    Server brand: fml,forge
    Server type: Integrated singleplayer server
Stacktrace:
    at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:456)
    at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2779)
    at net.minecraft.client.Minecraft.run(Minecraft.java:435)
    at net.minecraft.client.main.Main.main(Main.java:118)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
    at GradleStart.main(GradleStart.java:26)

-- System Details --
Details:
    Minecraft Version: 1.10.2
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_181, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 442850880 bytes (422 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
    FML: MCP 9.32 Powered by Forge 12.18.3.2185 4 mods loaded, 4 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    UCHIJAAAA    mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) 
    UCHIJAAAA    FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.10.2-12.18.3.2185.jar) 
    UCHIJAAAA    Forge{12.18.3.2185} [Minecraft Forge] (forgeSrc-1.10.2-12.18.3.2185.jar) 
    UCHIJAAAA    reddeathmod{1.0} [Reddeathmod Mod] (bin) 
    Loaded coremods (and transformers): 
    GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 399.24' Renderer: 'GeForce GTX 1050 Ti/PCIe/SSE2'
    Launched Version: 1.10.2
    LWJGL: 2.9.4
    OpenGL: GeForce GTX 1050 Ti/PCIe/SSE2 GL version 4.6.0 NVIDIA 399.24, NVIDIA Corporation
    GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.

    Using VBOs: Yes
    Is Modded: Definitely; Client brand changed to 'fml,forge'
    Type: Client (map_client.txt)
    Resource Packs: 
    Current Language: English (United Kingdom)
    Profiler Position: N/A (disabled)
    CPU: 4x AMD A8-7600 Radeon R7, 10 Compute Cores 4C+6G 

 

Edited by toocrazy
Posted
49 minutes ago, toocrazy said:

craftingblocks.add(0, (Block) worldIn.getBlockState(block1));

A BlockState is not a block. It is a combination of Block + metadata + other values.

Are you using an IDE to write your mod?

Do you know Java?

  • Thanks 1

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I'm no Java expert, but am trying to generate the dimension noise_settings for my mod using code, but am stuck on how to program 'string' arguments. I have used the Noise Settings Generator at https://misode.github.io/worldgen/noise-settings/?version=1.20 to design my noise settings In my code, my RegistrySetBuilder adds Registries.NOISE_SETTINGS, and in that bootstrap I register my noise which creates a new NoiseGeneratorSettings. This creates a new NoiseRouter, to which I pass DensityFunction parameters Noise Settings Generator Float Arguments I can code like: DensityFunctions.constant(1) Object Arguments I can code like: DensityFunctions.noise(holdergetter.getOrThrow(Noises.SURFACE), 500.0D, -12.0D) But I can't see how to do String Arguments. In misode they look like Argument: String: minecraft:overworld_large_biomes/sloped_cheese   Any ideas?
    • Hello everyone, Very junior mod maker here. I'm making a floating plank that sits over water. There's this heavy shadow on it when there's a block over it for some reason. As you can see in the picture, the lily pad that has a block over it is just a little darker from the shadow. however my custom plank is almost dark. I have no idea what might cause this. If it is how I generate the block model, here's the code I'm using:   getBuilder(block.getId().getPath()) .ao(false) .texture("particle", new ResourceLocation(xxxxx.MODID, "block/" + block.getId().getPath())) .texture("texture", new ResourceLocation(xxxxx.MODID, "block/" + block.getId().getPath())) .element() .from(0.01f, -2f, 0.01f) .to(15.99f, 0.01f, 15.99f) .face(Direction.DOWN).uvs(0f, 0f, 16f, 16f).texture("#texture").cullface(Direction.DOWN).tintindex(0).end() .face(Direction.UP).uvs(0f, 0f, 16f, 16f).texture("#texture").cullface(Direction.UP).tintindex(0).end() .face(Direction.NORTH).uvs(0f, 0f, 16f, 2.01f).texture("#texture").cullface(Direction.NORTH).tintindex(0).end() .face(Direction.SOUTH).uvs(0f, 0f, 16f, 2.01f).texture("#texture").cullface(Direction.SOUTH).tintindex(0).end() .face(Direction.EAST).uvs(0f, 0f, 2.01f, 16f).texture("#texture").rotation(ModelBuilder.FaceRotation.CLOCKWISE_90).cullface(Direction.EAST).tintindex(0).end() .face(Direction.WEST).uvs(0f, 0f, 2.01f, 16f).texture("#texture").rotation(ModelBuilder.FaceRotation.CLOCKWISE_90).cullface(Direction.WEST).tintindex(0).end() .end();  
    • [30Jan2025 13:41:57. 714] [main/INFO] [cpw. mods. modlauncher. Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, arclightserver, --fml. forgeVersion, 47. 3. 22, --fml. mcVersion, 1. 20. 1, --fml. forgeGroup, net. minecraftforge, --fml. mcpVersion, 20230612. 114412, nogui] 14[30Jan2025 13:41:57. 715] [main/INFO] [cpw. mods. modlauncher. Launcher/MODLAUNCHER]: ModLauncher 10. 0. 9+10. 0. 9+main. dcd20f30 starting: java version 17. 0. 13 by Eclipse Adoptium; OS Linux arch amd64 version 5. 15. 0-131-generic 15[30Jan2025 13:41:58. 774] [main/INFO] [net. minecraftforge. fml. loading. ImmediateWindowHandler/]: ImmediateWindowProvider not loading because launch target is arclightserver 16[30Jan2025 13:41:58. 804] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0. 8. 5 Source=union:/server/libraries/org/spongepowered/mixin/0. 8. 5/mixin-0. 8. 5. jar%2399!/ Service=ModLauncher Env=SERVER 17[30Jan2025 13:41:59. 305] [main/WARN] [net. minecraftforge. fml. loading. moddiscovery. ModFileParser/LOADING]: Mod file /server/libraries/net/minecraftforge/fmlcore/1. 20. 1-47. 3. 22/fmlcore-1. 20. 1-47. 3. 22. jar is missing mods. toml file 18[30Jan2025 13:41:59. 308] [main/WARN] [net. minecraftforge. fml. loading. moddiscovery. ModFileParser/LOADING]: Mod file /server/libraries/net/minecraftforge/javafmllanguage/1. 20. 1-47. 3. 22/javafmllanguage-1. 20. 1-47. 3. 22. jar is missing mods. toml file 19[30Jan2025 13:41:59. 309] [main/WARN] [net. minecraftforge. fml. loading. moddiscovery. ModFileParser/LOADING]: Mod file /server/libraries/net/minecraftforge/lowcodelanguage/1. 20. 1-47. 3. 22/lowcodelanguage-1. 20. 1-47. 3. 22. jar is missing mods. toml file 20[30Jan2025 13:41:59. 311] [main/WARN] [net. minecraftforge. fml. loading. moddiscovery. ModFileParser/LOADING]: Mod file /server/libraries/net/minecraftforge/mclanguage/1. 20. 1-47. 3. 22/mclanguage-1. 20. 1-47. 3. 22. jar is missing mods. toml file 21[30Jan2025 13:41:59. 572] [main/INFO] [net. minecraftforge. fml. loading. moddiscovery. JarInJarDependencyLocator/]: Found 15 dependencies adding them to mods collection 22[30Jan2025 13:42:04. 300] [main/INFO] [mixin/]: Compatibility level set to JAVA_17 23[30Jan2025 13:42:04. 507] [main/ERROR] [mixin/]: Mixin config mixins. megamons-common. json does not specify "minVersion" property 24[30Jan2025 13:42:04. 621] [main/INFO] [mixin/]: Successfully loaded Mixin Connector [de. maxhenkel. tradecycling. MixinConnector] 25[30Jan2025 13:42:04. 625] [main/INFO] [mixin/]: Successfully loaded Mixin Connector [io. izzel. arclight. common. mod. ArclightConnector] 26[30Jan2025 13:42:04. 696] [main/INFO] [Arclight/]: Arclight core mixin added. 27[30Jan2025 13:42:04. 708] [main/INFO] [Arclight/]: Arclight optimization mixin added. 28[30Jan2025 13:42:04. 712] [main/INFO] [cpw. mods. modlauncher. LaunchServiceHandler/MODLAUNCHER]: Launching target 'arclightserver' with arguments [nogui] 29[30Jan2025 13:42:04. 982] [main/WARN] [mixin/]: Reference map 'handcrafted-forge-1. 20. 1-forge-refmap. json' for handcrafted. mixins. json could not be read. If this is a development environment you can ignore this message 30[30Jan2025 13:42:05. 003] [main/WARN] [mixin/]: Reference map 'megamons-forge-refmap. json' for mixins. megamons-forge. json could not be read. If this is a development environment you can ignore this message 31[30Jan2025 13:42:05. 021] [main/WARN] [mixin/]: Reference map 'CreateLiquidFuel. refmap. json' for createliquidfuel. mixins. json could not be read. If this is a development environment you can ignore this message 32[30Jan2025 13:42:05. 029] [main/WARN] [mixin/]: Reference map 'chiselsandbits. refmap. json' for chisels-and-bits. mixins. json could not be read. If this is a development environment you can ignore this message 33[30Jan2025 13:42:06. 109] [main/WARN] [mixin/]: Error loading class: com/copycatsplus/copycats/content/copycat/slab/CopycatSlabBlock (java. lang. ClassNotFoundException: com. copycatsplus. copycats. content. copycat. slab. CopycatSlabBlock) 34[30Jan2025 13:42:06. 109] [main/WARN] [mixin/]: @Mixin target com. copycatsplus. copycats. content. copycat. slab. CopycatSlabBlock was not found create_connected. mixins. json:compat. CopycatBlockMixin 35[30Jan2025 13:42:06. 112] [main/WARN] [mixin/]: Error loading class: com/copycatsplus/copycats/content/copycat/board/CopycatBoardBlock (java. lang. ClassNotFoundException: com. copycatsplus. copycats. content. copycat. board. CopycatBoardBlock) 36[30Jan2025 13:42:06. 112] [main/WARN] [mixin/]: @Mixin target com. copycatsplus. copycats. content. copycat. board. CopycatBoardBlock was not found create_connected. mixins. json:compat. CopycatBlockMixin 37[30Jan2025 13:42:06. 154] [main/WARN] [mixin/]: Error loading class: me/jellysquid/mods/lithium/common/ai/pathing/PathNodeDefaults (java. lang. ClassNotFoundException: me. jellysquid. mods. lithium. common. ai. pathing. PathNodeDefaults) 38[30Jan2025 13:42:06. 212] [main/ERROR] [net. minecraftforge. fml. loading. RuntimeDistCleaner/DISTXFORM]: Attempted to load class com/simibubi/create/foundation/gui/AbstractSimiScreen for invalid dist DEDICATED_SERVER 39[30Jan2025 13:42:06. 213] [main/WARN] [mixin/]: Error loading class: com/simibubi/create/foundation/gui/AbstractSimiScreen (java. lang. RuntimeException: Attempted to load class com/simibubi/create/foundation/gui/AbstractSimiScreen for invalid dist DEDICATED_SERVER) 40[30Jan2025 13:42:06. 213] [main/WARN] [mixin/]: @Mixin target com. simibubi. create. foundation. gui. AbstractSimiScreen was not found create_connected. mixins. json:sequencedgearshift. AbstractSimiScreenAccessor 41[30Jan2025 13:42:07. 237] [main/WARN] [mixin/]: Error loading class: juuxel/adorn/block/variant/BlockVariantSets (java. lang. ClassNotFoundException: juuxel. adorn. block. variant. BlockVariantSets) 42[30Jan2025 13:42:07. 237] [main/WARN] [mixin/]: @Mixin target juuxel. adorn. block. variant. BlockVariantSets was not found mixins. cobblemon-common. json:invoker. AdornRegisterInvoker 43[30Jan2025 13:42:11. 158] [main/INFO] [MixinExtras|Service/]: Initializing MixinExtras via com. llamalad7. mixinextras. service. MixinExtrasServiceImpl(version=0. 3. 5). 44[30Jan2025 13:42:20. 266] [main/WARN] [mixin/]: Static binding violation: PRIVATE @Overwrite method m_147092_ in mixins. arclight. core. json:world. entity. ExperienceOrbMixin cannot reduce visibiliy of PUBLIC target method, visibility will be upgraded. 45[30Jan2025 13:42:21. 288] [main/ERROR] [net. minecraftforge. coremod. transformer. CoreModBaseTransformer/COREMOD]: Error occurred applying transform of coremod coremods/field_to_method. js function biome 46java. lang. IllegalStateException: Field f_47437_ is not private and an instance field 47at net. minecraftforge. coremod. api. ASMAPI. redirectFieldToMethod(ASMAPI. java:1069) ~[coremods-5. 2. 4. jar%2388!/:?] {} 48at org. openjdk. nashorn. internal. scripts. Script$Recompilation$22$292A$\^eval\_. initializeCoreMod#transformer(:11) ~[?:?] {} 49at org. openjdk. nashorn. internal. runtime. ScriptFunctionData. invoke(ScriptFunctionData. java:648) ~[nashorn-core-15. 4. jar%23100!/:?] {} 50at org. openjdk. nashorn. internal. runtime. ScriptFunction. invoke(ScriptFunction. java:513) ~[nashorn-core-15. 4. jar%23100!/:?] {} 51at org. openjdk. nashorn. internal. runtime. ScriptRuntime. apply(ScriptRuntime. java:520) ~[nashorn-core-15. 4. jar%23100!/:?] {} 52at org. openjdk. nashorn. api. scripting. ScriptObjectMirror. call(ScriptObjectMirror. java:111) ~[nashorn-core-15. 4. jar%23100!/:?] {} 53at net. minecraftforge. coremod. NashornFactory. lambda$getFunction$0(NashornFactory. java:37) ~[coremods-5. 2. 4. jar%2388!/:5. 2. 4] {} 54at net. minecraftforge. coremod. transformer. CoreModClassTransformer. runCoremod(CoreModClassTransformer. java:22) ~[coremods-5. 2. 4. jar%2388!/:?] {} 55at net. minecraftforge. coremod. transformer. CoreModClassTransformer. runCoremod(CoreModClassTransformer. java:14) ~[coremods-5. 2. 4. jar%2388!/:?] {} 56at net. minecraftforge. coremod. transformer. CoreModBaseTransformer. transform(CoreModBaseTransformer. java:60) ~[coremods-5. 2. 4. jar%2388!/:?] {} 57at cpw. mods. modlauncher. TransformerHolder. transform(TransformerHolder. java:41) ~[modlauncher-10. 0. 9. jar%2389!/:?] {} 58at cpw. mods. modlauncher. ClassTransformer. performVote(ClassTransformer. java:179) ~[modlauncher-10. 0. 9. jar%2389!/:?] {} 59at cpw. mods. modlauncher. ClassTransformer. transform(ClassTransformer. java:117) ~[modlauncher-10. 0. 9. jar%2389!/:?] {} 60at cpw. mods. modlauncher. TransformingClassLoader. maybeTransformClassBytes(TransformingClassLoader. java:50) ~[modlauncher-10. 0. 9. jar%2389!/:?] {} 61at cpw. mods. cl. ModuleClassLoader. getMaybeTransformedClassBytes(ModuleClassLoader. java:250) ~[securejarhandler-2. 1. 10. jar:?] {} 62at cpw. mods. modlauncher. TransformingClassLoader. buildTransformedClassNodeFor(TransformingClassLoader. java:58) ~[modlauncher-10. 0. 9. jar%2389!/:?] {} 63at cpw. mods. modlauncher. LaunchPluginHandler. lambda$announceLaunch$10(LaunchPluginHandler. java:100) ~[modlauncher-10. 0. 9. jar%2389!/:?] {} 64at org. spongepowered. asm. launch. MixinLaunchPluginLegacy. getClassNode(MixinLaunchPluginLegacy. java:222) ~[mixin-0. 8. 5. jar%2399!/:0. 8. 5+Jenkins-b310. git-155314e6e91465dad727e621a569906a410cd6f4] {} 65at org. spongepowered. asm. launch. MixinLaunchPluginLegacy. getClassNode(MixinLaunchPluginLegacy. java:207) ~[mixin-0. 8. 5. jar%2399!/:0. 8. 5+Jenkins-b310. git-155314e6e91465dad727e621a569906a410cd6f4] {} 66at org. spongepowered. asm. mixin. transformer. ClassInfo. forName(ClassInfo. java:2005) ~[mixin-0. 8. 5. jar%2399!/:0. 8. 5+Jenkins-b310. git-155314e6e91465dad727e621a569906a410cd6f4] {} 67at org. spongepowered. asm. mixin. transformer. ClassInfo. forType(ClassInfo. java:2059) ~[mixin-0. 8. 5. jar%2399!/:0. 8. 5+Jenkins-b310. git-155314e6e91465dad727e621a569906a410cd6f4] {} 68at org. spongepowered. asm. mixin. transformer. ClassInfo. forDescriptor(ClassInfo. java:2038) ~[mixin-0. 8. 5. jar%2399!/:0. 8. 5+Jenkins-b310. git-155314e6e91465dad727e621a569906a410cd6f4] {} 69at org. spongepowered. asm. mixin. transformer. MixinPreProcessorStandard. transformMethod(MixinPreProcessorStandard. java:752) ~[mixin-0. 8. 5. jar%2399!/:0. 8. 5+Jenkins-b310. git-155314e6e91465dad727e621a569906a410cd6f4] {} 70at org. spongepowered. asm. mixin. transformer. MixinPreProcessorStandard. transform(MixinPreProcessorStandard. java:739) ~[mixin-0. 8. 5. jar%2399!/:0. 8. 5+Jenkins-b310. git-155314e6e91465dad727e621a569906a410cd6f4] {} 71at org. spongepowered. asm. mixin. transformer. MixinPreProcessorStandard. attach(MixinPreProcessorStandard. java:310) ~[mixin-0. 8. 5. jar%2399!/:0. 8. 5+Jenkins-b310. git-155314e6e91465dad727e621a569906a410cd6f4] {} 72at org. spongepowered. asm. mixin. transformer. MixinPreProcessorStandard. createContextFor(MixinPreProcessorStandard. java:280) ~[mixin-0. 8. 5. jar%2399!/:0. 8. 5+Jenkins-b310. git-155314e6e91465dad727e621a569906a410cd6f4] {} 73at org. spongepowered. asm. mixin. transformer. MixinInfo. createContextFor(MixinInfo. java:1288) ~[mixin-0. 8. 5. jar%2399!/:0. 8. 5+Jenkins-b310. git-155314e6e91465dad727e621a569906a410cd6f4] {} 74at org. spongepowered. asm. mixin. transformer. MixinApplicatorStandard. apply(MixinApplicatorStandard. java:292) ~[mixin-0. 8. 5. jar%2399!/:0. 8. 5+Jenkins-b310. git-155314e6e91465dad727e621a569906a410cd6f4] {} 75at org. spongepowered. asm. mixin. transformer. TargetClassContext. apply(TargetClassContext. java:383) ~[mixin-0. 8. 5. jar%2399!/:0. 8. 5+Jenkins-b310. git-155314e6e91465dad727e621a569906a410cd6f4] {} 76at org. spongepowered. asm. mixin. transformer. TargetClassContext. applyMixins(TargetClassContext. java:365) ~[mixin-0. 8. 5. jar%2399!/:0. 8. 5+Jenkins-b310. git-155314e6e91465dad727e621a569906a410cd6f4] {} 77at org. spongepowered. asm. mixin. transformer. MixinProcessor. applyMixins(MixinProcessor. java:363) ~[mixin-0. 8. 5. jar%2399!/:0. 8. 5+Jenkins-b310. git-155314e6e91465dad727e621a569906a410cd6f4] {} 78at org. spongepowered. asm. mixin. transformer. MixinTransformer. transformClass(MixinTransformer. java:250) ~[mixin-0. 8. 5. jar%2399!/:0. 8. 5+Jenkins-b310. git-155314e6e91465dad727e621a569906a410cd6f4] {} 79at org. spongepowered. asm. service. modlauncher. MixinTransformationHandler. processClass(MixinTransformationHandler. java:131) ~[mixin-0. 8. 5. jar%2399!/:0. 8. 5+Jenkins-b310. git-155314e6e91465dad727e621a569906a410cd6f4] {} 80at org. spongepowered. asm. launch. MixinLaunchPluginLegacy. processClass(MixinLaunchPluginLegacy. java:131) ~[mixin-0. 8. 5. jar%2399!/:0. 8. 5+Jenkins-b310. git-155314e6e91465dad727e621a569906a410cd6f4] {} 81at cpw. mods. modlauncher. serviceapi. ILaunchPluginService. processClassWithFlags(ILaunchPluginService. java:156) ~[modlauncher-10. 0. 9. jar%2389!/:10. 0. 9+10. 0. 9+main. dcd20f30] {} 82at cpw. mods. modlauncher. LaunchPluginHandler. offerClassNodeToPlugins(LaunchPluginHandler. java:88) ~[modlauncher-10. 0. 9. jar%2389!/:?] {} 83at cpw. mods. modlauncher. ClassTransformer. transform(ClassTransformer. java:120) ~[modlauncher-10. 0. 9. jar%2389!/:?] {} 84at cpw. mods. modlauncher. TransformingClassLoader. maybeTransformClassBytes(TransformingClassLoader. java:50) ~[modlauncher-10. 0. 9. jar%2389!/:?] {} 85at cpw. mods. cl. ModuleClassLoader. readerToClass(ModuleClassLoader. java:113) ~[securejarhandler-2. 1. 10. jar:?] {} 86at cpw. mods. cl. ModuleClassLoader. lambda$findClass$15(ModuleClassLoader. java:219) ~[securejarhandler-2. 1. 10. jar:?] {} 87at cpw. mods. cl. ModuleClassLoader. loadFromModule(ModuleClassLoader. java:229) ~[securejarhandler-2. 1. 10. jar:?] {} 88at cpw. mods. cl. ModuleClassLoader. findClass(ModuleClassLoader. java:219) ~[securejarhandler-2. 1. 10. jar:?] {} 89at cpw. mods. cl. ModuleClassLoader. loadClass(ModuleClassLoader. java:135) ~[securejarhandler-2. 1. 10. jar:?] {} 90at java. lang. ClassLoader. loadClass(ClassLoader. java:525) ~[?:?] {} 91at net. minecraft. core. GlobalPos. m_122641_(GlobalPos. java:11) ~[server-1. 20. 1-20230612. 114412-srg. jar%23247!/:?] {re:mixin, re:classloading} 92at com. mojang. serialization. codecs. RecordCodecBuilder. create(RecordCodecBuilder. java:72) ~[datafixerupper-6. 0. 8. jar%23111!/:?] {} 93at net. minecraft. core. GlobalPos. (GlobalPos. java:11) ~[server-1. 20. 1-20230612. 114412-srg. jar%23247!/:?] {re:mixin, re:classloading} 94at net. minecraft. world. entity. ai. memory. MemoryModuleType. (MemoryModuleType. java:32) ~[server-1. 20. 1-20230612. 114412-srg. jar%23247!/:?] {re:classloading, pl:accesstransformer:B, re:mixin, pl:accesstransformer:B} 95at net. minecraft. world. entity. animal. frog. Tadpole. (TadpoleMixin. java:53) ~[server-1. 20. 1-20230612. 114412-srg. jar%23247!/:?] {re:mixin, pl:accesstransformer:B, xf:fml:forge:forge_method_redirector, re:classloading, pl:accesstransformer:B, xf:fml:forge:forge_method_redirector, pl:mixin:APP:mixins. arclight. core. json:world. entity. animal. frog. TadpoleMixin, pl:mixin:A} 96at net. minecraft. world. entity. EntityType. (EntityTypeMixin. java:267) ~[server-1. 20. 1-20230612. 114412-srg. jar%23247!/:?] {re:mixin, xf:fml:forge:forge_method_redirector, re:classloading, xf:fml:forge:forge_method_redirector, pl:mixin:APP:mixins. arclight. core. json:world. entity. EntityTypeMixin, pl:mixin:A} 97at net. minecraft. world. item. Items. (Items. java:754) ~[server-1. 20. 1-20230612. 114412-srg. jar%23247!/:?] {re:mixin, pl:object_holder_definalize:A, re:classloading, pl:object_holder_definalize:A} 98at net. minecraft. world. level. block. ComposterBlock. m_51988_(ComposterBlockMixin. java:60) ~[server-1. 20. 1-20230612. 114412-srg. jar%23247!/:?] {re:mixin, pl:accesstransformer:B, re:classloading, pl:accesstransformer:B, pl:mixin:APP:mixins. arclight. core. json:world. level. block. ComposterBlockMixin, pl:mixin:A} 99at net. minecraft. server. Bootstrap. m_135870_(BootstrapMixin. java:47) ~[server-1. 20. 1-20230612. 114412-srg. jar%23247!/:?] {re:mixin, re:classloading, pl:mixin:APP:mixins. arclight. core. json:server. BootstrapMixin, pl:mixin:A} 100at net. minecraft. server. Main. main(Main. java:121) ~[server-1. 20. 1-20230612. 114412-srg. jar%23247!/:?] {re:mixin, pl:accesstransformer:B, re:classloading, pl:accesstransformer:B, pl:mixin:A} 101at jdk. internal. reflect. NativeMethodAccessorImpl. invoke0(Native Method) ~[?:?] {} 102at jdk. internal. reflect. NativeMethodAccessorImpl. invoke(NativeMethodAccessorImpl. java:77) ~[?:?] {} 103at jdk. internal. reflect. DelegatingMethodAccessorImpl. invoke(DelegatingMethodAccessorImpl. java:43) ~[?:?] {} 104at java. lang. reflect. Method. invoke(Method. java:569) ~[?:?] {} 105at net. minecraftforge. fml. loading. targets. CommonLaunchHandler. runTarget(CommonLaunchHandler. java:111) ~[fmlloader-1. 20. 1-47. 3. 22. jar%23103!/:?] {} 106at net. minecraftforge. fml. loading. targets. CommonLaunchHandler. serverService(CommonLaunchHandler. java:103) ~[fmlloader-1. 20. 1-47. 3. 22. jar%23103!/:?] {} 107at net. minecraftforge. fml. loading. targets. CommonServerLaunchHandler. lambda$makeService$0(CommonServerLaunchHandler. java:27) ~[fmlloader-1. 20. 1-47. 3. 22. jar%23103!/:?] {} 108at cpw. mods. modlauncher. LaunchServiceHandlerDecorator. launch(LaunchServiceHandlerDecorator. java:30) ~[modlauncher-10. 0. 9. jar%2389!/:?] {} 109at cpw. mods. modlauncher. LaunchServiceHandler. launch(LaunchServiceHandler. java:53) ~[modlauncher-10. 0. 9. jar%2389!/:?] {} 110at cpw. mods. modlauncher. LaunchServiceHandler. launch(LaunchServiceHandler. java:71) ~[modlauncher-10. 0. 9. jar%2389!/:?] {} 111at cpw. mods. modlauncher. Launcher. run(Launcher. java:108) ~[modlauncher-10. 0. 9. jar%2389!/:?] {} 112at cpw. mods. modlauncher. Launcher. main(Launcher. java:78) ~[modlauncher-10. 0. 9. jar%2389!/:?] {} 113at cpw. mods. modlauncher. BootstrapLaunchConsumer. accept(BootstrapLaunchConsumer. java:26) ~[modlauncher-10. 0. 9. jar%2389!/:?] {} 114at cpw. mods. modlauncher. BootstrapLaunchConsumer. accept(BootstrapLaunchConsumer. java:23) ~[modlauncher-10. 0. 9. jar%2389!/:?] {} 115at io. izzel. arclight. boot. application. ApplicationBootstrap. accept(ApplicationBootstrap. java:46) ~[arclight. jar:arclight-1. 20. 1-1. 0. 6-SNAPSHOT-c1e6367] {} 116at jdk. internal. reflect. NativeMethodAccessorImpl. invoke0(Native Method) ~[?:?] {} 117at jdk. internal. reflect. NativeMethodAccessorImpl. invoke(NativeMethodAccessorImpl. java:77) ~[?:?] {} 118at jdk. internal. reflect. DelegatingMethodAccessorImpl. invoke(DelegatingMethodAccessorImpl. java:43) ~[?:?] {} 119at java. lang. reflect. Method. invoke(Method. java:569) ~[?:?] {} 120at io. izzel. arclight. boot. application. BootstrapTransformer. onInvoke$BootstrapLauncher(BootstrapTransformer. java:26) ~[arclight. jar:arclight-1. 20. 1-1. 0. 6-SNAPSHOT-c1e6367] {} 121at cpw. mods. bootstraplauncher. BootstrapLauncher. main(BootstrapLauncher. java:141) ~[bootstraplauncher-1. 1. 2. jar:?] {} 122at jdk. internal. reflect. NativeMethodAccessorImpl. invoke0(Native Method) ~[?:?] {} 123at jdk. internal. reflect. NativeMethodAccessorImpl. invoke(NativeMethodAccessorImpl. java:77) ~[?:?] {} 124at jdk. internal. reflect. DelegatingMethodAccessorImpl. invoke(DelegatingMethodAccessorImpl. java:43) ~[?:?] {} 125at java. lang. reflect. Method. invoke(Method. java:569) ~[?:?] {} 126at io. izzel. arclight. boot. application. Main_Forge. main(Main_Forge. java:33) ~[arclight. jar%2383!/:arclight-1. 20. 1-1. 0. 6-SNAPSHOT-c1e6367] {} 127at io. izzel. arclight. server. Launcher. main(Launcher. java:18) ~[arclight. jar%2383!/:arclight-1. 20. 1-1. 0. 6-SNAPSHOT-c1e6367] {} 128[30Jan2025 13:42:21. 327] [main/WARN] [mixin/]: @Inject(@At("INVOKE_ASSIGN")) Shift. BY=2 on refurbished_furniture. common. mixins. json:LevelChunkMixin::handler$zjk000$refurbishedFurniture$AfterRemoveBlockEntity exceeds the maximum allowed value: 0. Increase the value of maxShiftBy to suppress this warning. 129[30Jan2025 13:42:22. 457] [main/WARN] [mixin/]: Mixin alexscaves. mixins. json:SwampHutPieceMixin has multiple constructors, (Lnet/minecraft/world/level/levelgen/structure/pieces/StructurePieceType; IIIIIILnet/minecraft/core/Direction; )V was selected 130 131[30Jan2025 13:42:22. 601] [main/ERROR] [net. minecraftforge. coremod. transformer. CoreModBaseTransformer/COREMOD]: Error occurred applying transform of coremod coremods/field_to_method. js function biome 132java. lang. IllegalStateException: Field f_47437_ is not private and an instance field 133at net. minecraftforge. coremod. api. ASMAPI. redirectFieldToMethod(ASMAPI. java:1069) ~[coremods-5. 2. 4. jar%2388!/:?] {} 134at org. openjdk. nashorn. internal. scripts. Script$Recompilation$22$292A$\^eval\_. initializeCoreMod#transformer(:11) ~[?:?] {} 135at org. openjdk. nashorn. internal. runtime. ScriptFunctionData. invoke(ScriptFunctionData. java:648) ~[nashorn-core-15. 4. jar%23100!/:?] {} 136at org. openjdk. nashorn. internal. runtime. ScriptFunction. invoke(ScriptFunction. java:513) ~[nashorn-core-15. 4. jar%23100!/:?] {} 137at org. openjdk. nashorn. internal. runtime. ScriptRuntime. apply(ScriptRuntime. java:520) ~[nashorn-core-15. 4. jar%23100!/:?] {} 138at org. openjdk. nashorn. api. scripting. ScriptObjectMirror. call(ScriptObjectMirror. java:111) ~[nashorn-core-15. 4. jar%23100!/:?] {} 139at net. minecraftforge. coremod. NashornFactory. lambda$getFunction$0(NashornFactory. java:37) ~[coremods-5. 2. 4. jar%2388!/:5. 2. 4] {} 140at net. minecraftforge. coremod. transformer. CoreModClassTransformer. runCoremod(CoreModClassTransformer. java:22) ~[coremods-5. 2. 4. jar%2388!/:?] {} 141at net. minecraftforge. coremod. transformer. CoreModClassTransformer. runCoremod(CoreModClassTransformer. java:14) ~[coremods-5. 2. 4. jar%2388!/:?] {} 142at net. minecraftforge. coremod. transformer. CoreModBaseTransformer. transform(CoreModBaseTransformer. java:60) ~[coremods-5. 2. 4. jar%2388!/:?] {} 143at cpw. mods. modlauncher. TransformerHolder. transform(TransformerHolder. java:41) ~[modlauncher-10. 0. 9. jar%2389!/:?] {} 144at cpw. mods. modlauncher. ClassTransformer. performVote(ClassTransformer. java:179) ~[modlauncher-10. 0. 9. jar%2389!/:?] {} 145at cpw. mods. modlauncher. ClassTransformer. transform(ClassTransformer. java:117) ~[modlauncher-10. 0. 9. jar%2389!/:?] {} 146at cpw. mods. modlauncher. TransformingClassLoader. maybeTransformClassBytes(TransformingClassLoader. java:50) ~[modlauncher-10. 0. 9. jar%2389!/:?] {} 147at cpw. mods. cl. ModuleClassLoader. readerToClass(ModuleClassLoader. java:113) ~[securejarhandler-2. 1. 10. jar:?] {} 148at cpw. mods. cl. ModuleClassLoader. lambda$findClass$15(ModuleClassLoader. java:219) ~[securejarhandler-2. 1. 10. jar:?] {} 149at cpw. mods. cl. ModuleClassLoader. loadFromModule(ModuleClassLoader. java:229) ~[securejarhandler-2. 1. 10. jar:?] {} 150at cpw. mods. cl. ModuleClassLoader. findClass(ModuleClassLoader. java:219) ~[securejarhandler-2. 1. 10. jar:?] {} 151at cpw. mods. cl. ModuleClassLoader. loadClass(ModuleClassLoader. java:135) ~[securejarhandler-2. 1. 10. jar:?] {} 152at java. lang. ClassLoader. loadClass(ClassLoader. java:525) ~[?:?] {} 153at net. minecraft. world. level. biome. FixedBiomeSource. (FixedBiomeSource. java:17) ~[server-1. 20. 1-20230612. 114412-srg. jar%23247!/:?] {re:classloading} 154at net. minecraft. world. level. biome. BiomeSources. m_220586_(BiomeSources. java:8) ~[server-1. 20. 1-20230612. 114412-srg. jar%23247!/:?] {re:classloading} 155at net. minecraft. core. registries. BuiltInRegistries. m_258029_(BuiltInRegistries. java:448) ~[server-1. 20. 1-20230612. 114412-srg. jar%23247!/:?] {re:classloading, re:mixin} 156at net. minecraft. core. registries. BuiltInRegistries. m_258037_(BuiltInRegistries. java:462) ~[server-1. 20. 1-20230612. 114412-srg. jar%23247!/:?] {re:classloading, re:mixin} 157at java. util. LinkedHashMap. forEach(LinkedHashMap. java:721) ~[?:?] {} 158at net. minecraft. core. registries. BuiltInRegistries. m_257453_(BuiltInRegistries. java:461) ~[server-1. 20. 1-20230612. 114412-srg. jar%23247!/:?] {re:classloading, re:mixin} 159at net. minecraft. core. registries. BuiltInRegistries. m_257498_(BuiltInRegistries. java:455) ~[server-1. 20. 1-20230612. 114412-srg. jar%23247!/:?] {re:classloading, re:mixin} 160at net. minecraft. server. Bootstrap. m_135870_(BootstrapMixin. java:55) ~[server-1. 20. 1-20230612. 114412-srg. jar%23247!/:?] {re:mixin, re:classloading, pl:mixin:APP:mixins. arclight. core. json:server. BootstrapMixin, pl:mixin:A} 161at net. minecraft. server. Main. main(Main. java:121) ~[server-1. 20. 1-20230612. 114412-srg. jar%23247!/:?] {re:mixin, pl:accesstransformer:B, re:classloading, pl:accesstransformer:B, pl:mixin:A} 162at jdk. internal. reflect. NativeMethodAccessorImpl. invoke0(Native Method) ~[?:?] {} 163at jdk. internal. reflect. NativeMethodAccessorImpl. invoke(NativeMethodAccessorImpl. java:77) ~[?:?] {} 164at jdk. internal. reflect. DelegatingMethodAccessorImpl. invoke(DelegatingMethodAccessorImpl. java:43) ~[?:?] {} 165at java. lang. reflect. Method. invoke(Method. java:569) ~[?:?] {} 166at net. minecraftforge. fml. loading. targets. CommonLaunchHandler. runTarget(CommonLaunchHandler. java:111) ~[fmlloader-1. 20. 1-47. 3. 22. jar%23103!/:?] {} 167at net. minecraftforge. fml. loading. targets. CommonLaunchHandler. serverService(CommonLaunchHandler. java:103) ~[fmlloader-1. 20. 1-47. 3. 22. jar%23103!/:?] {} 168at net. minecraftforge. fml. loading. targets. CommonServerLaunchHandler. lambda$makeService$0(CommonServerLaunchHandler. java:27) ~[fmlloader-1. 20. 1-47. 3. 22. jar%23103!/:?] {} 169at cpw. mods. modlauncher. LaunchServiceHandlerDecorator. launch(LaunchServiceHandlerDecorator. java:30) ~[modlauncher-10. 0. 9. jar%2389!/:?] {} 170at cpw. mods. modlauncher. LaunchServiceHandler. launch(LaunchServiceHandler. java:53) ~[modlauncher-10. 0. 9. jar%2389!/:?] {} 171at cpw. mods. modlauncher. LaunchServiceHandler. launch(LaunchServiceHandler. java:71) ~[modlauncher-10. 0. 9. jar%2389!/:?] {} 172at cpw. mods. modlauncher. Launcher. run(Launcher. java:108) ~[modlauncher-10. 0. 9. jar%2389!/:?] {} 173at cpw. mods. modlauncher. Launcher. main(Launcher. java:78) ~[modlauncher-10. 0. 9. jar%2389!/:?] {} 174at cpw. mods. modlauncher. BootstrapLaunchConsumer. accept(BootstrapLaunchConsumer. java:26) ~[modlauncher-10. 0. 9. jar%2389!/:?] {} 175at cpw. mods. modlauncher. BootstrapLaunchConsumer. accept(BootstrapLaunchConsumer. java:23) ~[modlauncher-10. 0. 9. jar%2389!/:?] {} 176at io. izzel. arclight. boot. application. ApplicationBootstrap. accept(ApplicationBootstrap. java:46) ~[arclight. jar:arclight-1. 20. 1-1. 0. 6-SNAPSHOT-c1e6367] {} 177at jdk. internal. reflect. NativeMethodAccessorImpl. invoke0(Native Method) ~[?:?] {} 178at jdk. internal. reflect. NativeMethodAccessorImpl. invoke(NativeMethodAccessorImpl. java:77) ~[?:?] {} 179at jdk. internal. reflect. DelegatingMethodAccessorImpl. invoke(DelegatingMethodAccessorImpl. java:43) ~[?:?] {} 180at java. lang. reflect. Method. invoke(Method. java:569) ~[?:?] {} 181at io. izzel. arclight. boot. application. BootstrapTransformer. onInvoke$BootstrapLauncher(BootstrapTransformer. java:26) ~[arclight. jar:arclight-1. 20. 1-1. 0. 6-SNAPSHOT-c1e6367] {} 182at cpw. mods. bootstraplauncher. BootstrapLauncher. main(BootstrapLauncher. java:141) ~[bootstraplauncher-1. 1. 2. jar:?] {} 183at jdk. internal. reflect. NativeMethodAccessorImpl. invoke0(Native Method) ~[?:?] {} 184at jdk. internal. reflect. NativeMethodAccessorImpl. invoke(NativeMethodAccessorImpl. java:77) ~[?:?] {} 185at jdk. internal. reflect. DelegatingMethodAccessorImpl. invoke(DelegatingMethodAccessorImpl. java:43) ~[?:?] {} 186at java. lang. reflect. Method. invoke(Method. java:569) ~[?:?] {} 187at io. izzel. arclight. boot. application. Main_Forge. main(Main_Forge. java:33) ~[arclight. jar%2383!/:arclight-1. 20. 1-1. 0. 6-SNAPSHOT-c1e6367] {} 188at io. izzel. arclight. server. Launcher. main(Launcher. java:18) ~[arclight. jar%2383!/:arclight-1. 20. 1-1. 0. 6-SNAPSHOT-c1e6367] {}
    • Welp, It doesn't crash but for some reason I broke pickaxes. They just wont work. The game behaves as if my hand was empty. Wtf is going on
    • Oh yeah, dammit. There's the duplicate mod. It works now
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.