• Recently Browsing

    No registered users viewing this page.

  • Posts

    • public void overrideMaxDefenceValue(double newValue) throws NoSuchFieldException, SecurityException, IllegalAccessException { Field value = SharedMonsterAttributes.ARMOR.getClass().getDeclaredField("maximumValue"); value.setAccessible(true); value.set(SharedMonsterAttributes.ARMOR.getClass(), newValue); } Is this correct?
    • I have create a Forge-server and this is fine but than I cant join my Server and this crash report comes with the Minecraftlauncher Thats the Crash report. Can anyone help me please ---- Minecraft Crash Report ---- // Daisy, daisy... Time: 15.11.19 22:01 Description: Ticking screen java.lang.IndexOutOfBoundsException     at java.nio.Buffer.checkIndex(Buffer.java:540)     at java.nio.DirectIntBufferU.get(DirectIntBufferU.java:253)     at net.minecraft.client.renderer.RenderGlobal.func_72712_a(RenderGlobal.java:350)     at net.minecraft.client.renderer.RenderGlobal.func_72732_a(RenderGlobal.java:294)     at net.minecraft.client.Minecraft.func_71353_a(Minecraft.java:2216)     at net.minecraft.client.Minecraft.func_71403_a(Minecraft.java:2146)     at net.minecraft.client.network.NetHandlerPlayClient.func_147282_a(NetHandlerPlayClient.java:240)     at net.minecraft.network.play.server.S01PacketJoinGame.func_148833_a(SourceFile:70)     at net.minecraft.network.play.server.S01PacketJoinGame.func_148833_a(SourceFile:13)     at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212)     at net.minecraft.client.multiplayer.GuiConnecting.func_73876_c(SourceFile:78)     at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1661)     at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:973)     at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:898)     at net.minecraft.client.main.Main.main(SourceFile:148)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:497)     at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)     at net.minecraft.launchwrapper.Launch.main(Launch.java:28) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace:     at java.nio.Buffer.checkIndex(Buffer.java:540)     at java.nio.DirectIntBufferU.get(DirectIntBufferU.java:253)     at net.minecraft.client.renderer.RenderGlobal.func_72712_a(RenderGlobal.java:350)     at net.minecraft.client.renderer.RenderGlobal.func_72732_a(RenderGlobal.java:294)     at net.minecraft.client.Minecraft.func_71353_a(Minecraft.java:2216)     at net.minecraft.client.Minecraft.func_71403_a(Minecraft.java:2146)     at net.minecraft.client.network.NetHandlerPlayClient.func_147282_a(NetHandlerPlayClient.java:240)     at net.minecraft.network.play.server.S01PacketJoinGame.func_148833_a(SourceFile:70)     at net.minecraft.network.play.server.S01PacketJoinGame.func_148833_a(SourceFile:13)     at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212)     at net.minecraft.client.multiplayer.GuiConnecting.func_73876_c(SourceFile:78) -- Affected screen -- Details:     Screen name: net.minecraft.client.multiplayer.GuiConnecting -- Affected level -- Details:     Level name: MpServer     All players: 0 total; []     Chunk stats: MultiplayerChunkCache: 0, 0     Level seed: 0     Level generator: ID 00 - default, ver 1. Features enabled: false     Level generator options:      Level spawn location: World: (8,64,8), Chunk: (at 8,4,8 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: 0 game time, 0 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: survival (ID 0). Hardcore: false. Cheats: false     Forced entities: 0 total; []     Retry entities: 0 total; []     Server brand: ~~ERROR~~ NullPointerException: null     Server type: Non-integrated multiplayer server Stacktrace:     at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:373)     at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2444)     at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:919)     at net.minecraft.client.main.Main.main(SourceFile:148)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:497)     at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)     at net.minecraft.launchwrapper.Launch.main(Launch.java:28) -- System Details -- Details:     Minecraft Version: 1.7.10     Operating System: Windows 10 (amd64) version 10.0     Java Version: 1.8.0_51, Oracle Corporation     Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation     Memory: 192878576 bytes (183 MB) / 301989888 bytes (288 MB) up to 2147483648 bytes (2048 MB)     JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M     AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used     IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0     FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1614 3 mods loaded, 3 mods active     States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored     UCHIJA    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)      UCHIJA    FML{7.10.99.99} [Forge Mod Loader] (forge-1.7.10-10.13.4.1614-1.7.10.jar)      UCHIJA    Forge{10.13.4.1614} [Minecraft Forge] (forge-1.7.10-10.13.4.1614-1.7.10.jar)      GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.6.13571 Compatibility Profile Context 19.9.1 26.20.13001.50005' Renderer: 'Radeon RX Vega'     Launched Version: 1.7.10-Forge10.13.4.1614-1.7.10     LWJGL: 2.9.1     OpenGL: Radeon RX Vega GL version 4.6.13571 Compatibility Profile Context 19.9.1 26.20.13001.50005, ATI Technologies Inc.     GL Caps: Using GL 1.3 multitexturing. Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported. Anisotropic filtering is supported and maximum anisotropy is 16. Shaders are available because OpenGL 2.1 is supported.     Is Modded: Definitely; Client brand changed to 'fml,forge'     Type: Client (map_client.txt)     Resource Packs: [vanilla]     Current Language: Deutsch (Deutschland)     Profiler Position: N/A (disabled)     Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used     Anisotropic Filtering: Off (1)
    • So i'm trying to get a structure to spawn in my mod using an NBT structure i created but its not actually spawning. So i was able to register the structure and i'm pretty confident its in there in code but for some reason i cant use a structure block to spawn it. What would i need to do to get this working. Here is my git with the files and the NBT files from my GIT Any idea's on where i can go or what i can try would be helpful! https://github.com/drizzs/GrassWorld-1.14/blob/1.14.4-rewrite/src/main/java/com/drizzs/grassworld/features/GrassIslandPiece.java https://github.com/drizzs/GrassWorld-1.14/blob/1.14.4-rewrite/src/main/java/com/drizzs/grassworld/features/GrassIslandStructure.java https://github.com/drizzs/GrassWorld-1.14/blob/1.14.4-rewrite/src/main/java/com/drizzs/grassworld/features/GrassIslandVariant.java https://github.com/drizzs/GrassWorld-1.14/tree/1.14.4-rewrite/src/main/resources/data/grassworld/structures only the dirtisland variant is being used. i'm assuming its not loading my template possibly https://github.com/drizzs/GrassWorld-1.14/blob/1.14.4-rewrite/src/main/java/com/drizzs/grassworld/registries/GrassFeatures.java this is how i register it and such
    • Is it possible to write JSON loot table where I specify loots based on used item?
    • So what? You know how to write a for loop, right? This is basic programming.
  • Topics

  • Who's Online (See full list)