Jump to content

[1.10.2]I would like to create a teleport block


toocrazy

Recommended Posts

5 hours ago, desht said:

Override Block#onBlockActivated() and run your teleport code from your overridden method.

now I have a crash:

Spoiler

---- Minecraft Crash Report ----
// Don't be sad, have a hug! ❤️

Time: 18.10.18 20:38
Description: Unexpected error

java.lang.ClassCastException: net.minecraft.client.entity.EntityPlayerSP cannot be cast to net.minecraft.entity.player.EntityPlayerMP
    at de.toocrazy007.reddeathmod.CustomTeleporter.teleportToDimension(CustomTeleporter.java:43)
    at de.toocrazy007.reddeathmod.deathstone.onBlockActivated(deathstone.java:26)
    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.CustomTeleporter.teleportToDimension(CustomTeleporter.java:43)
    at de.toocrazy007.reddeathmod.deathstone.onBlockActivated(deathstone.java:26)
    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['Player271'/274, l='MpServer', x=0,19, y=67,00, z=-0,08]]
    Chunk stats: MultiplayerChunkCache: 584, 584
    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: 3958 game time, 3958 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: 76 total; [EntityPlayerSP['Player271'/274, l='MpServer', x=0,19, y=67,00, z=-0,08], EntityBat['Bat'/805, l='MpServer', x=46,79, y=38,17, z=34,09], EntityItem['item.item.seeds'/304, l='MpServer', x=-37,65, y=68,00, z=-28,52], EntitySheep['Sheep'/305, l='MpServer', x=-45,28, y=69,00, z=-29,90], EntitySkeleton['Skeleton'/306, l='MpServer', x=-57,50, y=15,00, z=-30,50], EntityBat['Bat'/307, l='MpServer', x=-48,44, y=18,10, z=-32,25], EntityItem['item.item.seeds'/308, l='MpServer', x=-41,48, y=68,00, z=-32,88], EntitySheep['Sheep'/309, l='MpServer', x=-32,39, y=70,00, z=-34,88], EntitySheep['Sheep'/310, l='MpServer', x=-38,25, y=70,00, z=-36,40], EntityZombie['Zombie'/315, l='MpServer', x=-64,50, y=18,00, z=-28,50], EntitySkeleton['Skeleton'/316, l='MpServer', x=-57,50, y=15,00, z=-34,50], EntitySkeleton['Skeleton'/320, l='MpServer', x=-17,50, y=30,00, z=-44,50], EntityCreeper['Creeper'/832, l='MpServer', x=-44,50, y=15,00, z=-37,50], EntityZombie['Zombie'/321, l='MpServer', x=-18,50, y=24,00, z=-32,50], EntityZombie['Zombie'/322, l='MpServer', x=-17,50, y=24,00, z=-37,50], EntitySheep['Sheep'/323, l='MpServer', x=-30,40, y=70,00, z=-32,18], EntitySheep['Sheep'/324, l='MpServer', x=-21,24, y=71,00, z=-43,49], EntityZombie['Zombie'/837, l='MpServer', x=12,50, y=53,00, z=46,50], EntitySkeleton['Skeleton'/331, l='MpServer', x=24,56, y=41,00, z=-16,70], EntityZombie['Zombie'/332, l='MpServer', x=17,30, y=38,00, z=-19,16], EntityBat['Bat'/333, l='MpServer', x=19,55, y=40,22, z=-14,60], EntityBat['Bat'/334, l='MpServer', x=32,49, y=50,15, z=-31,68], EntitySkeleton['Skeleton'/849, l='MpServer', x=-11,50, y=27,00, z=-26,50], EntitySheep['Sheep'/338, l='MpServer', x=71,50, y=83,00, z=-52,50], EntityCreeper['Creeper'/850, l='MpServer', x=-11,50, y=27,00, z=-25,50], EntitySheep['Sheep'/339, l='MpServer', x=71,50, y=82,00, z=-54,50], EntitySheep['Sheep'/340, l='MpServer', x=69,50, y=80,00, z=-50,50], EntitySkeleton['Skeleton'/852, l='MpServer', x=-37,50, y=27,00, z=-40,50], EntityCreeper['Creeper'/341, l='MpServer', x=41,50, y=40,00, z=-16,50], EntityCreeper['Creeper'/342, l='MpServer', x=43,47, y=39,00, z=-19,15], EntityChicken['Chicken'/343, l='MpServer', x=34,50, y=70,00, z=-16,50], EntityZombie['Zombie'/855, l='MpServer', x=-38,50, y=27,00, z=-42,50], EntityChicken['Chicken'/344, l='MpServer', x=34,89, y=69,00, z=-20,61], EntityCreeper['Creeper'/345, l='MpServer', x=16,50, y=28,00, z=-13,50], EntityZombie['Zombie'/857, l='MpServer', x=33,50, y=56,00, z=39,50], EntityCreeper['Creeper'/346, l='MpServer', x=31,85, y=22,00, z=-12,58], EntitySkeleton['Skeleton'/347, l='MpServer', x=23,99, y=41,00, z=-14,44], EntityZombie['Zombie'/348, l='MpServer', x=34,49, y=44,00, z=-13,24], EntityChicken['Chicken'/349, l='MpServer', x=31,50, y=72,00, z=-11,50], EntityZombie['Zombie'/350, l='MpServer', x=11,50, y=22,00, z=-19,50], EntityBat['Bat'/351, l='MpServer', x=15,25, y=21,00, z=-27,25], EntityZombie['Zombie'/352, l='MpServer', x=12,38, y=35,00, z=-24,85], EntityZombie['Zombie'/864, l='MpServer', x=-9,50, y=21,00, z=44,50], EntitySkeleton['Skeleton'/353, l='MpServer', x=4,03, y=41,00, z=-28,22], EntityZombie['Zombie'/865, l='MpServer', x=-9,50, y=21,00, z=44,50], EntityCreeper['Creeper'/354, l='MpServer', x=3,70, y=41,00, z=-31,21], EntitySkeleton['Skeleton'/355, l='MpServer', x=4,25, y=41,00, z=-27,27], EntityZombie['Zombie'/356, l='MpServer', x=25,48, y=42,00, z=-18,25], EntityZombie['Zombie'/357, l='MpServer', x=9,93, y=39,00, z=-19,63], EntityZombie['Zombie'/358, l='MpServer', x=4,53, y=41,00, z=-30,27], EntityCreeper['Creeper'/359, l='MpServer', x=20,61, y=22,00, z=-43,70], EntitySkeleton['Skeleton'/360, l='MpServer', x=22,50, y=22,00, z=-40,50], EntitySpider['Spider'/361, l='MpServer', x=19,75, y=21,00, z=-40,70], EntityCreeper['Creeper'/362, l='MpServer', x=16,17, y=20,00, z=-37,41], EntitySpider['Spider'/363, l='MpServer', x=19,71, y=22,00, z=-42,62], EntitySheep['Sheep'/365, l='MpServer', x=64,43, y=76,00, z=-46,11], EntityZombie['Zombie'/366, l='MpServer', x=61,50, y=28,00, z=-28,50], EntityCreeper['Creeper'/367, l='MpServer', x=33,50, y=46,00, z=-15,50], EntityCreeper['Creeper'/368, l='MpServer', x=44,50, y=39,00, z=-15,50], EntityCreeper['Creeper'/369, l='MpServer', x=42,50, y=39,00, z=-15,50], EntityChicken['Chicken'/370, l='MpServer', x=33,50, y=71,00, z=-15,50], EntitySpider['Spider'/371, l='MpServer', x=17,00, y=26,10, z=-45,30], EntityBat['Bat'/372, l='MpServer', x=3,40, y=25,06, z=-43,28], EntityZombie['Zombie'/373, l='MpServer', x=7,77, y=27,00, z=-49,50], EntityZombie['Zombie'/374, l='MpServer', x=13,80, y=30,00, z=-45,52], EntityCreeper['Creeper'/375, l='MpServer', x=12,50, y=33,00, z=-44,50], EntityZombie['Zombie'/388, l='MpServer', x=-2,50, y=28,00, z=-41,50], EntityCreeper['Creeper'/389, l='MpServer', x=-2,50, y=20,00, z=-44,50], EntityCreeper['Creeper'/390, l='MpServer', x=-2,50, y=20,00, z=-41,50], EntityBat['Bat'/391, l='MpServer', x=8,80, y=23,99, z=-38,17], EntityBat['Bat'/392, l='MpServer', x=-15,25, y=32,10, z=-45,93], EntitySheep['Sheep'/393, l='MpServer', x=-5,73, y=70,00, z=-40,49], EntitySheep['Sheep'/394, l='MpServer', x=-14,52, y=69,00, z=-48,00], EntitySheep['Sheep'/395, l='MpServer', x=2,30, y=66,00, z=-51,20], EntityPlayerSP['Player271'/274, l='MpServer', x=2,30, y=0,97, z=70,56], EntitySkeleton['Skeleton'/733, l='MpServer', x=25,50, y=36,00, z=37,50]]
    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: 626627456 bytes (597 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94
    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 

 

Class.PNG

Link to comment
Share on other sites

28 minutes ago, toocrazy said:

now I have a crash:

You aren't handling client vs server. You need a !world.isRemote check.

  • Thanks 1

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

20 minutes ago, toocrazy said:

how can I make it to spawn the player on the floor and not in the ground or in the air?

You will need to find the top block. Hint for loop.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

16 hours ago, toocrazy said:

now I have a crash:

  Reveal hidden contents

---- Minecraft Crash Report ----
// Don't be sad, have a hug! ❤️

Time: 18.10.18 20:38
Description: Unexpected error

java.lang.ClassCastException: net.minecraft.client.entity.EntityPlayerSP cannot be cast to net.minecraft.entity.player.EntityPlayerMP
    at de.toocrazy007.reddeathmod.CustomTeleporter.teleportToDimension(CustomTeleporter.java:43)
    at de.toocrazy007.reddeathmod.deathstone.onBlockActivated(deathstone.java:26)
    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.CustomTeleporter.teleportToDimension(CustomTeleporter.java:43)
    at de.toocrazy007.reddeathmod.deathstone.onBlockActivated(deathstone.java:26)
    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['Player271'/274, l='MpServer', x=0,19, y=67,00, z=-0,08]]
    Chunk stats: MultiplayerChunkCache: 584, 584
    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: 3958 game time, 3958 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: 76 total; [EntityPlayerSP['Player271'/274, l='MpServer', x=0,19, y=67,00, z=-0,08], EntityBat['Bat'/805, l='MpServer', x=46,79, y=38,17, z=34,09], EntityItem['item.item.seeds'/304, l='MpServer', x=-37,65, y=68,00, z=-28,52], EntitySheep['Sheep'/305, l='MpServer', x=-45,28, y=69,00, z=-29,90], EntitySkeleton['Skeleton'/306, l='MpServer', x=-57,50, y=15,00, z=-30,50], EntityBat['Bat'/307, l='MpServer', x=-48,44, y=18,10, z=-32,25], EntityItem['item.item.seeds'/308, l='MpServer', x=-41,48, y=68,00, z=-32,88], EntitySheep['Sheep'/309, l='MpServer', x=-32,39, y=70,00, z=-34,88], EntitySheep['Sheep'/310, l='MpServer', x=-38,25, y=70,00, z=-36,40], EntityZombie['Zombie'/315, l='MpServer', x=-64,50, y=18,00, z=-28,50], EntitySkeleton['Skeleton'/316, l='MpServer', x=-57,50, y=15,00, z=-34,50], EntitySkeleton['Skeleton'/320, l='MpServer', x=-17,50, y=30,00, z=-44,50], EntityCreeper['Creeper'/832, l='MpServer', x=-44,50, y=15,00, z=-37,50], EntityZombie['Zombie'/321, l='MpServer', x=-18,50, y=24,00, z=-32,50], EntityZombie['Zombie'/322, l='MpServer', x=-17,50, y=24,00, z=-37,50], EntitySheep['Sheep'/323, l='MpServer', x=-30,40, y=70,00, z=-32,18], EntitySheep['Sheep'/324, l='MpServer', x=-21,24, y=71,00, z=-43,49], EntityZombie['Zombie'/837, l='MpServer', x=12,50, y=53,00, z=46,50], EntitySkeleton['Skeleton'/331, l='MpServer', x=24,56, y=41,00, z=-16,70], EntityZombie['Zombie'/332, l='MpServer', x=17,30, y=38,00, z=-19,16], EntityBat['Bat'/333, l='MpServer', x=19,55, y=40,22, z=-14,60], EntityBat['Bat'/334, l='MpServer', x=32,49, y=50,15, z=-31,68], EntitySkeleton['Skeleton'/849, l='MpServer', x=-11,50, y=27,00, z=-26,50], EntitySheep['Sheep'/338, l='MpServer', x=71,50, y=83,00, z=-52,50], EntityCreeper['Creeper'/850, l='MpServer', x=-11,50, y=27,00, z=-25,50], EntitySheep['Sheep'/339, l='MpServer', x=71,50, y=82,00, z=-54,50], EntitySheep['Sheep'/340, l='MpServer', x=69,50, y=80,00, z=-50,50], EntitySkeleton['Skeleton'/852, l='MpServer', x=-37,50, y=27,00, z=-40,50], EntityCreeper['Creeper'/341, l='MpServer', x=41,50, y=40,00, z=-16,50], EntityCreeper['Creeper'/342, l='MpServer', x=43,47, y=39,00, z=-19,15], EntityChicken['Chicken'/343, l='MpServer', x=34,50, y=70,00, z=-16,50], EntityZombie['Zombie'/855, l='MpServer', x=-38,50, y=27,00, z=-42,50], EntityChicken['Chicken'/344, l='MpServer', x=34,89, y=69,00, z=-20,61], EntityCreeper['Creeper'/345, l='MpServer', x=16,50, y=28,00, z=-13,50], EntityZombie['Zombie'/857, l='MpServer', x=33,50, y=56,00, z=39,50], EntityCreeper['Creeper'/346, l='MpServer', x=31,85, y=22,00, z=-12,58], EntitySkeleton['Skeleton'/347, l='MpServer', x=23,99, y=41,00, z=-14,44], EntityZombie['Zombie'/348, l='MpServer', x=34,49, y=44,00, z=-13,24], EntityChicken['Chicken'/349, l='MpServer', x=31,50, y=72,00, z=-11,50], EntityZombie['Zombie'/350, l='MpServer', x=11,50, y=22,00, z=-19,50], EntityBat['Bat'/351, l='MpServer', x=15,25, y=21,00, z=-27,25], EntityZombie['Zombie'/352, l='MpServer', x=12,38, y=35,00, z=-24,85], EntityZombie['Zombie'/864, l='MpServer', x=-9,50, y=21,00, z=44,50], EntitySkeleton['Skeleton'/353, l='MpServer', x=4,03, y=41,00, z=-28,22], EntityZombie['Zombie'/865, l='MpServer', x=-9,50, y=21,00, z=44,50], EntityCreeper['Creeper'/354, l='MpServer', x=3,70, y=41,00, z=-31,21], EntitySkeleton['Skeleton'/355, l='MpServer', x=4,25, y=41,00, z=-27,27], EntityZombie['Zombie'/356, l='MpServer', x=25,48, y=42,00, z=-18,25], EntityZombie['Zombie'/357, l='MpServer', x=9,93, y=39,00, z=-19,63], EntityZombie['Zombie'/358, l='MpServer', x=4,53, y=41,00, z=-30,27], EntityCreeper['Creeper'/359, l='MpServer', x=20,61, y=22,00, z=-43,70], EntitySkeleton['Skeleton'/360, l='MpServer', x=22,50, y=22,00, z=-40,50], EntitySpider['Spider'/361, l='MpServer', x=19,75, y=21,00, z=-40,70], EntityCreeper['Creeper'/362, l='MpServer', x=16,17, y=20,00, z=-37,41], EntitySpider['Spider'/363, l='MpServer', x=19,71, y=22,00, z=-42,62], EntitySheep['Sheep'/365, l='MpServer', x=64,43, y=76,00, z=-46,11], EntityZombie['Zombie'/366, l='MpServer', x=61,50, y=28,00, z=-28,50], EntityCreeper['Creeper'/367, l='MpServer', x=33,50, y=46,00, z=-15,50], EntityCreeper['Creeper'/368, l='MpServer', x=44,50, y=39,00, z=-15,50], EntityCreeper['Creeper'/369, l='MpServer', x=42,50, y=39,00, z=-15,50], EntityChicken['Chicken'/370, l='MpServer', x=33,50, y=71,00, z=-15,50], EntitySpider['Spider'/371, l='MpServer', x=17,00, y=26,10, z=-45,30], EntityBat['Bat'/372, l='MpServer', x=3,40, y=25,06, z=-43,28], EntityZombie['Zombie'/373, l='MpServer', x=7,77, y=27,00, z=-49,50], EntityZombie['Zombie'/374, l='MpServer', x=13,80, y=30,00, z=-45,52], EntityCreeper['Creeper'/375, l='MpServer', x=12,50, y=33,00, z=-44,50], EntityZombie['Zombie'/388, l='MpServer', x=-2,50, y=28,00, z=-41,50], EntityCreeper['Creeper'/389, l='MpServer', x=-2,50, y=20,00, z=-44,50], EntityCreeper['Creeper'/390, l='MpServer', x=-2,50, y=20,00, z=-41,50], EntityBat['Bat'/391, l='MpServer', x=8,80, y=23,99, z=-38,17], EntityBat['Bat'/392, l='MpServer', x=-15,25, y=32,10, z=-45,93], EntitySheep['Sheep'/393, l='MpServer', x=-5,73, y=70,00, z=-40,49], EntitySheep['Sheep'/394, l='MpServer', x=-14,52, y=69,00, z=-48,00], EntitySheep['Sheep'/395, l='MpServer', x=2,30, y=66,00, z=-51,20], EntityPlayerSP['Player271'/274, l='MpServer', x=2,30, y=0,97, z=70,56], EntitySkeleton['Skeleton'/733, l='MpServer', x=25,50, y=36,00, z=37,50]]
    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: 626627456 bytes (597 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94
    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 

 

@Animefan8888 already pointed out your mistake, but as an aside: get out of the habit of overriding methods without using the @Override annotation right now.  That's guaranteed to come back and bite you at some point.

Link to comment
Share on other sites

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



×
×
  • Create New...

Important Information

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