• Posts

    • i have installed several mods for Minecraft 1.16.1. Minecraft starts normally but when i open a world and want open page 2 in the inventory (there are a arrow to left and one to the right on top of the iventory) the game crashes. I get a weird crash report wich looks as follows:   ---- Minecraft Crash Report ---- // You should try our sister game, Minceraft!   Time: 7/11/20 1:18 PM Description: Rendering item   java.lang.NullPointerException: Rendering item at net.minecraft.class_806.<init>(class_806.java:41) at grondag.xm.dispatch.ItemProxy.<init>(ItemProxy.java:37) at grondag.xm.dispatch.AbstractXmModel.method_4710(AbstractXmModel.java:40) at net.minecraft.class_918.method_4019(class_918.java:353) at net.minecraft.class_918.method_4026(class_918.java:447) at net.minecraft.class_918.method_4023(class_918.java:426) at net.minecraft.class_481.method_2468(class_481.java:847) at net.minecraft.class_481.method_2389(class_481.java:760) at net.minecraft.class_465.method_25394(class_465.java:101) at net.minecraft.class_485.method_25394(class_485.java:43) at net.minecraft.class_481.method_25394(class_481.java:677) at net.minecraft.class_757.method_3192(class_757.java:807) at net.minecraft.class_310.method_1523(class_310.java:1021) at net.minecraft.class_310.method_1514(class_310.java:654) at net.minecraft.client.main.Main.main(Main.java:215) 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.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:192) at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:140) at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:26) 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 org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196) at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231) at org.multimc.EntryPoint.listen(EntryPoint.java:143) at org.multimc.EntryPoint.main(EntryPoint.java:34)     A detailed walkthrough of the error, its code path and all known details is as follows: ---------------------------------------------------------------------------------------   -- Head -- Thread: Render thread Stacktrace: at net.minecraft.class_806.<init>(class_806.java:41) at grondag.xm.dispatch.ItemProxy.<init>(ItemProxy.java:37) at grondag.xm.dispatch.AbstractXmModel.method_4710(AbstractXmModel.java:40) at net.minecraft.class_918.method_4019(class_918.java:353)   -- Item being rendered -- Details: Item Type: b03 Registry Name: null Item Damage: 0 Item NBT: null Item Foil: false Stacktrace: at net.minecraft.class_918.method_4026(class_918.java:447) at net.minecraft.class_918.method_4023(class_918.java:426) at net.minecraft.class_481.method_2468(class_481.java:847) at net.minecraft.class_481.method_2389(class_481.java:760) at net.minecraft.class_465.method_25394(class_465.java:101) at net.minecraft.class_485.method_25394(class_485.java:43) at net.minecraft.class_481.method_25394(class_481.java:677)   -- Screen render details -- Details: Screen name: net.minecraft.class_481 Mouse location: Scaled: (274, 60). Absolute: (2199.000000, 481.000000) Screen size: Scaled: (480, 265). Absolute: (3840, 2115). Scale factor of 8.000000   -- Affected level -- Details: All players: 1 total; [class_746['juvi66'/74, l='ClientLevel', x=-415.90, y=88.50, z=-269.32]] Chunk stats: Client Chunk Cache: 1369, 971 Level dimension: minecraft:overworld Level spawn location: World: (0,0,0), Chunk: (at 0,0,0 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 131782 game time, 7526 day time Server brand: fabric Server type: Integrated singleplayer server Stacktrace: at net.minecraft.class_638.method_8538(class_638.java:616) at net.minecraft.class_310.method_1587(class_310.java:2181) at net.minecraft.class_310.method_1514(class_310.java:672) at net.minecraft.client.main.Main.main(Main.java:215) 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.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:192) at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:140) at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:26) 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 org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196) at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231) at org.multimc.EntryPoint.listen(EntryPoint.java:143) at org.multimc.EntryPoint.main(EntryPoint.java:34)   -- System Details -- Details: Minecraft Version: 1.16.1 Minecraft Version ID: 1.16.1 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_251, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 2201392448 bytes (2099 MB) / 6094323712 bytes (5812 MB) up to 11185160192 bytes (10667 MB) CPUs: 6 JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms512m -Xmx12000m Fabric Mods: autoconfig1u: Auto Config v1 Updated 3.2.0-unstable bambootweaks: Bamboo Tweaks unspecified cloth-basic-math: Cloth Basic Math 0.5.1 cloth-config2: Cloth Config v4 4.5.6 exotic-art-core: Exotic Art Core Content Pack 1.0.338 exotic-matter: Exotic Matter 2.3.338 extradoors: ExtraDoors 1.8.1-1.16 fabric: Fabric API 0.14.1+build.372-1.16 fabric-api-base: Fabric API Base 0.1.3+12a8474c02 fabric-biomes-v1: Fabric Biomes (v1) 0.2.7+059ea86602 fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.4+c6a8ea8902 fabric-command-api-v1: Fabric Command API (v1) 1.0.8+5ce5339802 fabric-commands-v0: Fabric Commands (v0) 0.2.0+52d3083602 fabric-containers-v0: Fabric Containers (v0) 0.1.8+045df74f02 fabric-content-registries-v0: Fabric Content Registries (v0) 0.1.9+059ea86602 fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.2+b7f9825d02 fabric-dimensions-v1: fabric-dimensions-v1 1.0.0+a71b305302 fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.3.3+7066030f02 fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.0+16acbe5b02 fabric-item-api-v1: Fabric Item API (v1) 1.0.0+16acbe5b02 fabric-item-groups-v0: Fabric Item Groups (v0) 0.2.0+438f963602 fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.0+e16a977402 fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.0+3fa9f7c502 fabric-language-kotlin: Fabric Language Kotlin 1.3.72+build.1 fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.0.0+b0993bc102 fabric-loot-tables-v1: Fabric Loot Tables (v1) 0.1.10+059ea86602 fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.2+b764ce9902 fabric-models-v0: Fabric Models (v0) 0.1.0+dfdb52d602 fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.5+b50ffc7b02 fabric-networking-v0: Fabric Networking (v0) 0.1.10+e00ecb5f02 fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.5.5+e00ecb5f02 fabric-object-builders-v0: Fabric Object Builders (v0) 0.6.0+da175ad602 fabric-particles-v1: fabric-particles-v1 0.2.1+0a6f2a7002 fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.3.8+7dba2d6c02 fabric-renderer-api-v1: Fabric Renderer API (v1) 0.2.13+eae12eb802 fabric-renderer-indigo: Fabric Renderer - Indigo 0.3.2+4d66bed502 fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 2.0.1+5a0f9a6002 fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.3+b7f9825d02 fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.1.8+b7084faa02 fabric-rendering-v0: Fabric Rendering (v0) 1.1.0+5341049002 fabric-rendering-v1: Fabric Rendering (v1) 1.1.2+346247d702 fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.2.6+f41e209802 fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.0.1+f362c86e02 fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 0.2.7+a4c57d8e02 fabric-textures-v0: Fabric Textures (v0) 1.0.4+eae12eb802 fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.1.4+5794386e02 fabric-tree-chopper: Fabric Tree Chopper 0.5.0 fabricloader: Fabric Loader 0.8.9+build.203 fermion: Fermion 2.1.188 fermion-modkeys: Fermion Modifier Keys 1.8.180-snapshot fermion-orientation: Fermion Orientation 1.0.180-snapshot fermion-varia: Fermion Varia 2.1.188 jankson: Jankson 3.0.0+j1.2.0 minecraft: Minecraft 1.16.1 mm: Manningham Mills 2.0 mo_glass: Mo Glass 1.2-MC20w28a modmenu: Mod Menu 1.12.2+build.17 optifabric: Optifabric 1.1.0-beta2 org_jetbrains_annotations: annotations 17.0.0 org_jetbrains_kotlin_kotlin-reflect: kotlin-reflect 1.3.72 org_jetbrains_kotlin_kotlin-stdlib: kotlin-stdlib 1.3.72 org_jetbrains_kotlin_kotlin-stdlib-jdk7: kotlin-stdlib-jdk7 1.3.72 org_jetbrains_kotlin_kotlin-stdlib-jdk8: kotlin-stdlib-jdk8 1.3.72 org_jetbrains_kotlinx_kotlinx-coroutines-core: kotlinx-coroutines-core 1.3.7 org_jetbrains_kotlinx_kotlinx-coroutines-jdk8: kotlinx-coroutines-jdk8 1.3.7 org_slf4j_slf4j-api: slf4j-api 1.7.30 org_slf4j_slf4j-simple: slf4j-simple 1.7.30 org_zeroturnaround_zt-zip: zt-zip 1.14 programmerartinjector: Programmer Art Injector 1.2.0 special-circumstances: Special Circumstances 1.6.188 voxelmap: VoxelMap 1.10.4 xb: Exotic Blocks 1.4.138 Launched Version: MultiMC5 Backend library: LWJGL version 3.2.2 build 10 Backend API: GeForce GTX 980/PCIe/SSE2 GL version 4.6.0 NVIDIA 451.67, NVIDIA Corporation GL Caps: Using framebuffer using OpenGL 3.0 Using VBOs: Yes Is Modded: Definitely; Client brand changed to 'fabric' Type: Client (map_client.txt) Resource Packs: vanilla, file/LBPR+Reload!+1.15+release+v.4.1.zip (incompatible), file/roboto-bold (1).zip, optifine Current Language: Deutsch (Deutschland) CPU: 6x Intel(R) Core(TM) i7-5930K CPU @ 3.50GHz OptiFine Version: OptiFine_1.16.1_HD_U_G2_pre3 OptiFine Build: 20200710-182133 Render Distance Chunks: 16 Mipmaps: 4 Anisotropic Filtering: 1 Antialiasing: 0 Multitexture: false Shaders: null OpenGlVersion: 4.6.0 NVIDIA 451.67 OpenGlRenderer: GeForce GTX 980/PCIe/SSE2 OpenGlVendor: NVIDIA Corporation CpuCount: 6   Whats the Probleme here?
    • package com.xed.tyrl; import net.minecraft.block.Block; import net.minecraft.block.Blocks; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.event.RegistryEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.InterModComms; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent; import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent; import net.minecraftforge.fml.event.lifecycle.InterModEnqueueEvent; import net.minecraftforge.fml.event.lifecycle.InterModProcessEvent; import net.minecraftforge.fml.event.server.FMLServerStartingEvent; import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import java.util.stream.Collectors; // The value here should match an entry in the META-INF/mods.toml file @Mod("tyrl") public class TyrlMod { // Directly reference a log4j logger. private static final Logger LOGGER = LogManager.getLogger(); public TyrlMod() { // Register the setup method for modloading FMLJavaModLoadingContext.get().getModEventBus().addListener(this::setup); // Register the enqueueIMC method for modloading FMLJavaModLoadingContext.get().getModEventBus().addListener(this::enqueueIMC); // Register the processIMC method for modloading FMLJavaModLoadingContext.get().getModEventBus().addListener(this::processIMC); // Register the doClientStuff method for modloading FMLJavaModLoadingContext.get().getModEventBus().addListener(this::doClientStuff); // Register ourselves for server and other game events we are interested in MinecraftForge.EVENT_BUS.register(this); } private void setup(final FMLCommonSetupEvent event) { // some preinit code LOGGER.info("HELLO FROM PREINIT"); LOGGER.info("DIRT BLOCK >> {}", Blocks.DIRT.getRegistryName()); } private void doClientStuff(final FMLClientSetupEvent event) { // do something that can only be done on the client LOGGER.info("Got game settings {}", event.getMinecraftSupplier().get().gameSettings); } private void enqueueIMC(final InterModEnqueueEvent event) { // some example code to dispatch IMC to another mod InterModComms.sendTo("examplemod", "helloworld", () -> { LOGGER.info("Hello world from the MDK"); return "Hello world";}); } private void processIMC(final InterModProcessEvent event) { // some example code to receive and process InterModComms from other mods LOGGER.info("Got IMC {}", event.getIMCStream(). map(m->m.getMessageSupplier().get()). collect(Collectors.toList())); } // You can use SubscribeEvent and let the Event Bus discover methods to call @SubscribeEvent public void onServerStarting(FMLServerStartingEvent event) { // do something when the server starts LOGGER.info("HELLO from server starting"); } // You can use EventBusSubscriber to automatically subscribe events on the contained class (this is subscribing to the MOD // Event bus for receiving Registry Events) @Mod.EventBusSubscriber(bus=Mod.EventBusSubscriber.Bus.MOD) public static class RegistryEvents { @SubscribeEvent public static void onBlocksRegistry(final RegistryEvent.Register<Block> blockRegistryEvent) { // register a new block here LOGGER.info("HELLO from Register Block"); } } }  
    • What does your main mod class look like?    
    • if you are only syncing some ints you can use the methods in Container class, I believe they are called trackedInt/trackIntArray
  • Topics

  • Who's Online (See full list)