Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Jeremy Quann

Members
  • Posts

    9
  • Joined

  • Last visited

Jeremy Quann's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. I don't mean that. I mean that the onEntityJoinWorld event isn't working.
  2. I finally got it myself. But the onEntityJoinWorld event doesn't trigger vanilla entities to go after modded entities (You know cats hunt rabbits in game right?).
  3. I was about to spawn in my entity but suddenly it crashed! ---- Minecraft Crash Report ---- // You should try our sister game, Minceraft! Time: 10/16/21, 11:49 AM Description: Rendering entity in world java.lang.NullPointerException: Cannot assign field "f_104203_" because "this.head" is null at com.gohkenytp.mouse.client.entity.model.MouseModel.setupAnim(MouseModel.java:40) ~[Mouse-1.17.1-1.0.0.jar%23151!:1.17.1-1.0.0] {re:classloading,pl:runtimedistcleaner:A} at com.gohkenytp.mouse.client.entity.model.MouseModel.m_6973_(MouseModel.java:14) ~[Mouse-1.17.1-1.0.0.jar%23151!:1.17.1-1.0.0] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.entity.LivingEntityRenderer.m_7392_(LivingEntityRenderer.java:112) ~[client-1.17.1-20210706.113038-srg.jar%23211!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.entity.MobRenderer.m_7392_(SourceFile:45) ~[client-1.17.1-20210706.113038-srg.jar%23211!:?] {re:classloading,re:mixin} at net.minecraft.client.renderer.entity.MobRenderer.m_7392_(SourceFile:18) ~[client-1.17.1-20210706.113038-srg.jar%23211!:?] {re:classloading,re:mixin} at net.minecraft.client.renderer.entity.EntityRenderDispatcher.m_114384_(EntityRenderDispatcher.java:129) ~[client-1.17.1-20210706.113038-srg.jar%23211!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.LevelRenderer.m_109517_(LevelRenderer.java:1280) ~[client-1.17.1-20210706.113038-srg.jar%23211!:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.LevelRenderer.m_109599_(LevelRenderer.java:1076) ~[client-1.17.1-20210706.113038-srg.jar%23211!:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.GameRenderer.m_109089_(GameRenderer.java:1050) ~[client-1.17.1-20210706.113038-srg.jar%23211!:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:fruittrees.mixins.json:MixinGameRenderer,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.GameRenderer.m_109093_(GameRenderer.java:830) ~[client-1.17.1-20210706.113038-srg.jar%23211!:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:fruittrees.mixins.json:MixinGameRenderer,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1040) ~[client-1.17.1-20210706.113038-srg.jar%23211!:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:justenoughkeys.mixins.json:MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:659) ~[client-1.17.1-20210706.113038-srg.jar%23211!:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:justenoughkeys.mixins.json:MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(Main.java:186) ~[client-1.17.1-20210706.113038-srg.jar%23211!:?] {re:classloading,pl:runtimedistcleaner:A} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?] {} at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {} at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?] {} at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:45) ~[fmlloader-1.17.1-37.0.95.jar%2322!:?] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.0.7.jar%235!:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.0.7.jar%235!:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.0.7.jar%235!:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.0.7.jar%235!:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.0.7.jar%235!:?] {} at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.0.7.jar%235!:?] {} at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.0.7.jar%235!:?] {} at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:90) [bootstraplauncher-0.1.17.jar:?] {} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Render thread Stacktrace: at com.gohkenytp.mouse.client.entity.model.MouseModel.setupAnim(MouseModel.java:40) ~[Mouse-1.17.1-1.0.0.jar%23151!:1.17.1-1.0.0] {re:classloading,pl:runtimedistcleaner:A} at com.gohkenytp.mouse.client.entity.model.MouseModel.m_6973_(MouseModel.java:14) ~[Mouse-1.17.1-1.0.0.jar%23151!:1.17.1-1.0.0] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.entity.LivingEntityRenderer.m_7392_(LivingEntityRenderer.java:112) ~[client-1.17.1-20210706.113038-srg.jar%23211!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.entity.MobRenderer.m_7392_(SourceFile:45) ~[client-1.17.1-20210706.113038-srg.jar%23211!:?] {re:classloading,re:mixin} at net.minecraft.client.renderer.entity.MobRenderer.m_7392_(SourceFile:18) ~[client-1.17.1-20210706.113038-srg.jar%23211!:?] {re:classloading,re:mixin} -- Entity being rendered -- Details: Entity Type: mouse:mouse (com.gohkenytp.mouse.common.entities.MouseEntity) Entity ID: 47277 Entity Name: Mouse Entity's Exact location: 333.50, 4.00, 164.50 Entity's Block location: World: (333,4,164), Section: (at 13,4,4 in 20,0,10; chunk contains blocks 320,0,160 to 335,255,175), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Entity's Momentum: 0.00, 0.00, 0.00 Entity's Passengers: [] Entity's Vehicle: null -- Renderer details -- Details: Assigned renderer: com.gohkenytp.mouse.client.entity.render.MouseRender@37646d58 Location: 1.87,-1.62,-1.81 - World: (1,-2,-2), Section: (at 1,14,14 in 0,-1,-1; chunk contains blocks 0,0,-16 to 15,255,-1), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1) Rotation: -113.90625 Delta: 0.6799935 Stacktrace: at net.minecraft.client.renderer.entity.EntityRenderDispatcher.m_114384_(EntityRenderDispatcher.java:129) ~[client-1.17.1-20210706.113038-srg.jar%23211!:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.LevelRenderer.m_109517_(LevelRenderer.java:1280) ~[client-1.17.1-20210706.113038-srg.jar%23211!:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.LevelRenderer.m_109599_(LevelRenderer.java:1076) ~[client-1.17.1-20210706.113038-srg.jar%23211!:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.GameRenderer.m_109089_(GameRenderer.java:1050) ~[client-1.17.1-20210706.113038-srg.jar%23211!:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:fruittrees.mixins.json:MixinGameRenderer,pl:mixin:A,pl:runtimedistcleaner:A} -- Affected level -- Details: All players: 1 total; [LocalPlayer['gohkenytp'/59, l='ClientLevel', x=331.63, y=4.00, z=166.31]] Chunk stats: 625, 420 Level dimension: minecraft:overworld Level spawn location: World: (336,4,160), Section: (at 0,4,0 in 21,0,10; chunk contains blocks 336,0,160 to 351,255,175), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 1820 game time, 1820 day time Server brand: forge Server type: Integrated singleplayer server Stacktrace: at net.minecraft.client.multiplayer.ClientLevel.m_6026_(ClientLevel.java:364) ~[client-1.17.1-20210706.113038-srg.jar%23211!:?] {re:mixin,xf:fml:xaeroworldmap:xaero_wm_clientworldclass,xf:fml:xaerominimap:xaero_clientworldclass,pl:runtimedistcleaner:A,re:classloading,xf:fml:xaeroworldmap:xaero_wm_clientworldclass,xf:fml:xaerominimap:xaero_clientworldclass,pl:mixin:APP:architectury.mixins.json:MixinClientLevel,pl:mixin:APP:enhancedcelestials.mixins.json:client.MixinClientWorld,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.m_91354_(Minecraft.java:2245) ~[client-1.17.1-20210706.113038-srg.jar%23211!:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:justenoughkeys.mixins.json:MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:676) ~[client-1.17.1-20210706.113038-srg.jar%23211!:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:justenoughkeys.mixins.json:MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(Main.java:186) ~[client-1.17.1-20210706.113038-srg.jar%23211!:?] {re:classloading,pl:runtimedistcleaner:A} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?] {} at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {} at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?] {} at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:45) ~[fmlloader-1.17.1-37.0.95.jar%2322!:?] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.0.7.jar%235!:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.0.7.jar%235!:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.0.7.jar%235!:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.0.7.jar%235!:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.0.7.jar%235!:?] {} at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.0.7.jar%235!:?] {} at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.0.7.jar%235!:?] {} at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:90) [bootstraplauncher-0.1.17.jar:?] {} -- Last reload -- Details: Reload number: 1 Reload reason: initial Finished: Yes Packs: Default, Mod Resources -- System Details -- Details: Minecraft Version: 1.17.1 Minecraft Version ID: 1.17.1 Operating System: Windows 10 (amd64) version 10.0 Java Version: 16.0.1, Microsoft Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft Memory: 2724982880 bytes (2598 MiB) / 3858759680 bytes (3680 MiB) up to 3858759680 bytes (3680 MiB) CPUs: 4 Processor Vendor: GenuineIntel Processor Name: Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz Identifier: Intel64 Family 6 Model 61 Stepping 4 Microarchitecture: Broadwell (Client) Frequency (GHz): 2.30 Number of physical packages: 1 Number of physical CPUs: 2 Number of logical CPUs: 4 Graphics card #0 name: Intel(R) HD Graphics 5500 Graphics card #0 vendor: Intel Corporation (0x8086) Graphics card #0 VRAM (MB): 1024.00 Graphics card #0 deviceId: 0x1616 Graphics card #0 versionInfo: DriverVersion=20.19.15.5126 Memory slot #0 capacity (MB): 8192.00 Memory slot #0 clockSpeed (GHz): 1.60 Memory slot #0 type: DDR3 Memory slot #1 capacity (MB): 8192.00 Memory slot #1 clockSpeed (GHz): 1.60 Memory slot #1 type: DDR3 Virtual memory max (MB): 18691.09 Virtual memory used (MB): 14940.44 Swap memory total (MB): 2432.00 Swap memory used (MB): 169.42 JVM Flags: 10 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmn128M -Xmx3661M -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M Launched Version: 1.17.1-forge-37.0.95 Backend library: LWJGL version 3.2.2 SNAPSHOT Backend API: Intel(R) HD Graphics 5500 GL version 3.2.0 - Build 20.19.15.5126, Intel Window size: 1366x715 GL Caps: Using framebuffer using OpenGL 3.2 GL debug messages: Using VBOs: Yes Is Modded: Definitely; Client brand changed to 'forge' Type: Integrated Server (map_client.txt) Graphics mode: fast Resource Packs: vanilla, mod_resources Current Language: English (US) CPU: 4x Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz Player Count: 1 / 8; [ServerPlayer['gohkenytp'/59, l='ServerLevel[Test World]', x=331.63, y=4.00, z=166.31]] Data Packs: vanilla, mod:bottledair, mod:awesomeflooring, mod:unionlib (incompatible), mod:supermartijn642configlib (incompatible), mod:zombiehorsespawn, mod:transliterationlib (incompatible), mod:bonetorch, mod:areas, mod:paperbooks, mod:mcwwindows (incompatible), mod:cardboardboxes (incompatible), mod:villagernames, mod:realisticbees, mod:diamond_nuggets, mod:xaeroworldmap (incompatible), mod:citadel (incompatible), mod:alexsmobs (incompatible), mod:froglins (incompatible), mod:bookshelf (incompatible), mod:veggie_way, mod:guardvillagers (incompatible), mod:cryingghasts, mod:mcwdoors (incompatible), mod:jeed (incompatible), mod:skeletonhorsespawn, mod:betterbeaconplacement, mod:zombievillagersfromspawner, mod:balm, mod:shulkerbox (incompatible), mod:kelpfertilizer, mod:jeresources (incompatible), mod:exp_ore (incompatible), mod:ninjaphenix_container_lib, mod:coyote (incompatible), mod:despawningeggshatch, mod:justenoughkeys (incompatible), mod:morevillagers (incompatible), mod:gemcakes, mod:curious_armor_stands, mod:greater_eye, mod:amethystequipment (incompatible), mod:plaingrinder (incompatible), mod:biomesoplenty, mod:dogslie (incompatible), mod:simplecorelib, mod:mcwtrpdoors (incompatible), mod:mcwfences (incompatible), mod:edibles, mod:supermartijn642corelib (incompatible), mod:volcanic_caverns, mod:simplylight, mod:villagespawnpoint, mod:justaraftmod, mod:curios, mod:naturallychargedcreepers, mod:energymeter, mod:collective, mod:cakechomps, mod:snowpig (incompatible), mod:vanilla_degus (incompatible), mod:villagertools (incompatible), mod:expandedstorage, mod:powder_power, mod:coalexplosion, mod:cm (incompatible), mod:cfm, mod:architectury (incompatible), mod:aiimprovements, mod:resourcepandas (incompatible), mod:axolotlfoodmod (incompatible), mod:woodenshears (incompatible), mod:ironcoals (incompatible), mod:fallingtree (incompatible), mod:enchantwithmob (incompatible), mod:husk_sand (incompatible), mod:pinesbarrels, mod:chickensshed, mod:campchair, mod:detailab, mod:geckolib3 (incompatible), mod:scaffoldingdropsnearby, mod:mcwlights (incompatible), mod:panda_genetics_tweak (incompatible), mod:batjockeys (incompatible), mod:vanillaexcavators, mod:additionallanterns, mod:treeharvester, mod:jei, mod:weirdmobs (incompatible), mod:randomshulkercolours, mod:mouse (incompatible), mod:mooshroomtweaks, mod:differentiate (incompatible), mod:goblintraders (incompatible), mod:mzojpaint (incompatible), mod:waystones, mod:goldenhopper, mod:mcwpaintings (incompatible), mod:clumps (incompatible), mod:exlineawnings, mod:tumbleweed, mod:fruittrees, mod:kiwi, mod:additionalbars, mod:libx, mod:bno (incompatible), mod:ring_of_teleport, mod:grassseeds, mod:azalea (incompatible), mod:additional_lights (incompatible), mod:packingtape (incompatible), mod:feders_scarecrows (incompatible), mod:recast, mod:forge, mod:waddles, mod:scuba_gear (incompatible), mod:mobuildingblocks (incompatible), mod:additionalredstone (incompatible), mod:whm (incompatible), mod:ironchest (incompatible), mod:trashed, mod:morefeatures (incompatible), mod:weakerspiderwebs, mod:amethyst_arrows_jordan7102 (incompatible), mod:netherrocks, mod:mousetweaks (incompatible), mod:toolbelt (incompatible), mod:easy_steel, mod:extractpoison, mod:morevanillalib, mod:pingot, mod:packedup (incompatible), mod:moveboats, mod:notenoughanimations (incompatible), mod:automaticdoors, mod:randomsheepcolours, mod:xaerominimap (incompatible), mod:sbmcharcoalblock (incompatible), mod:lava_monster (incompatible), mod:earthmobsmod (incompatible), mod:vanillahammers, mod:obsidianequipment (incompatible), mod:shwfox (incompatible), mod:hunterillager (incompatible), mod:ferritecore (incompatible), mod:enhancedcelestials (incompatible), mod:aquaculture, mod:flowerseeds (incompatible), mod:roasted (incompatible), mod:chiselsandbits (incompatible), mod:genericeco, mod:snowballsfreezemobs, mod:drinkbeer ModLauncher: 9.0.7+91+master.8569cdf ModLauncher launch target: forgeclient ModLauncher naming: srg ModLauncher services: mixin PLUGINSERVICE eventbus PLUGINSERVICE object_holder_definalize PLUGINSERVICE runtime_enum_extender PLUGINSERVICE capability_token_subclass PLUGINSERVICE capability_inject_definalize PLUGINSERVICE accesstransformer PLUGINSERVICE runtimedistcleaner PLUGINSERVICE mixin TRANSFORMATIONSERVICE fml TRANSFORMATIONSERVICE FML Language Providers: minecraft@1.0 javafml@null Mod List: bottledair_1.17.1-1.0.jar |Bottled Air |bottledair |1.0 |DONE |Manifest: NOSIGNATURE AwesomeFlooring-Forge-1.17.1-1.0.jar |Awesome Flooring |awesomeflooring |1.0 |DONE |Manifest: NOSIGNATURE UnionLib-1.17.1-4.0.4.jar |UnionLib |unionlib |4.0.4 |DONE |Manifest: NOSIGNATURE supermartijn642configlib-1.0.9-mc1.17.jar |SuperMartijn642's Config Lib |supermartijn642configlib |1.0.9 |DONE |Manifest: NOSIGNATURE zombiehorsespawn_1.17.1-3.0.jar |Zombie Horse Spawn |zombiehorsespawn |3.0 |DONE |Manifest: NOSIGNATURE TRansliterationLib-forge-1.2.2-1.17.1.jar |TRansliterationLib Mod |transliterationlib |1.2.2 |DONE |Manifest: NOSIGNATURE SBM-BoneTorch-1.17.1-0.0.2.jar |[SBM] BoneTorch |bonetorch |0.0.1 |DONE |Manifest: NOSIGNATURE areas_1.17.1-2.8.jar |Areas |areas |2.8 |DONE |Manifest: NOSIGNATURE paperbooks_1.17.1-1.4.jar |Paper Books |paperbooks |1.4 |DONE |Manifest: NOSIGNATURE mcw-windows-2.0.1-mc1.17.1.jar |Macaw's Windows |mcwwindows |2.0.1 |DONE |Manifest: NOSIGNATURE cardboardboxes-1.17.1-0.0.3.jar |[SBM] Cardboard Boxes |cardboardboxes |1.17.1-0.0.3 |DONE |Manifest: NOSIGNATURE villagernames_1.17.1-3.3.jar |Villager Names |villagernames |3.3 |DONE |Manifest: NOSIGNATURE realisticbees_1.17.1-2.2.jar |Realistic Bees |realisticbees |2.2 |DONE |Manifest: NOSIGNATURE diamondNuggets-forge-1.2-1.17.1.jar |Diamond Nuggets |diamond_nuggets |1.2 |DONE |Manifest: NOSIGNATURE XaerosWorldMap_1.17.2_Forge_1.17.1.jar |Xaero's World Map |xaeroworldmap |1.17.2 |DONE |Manifest: NOSIGNATURE citadel-1.9.3-1.17.1.jar |Citadel |citadel |1.9.3 |DONE |Manifest: NOSIGNATURE alexsmobs-1.13.1.jar |Alex's Mobs |alexsmobs |1.13.1 |DONE |Manifest: NOSIGNATURE froglins-1.17.1-2.0.0.0.jar |Froglins |froglins |1.17.1-2.0.0.0 |DONE |Manifest: NOSIGNATURE Bookshelf-Forge-1.17.1-11.0.3.jar |Bookshelf |bookshelf |11.0.3 |DONE |Manifest: eb:c4:b1:67:8b:f9:0c:db:dc:4f:01:b1:8e:61:64:39:4c:10:85:0b:a6:c4:c7:48:f0:fa:95:f2:cb:08:3a:e5 TheVeggieWay-Forge-1.17.1-2.3.2.jar |The Veggie Way |veggie_way |2.3.2 |DONE |Manifest: NOSIGNATURE guardvillagers-1.17.1.1.3.3.jar |Guard Villagers |guardvillagers |1.3.3 |DONE |Manifest: NOSIGNATURE cryingghasts_1.17.1-1.4.jar |Crying Ghasts |cryingghasts |1.4 |DONE |Manifest: NOSIGNATURE mcw-doors-1.0.4-mc1.17.1.jar |Macaw's Doors |mcwdoors |1.0.4 |DONE |Manifest: NOSIGNATURE jeed-1.17.1-1.2.0.jar |Just Enough Effect Description|jeed |1.17-1.4.1 |DONE |Manifest: NOSIGNATURE skeletonhorsespawn_1.17.1-1.9.jar |Skeleton Horse Spawn |skeletonhorsespawn |1.9 |DONE |Manifest: NOSIGNATURE betterbeaconplacement_1.17.1-1.4.jar |Better Beacon Placement |betterbeaconplacement |1.4 |DONE |Manifest: NOSIGNATURE zombievillagersfromspawner_1.17.1-1.6.jar |Zombie Villagers From Spawner |zombievillagersfromspawner |1.6 |DONE |Manifest: NOSIGNATURE balm-1.5.2+0.jar |Balm |balm |1.5.2+0 |DONE |Manifest: NOSIGNATURE shulkerbox-1.17.1-1.0.0.jar |Advanced Shulkerboxes |shulkerbox |1.17.1-1.0.0 |DONE |Manifest: NOSIGNATURE kelpfertilizer_1.17.1-1.7.jar |Kelp Fertilizer |kelpfertilizer |1.7 |DONE |Manifest: NOSIGNATURE JustEnoughResources-1.17.1-0.13.0.130.jar |Just Enough Resources |jeresources |0.13.0.130 |DONE |Manifest: NOSIGNATURE ExpOreMod-1.17.1-v1.3.jar |Exp Ore Block |exp_ore |1.3 |DONE |Manifest: NOSIGNATURE ninjaphenix-container-library-1.2.1+1.17.1.jar |NinjaPhenix's Container Librar|ninjaphenix_container_lib |1.2.1 |DONE |Manifest: NOSIGNATURE Coyote-1.17.1-1.0.0.jar |Coyote |coyote |1.17.1-1.0.0 |DONE |Manifest: NOSIGNATURE despawningeggshatch_1.17.1-2.3.jar |Despawning Eggs Hatch |despawningeggshatch |2.3 |DONE |Manifest: NOSIGNATURE justenoughkeys-forge-0.3.2.jar |Just Enough Keys |justenoughkeys |0.3.2 |DONE |Manifest: NOSIGNATURE morevillagers-FORGE-1.17-2.1.1.jar |More Villagers |morevillagers |2.1.1 |DONE |Manifest: NOSIGNATURE GemCakes-v1.8-1.17.1.jar |Gem Cakes |gemcakes |1.8 |DONE |Manifest: NOSIGNATURE curious-armor-stands-1.17.1-3.0.0.jar |Curious Armor Stands |curious_armor_stands |1.17.1-3.0.0 |DONE |Manifest: NOSIGNATURE GreaterEye-Forge-1.17.1-1.2.2.jar |GreaterEye |greater_eye |1.2.2 |DONE |Manifest: NOSIGNATURE amethystequipment-1.17.1.jar |Amethyst Equipment |amethystequipment |1.17.1 |DONE |Manifest: NOSIGNATURE plaingrinder-1.17.1-1.2.1.jar |plaingrinder |plaingrinder |1.17.1-1.2.1 |DONE |Manifest: 1f:47:ac:b1:61:82:96:b8:47:19:16:d2:61:81:11:60:3a:06:4b:61:31:56:7d:44:31:1e:0c:6f:22:5b:4c:ed BiomesOPlenty-1.17.1-14.0.0.38-universal.jar |Biomes O' Plenty |biomesoplenty |1.17.1-14.0.0.38 |DONE |Manifest: NOSIGNATURE LetSleepingDogsLie-1.17.1-1.1.1.jar |Let Sleeping Dogs Lie |dogslie |1.1.1 |DONE |Manifest: NOSIGNATURE SimpleCoreLib-1.17.1-3.0.4.0.jar |SimpleCoreLib |simplecorelib |1.17.1-3.0.4.0 |DONE |Manifest: NOSIGNATURE mcw-trapdoors-1.0.2-mc1.17.1.jar |Macaw's Trapdoors |mcwtrpdoors |1.0.2 |DONE |Manifest: NOSIGNATURE mcw-fences-1.0.1-mc1.17.1.jar |Macaw's Fences and Walls |mcwfences |1.0.1 |DONE |Manifest: NOSIGNATURE edibles_1.17.1-2.4.jar |Edibles |edibles |2.4 |DONE |Manifest: NOSIGNATURE supermartijn642corelib-1.0.12-mc1.17.jar |SuperMartijn642's Core Lib |supermartijn642corelib |1.0.12 |DONE |Manifest: NOSIGNATURE volcanic_caverns-1.17.1-1.0.0.jar |Volcanic Caverns |volcanic_caverns |1.17.1-1.0.0 |DONE |Manifest: NOSIGNATURE simplylight-1.17.1-1.0.1-build.9.jar |Simply Light |simplylight |1.17.1-1.0.1-build.9|DONE |Manifest: NOSIGNATURE villagespawnpoint_1.17.1-1.8.jar |Village Spawn Point |villagespawnpoint |1.8 |DONE |Manifest: NOSIGNATURE JustARaftMod-1.17.1-1.1.3.jar |Just A Raft Mod |justaraftmod |1.1.3 |DONE |Manifest: NOSIGNATURE curios-forge-1.17.1-5.0.1.0.jar |Curios API |curios |1.17.1-5.0.1.0 |DONE |Manifest: NOSIGNATURE naturallychargedcreepers_1.17.1-1.7.jar |Naturally Charged Creepers |naturallychargedcreepers |1.7 |DONE |Manifest: NOSIGNATURE energymeter-1.17.1-2.1.0.jar |Energy Meter |energymeter |2.1.0 |DONE |Manifest: NOSIGNATURE collective-1.17.1-2.64.jar |Collective |collective |2.64 |DONE |Manifest: NOSIGNATURE cakechomps-forge-1.17.1-5.0.0.5.jar |Cake Chomps |cakechomps |1.17.1-5.0.0.5 |DONE |Manifest: NOSIGNATURE Snow_Pig-1.17.1-1.0.0.jar |Snow Pig |snowpig |1.17.1-1.0.0 |DONE |Manifest: NOSIGNATURE vanilla_degus-1.17.1-v1.1.0-forge.jar |Vanilla Degus |vanilla_degus |1.1.0 |DONE |Manifest: NOSIGNATURE villagertools-1.17.1-1.0.1.jar |villagertools |villagertools |1.17.1-1.0.1 |DONE |Manifest: 1f:47:ac:b1:61:82:96:b8:47:19:16:d2:61:81:11:60:3a:06:4b:61:31:56:7d:44:31:1e:0c:6f:22:5b:4c:ed expandedstorage-7.2.4+1.17.1.jar |Expanded Storage |expandedstorage |7.2.4 |DONE |Manifest: NOSIGNATURE PowderPower-Forge-1.17.1-3.4.2.jar |Powder Power |powder_power |3.4.2 |DONE |Manifest: NOSIGNATURE coalexplosion-1.17.1-1.1.jar |Coal Explosion |coalexplosion |1.1 |DONE |Manifest: NOSIGNATURE coal-tools-mod-forge-1.17-1.0.jar |Coal Tools Mod |cm |1.17.1-1.0 |DONE |Manifest: NOSIGNATURE cfm-7.0.0-pre25-mc1.17.1.jar |MrCrayfish's Furniture Mod |cfm |7.0.0-pre25 |DONE |Manifest: NOSIGNATURE architectury-2.5.30-forge.jar |Architectury |architectury |2.5.30 |DONE |Manifest: NOSIGNATURE AI-Improvements-1.17.1-0.3.0.jar |AI-Improvements |aiimprovements |0.3.0 |DONE |Manifest: NOSIGNATURE Resource-Pandas-1.17.1-1.1.1.jar |Resource Panda's |resourcepandas |1.1.1 |DONE |Manifest: NOSIGNATURE Boiled+Axolotl+Mod+v1+-+1.17.1.jar |Axolotl Food Mod |axolotlfoodmod |1.0 |DONE |Manifest: NOSIGNATURE SBM-WoodenShears-1.17.1-1.2.0.jar |SBM-Wooden Shears |woodenshears |1.2.0 |DONE |Manifest: NOSIGNATURE ironcoals-4.0.0.jar |Iron Coals |ironcoals |4.0.0 |DONE |Manifest: NOSIGNATURE FallingTree-1.17.1-2.14.2.jar |FallingTree |fallingtree |2.14.2 |DONE |Manifest: 3c:8e:df:6c:df:a6:2a:9f:af:64:ea:04:9a:cf:65:92:3b:54:93:0e:96:50:b4:52:e1:13:42:18:2b:ae:40:29 enchantwithmob-1.17.1-2.5.1.jar |Enchant With Mob |enchantwithmob |1.17.1-2.5.1 |DONE |Manifest: NOSIGNATURE husk_sand-1.0.0.jar |Husk_sand |husk_sand |1.0.0 |DONE |Manifest: NOSIGNATURE pinesbarrels-1.0.2.jar |Better Barrels |pinesbarrels |1.0.2 |DONE |Manifest: NOSIGNATURE chickensshed-1.17.1-1.2-forge.jar |ChickensShed |chickensshed |1.17.1-1.2 |DONE |Manifest: NOSIGNATURE campchair-forge.1.17-1.0.0.jar |Camp Chair |campchair |1.0.0 |DONE |Manifest: NOSIGNATURE DetailArmorBar-2.6.1+1.17.1-forge.jar |Detail Armor Bar |detailab |2.6.1+1.17.1-forge |DONE |Manifest: NOSIGNATURE geckolib-1.17.1-3.0.2.jar |GeckoLib |geckolib3 |3.0.2 |DONE |Manifest: NOSIGNATURE scaffoldingdropsnearby_1.17.1-1.5.jar |Scaffolding Drops Nearby |scaffoldingdropsnearby |1.5 |DONE |Manifest: NOSIGNATURE mcw-lights-1.0.1-mc1.17.1.jar |Macaw's Lights and Lamps |mcwlights |1.0.1 |DONE |Manifest: NOSIGNATURE panda_genetics_tweak-1.17.X-1.1.jar |Panda Genetics Tweak |panda_genetics_tweak |1.17.X-1.1 |DONE |Manifest: NOSIGNATURE BatJockeys-1.17.1-1.0.1.jar |Bat Jockeys |batjockeys |1.0.1 |DONE |Manifest: NOSIGNATURE VanillaExcavators-1.17.1-3.0.1.jar |Vanilla Excavators |vanillaexcavators |1.17.1-3.0.1 |DONE |Manifest: NOSIGNATURE additionallanterns-1.0.0a-mc1.17.jar |Additional Lanterns |additionallanterns |1.0.0a |DONE |Manifest: NOSIGNATURE treeharvester_1.17.1-3.2.jar |Tree Harvester |treeharvester |3.2 |DONE |Manifest: NOSIGNATURE jei-1.17.1-8.1.0.26.jar |Just Enough Items |jei |8.1.0.26 |DONE |Manifest: NOSIGNATURE weirdmobs_yourdailymodder.jar |WeirdMobs Mod |weirdmobs |1.0 |DONE |Manifest: NOSIGNATURE randomshulkercolours_1.17.1-1.3.jar |Random Shulker Colours |randomshulkercolours |1.3 |DONE |Manifest: NOSIGNATURE Mouse-1.17.1-1.0.0.jar |Mouse |mouse |1.17.1-1.0.0 |DONE |Manifest: NOSIGNATURE mooshroomtweaks_1.17.1-1.6.jar |Mooshroom Tweaks |mooshroomtweaks |1.6 |DONE |Manifest: NOSIGNATURE differentiate-1.17.1-1.0.0.jar |Differentiate |differentiate |0.5.3 |DONE |Manifest: NOSIGNATURE goblintraders-1.6.3-1.17.1.jar |Goblin Traders |goblintraders |1.6.3 |DONE |Manifest: NOSIGNATURE Paint+Palettes-Release-1.17.1-37.0.75.jar |Paintable Planks |mzojpaint |1.0 |DONE |Manifest: NOSIGNATURE waystones-8.1.3+0.jar |Waystones |waystones |8.1.3+0 |DONE |Manifest: NOSIGNATURE goldenhopper-1.2.4-mc1.17.1.jar |Golden Hopper |goldenhopper |1.2.4 |DONE |Manifest: NOSIGNATURE mcw-paintings-1.0.2-mc1.17.1.jar |Macaw's Paintings |mcwpaintings |1.0.2 |DONE |Manifest: NOSIGNATURE Clumps-forge-1.17.1-7.0.7.jar |Clumps |clumps |7.0.7 |DONE |Manifest: NOSIGNATURE exlineawnings-1.17.1-1.1.jar |Exline's Awnings |exlineawnings |1.17.1-1.1 |DONE |Manifest: NOSIGNATURE tumbleweed-1.17-0.4.10.jar |Tumbleweed |tumbleweed |1.17-0.4.10 |DONE |Manifest: NOSIGNATURE FruitTrees-1.17.1-3.0.0.jar |Fruit Trees |fruittrees |3.0.0 |DONE |Manifest: NOSIGNATURE Kiwi-1.17.1-4.1.0.jar |Kiwi |kiwi |4.1.0 |DONE |Manifest: NOSIGNATURE 1.17.1-additionalbars-2.1.0.jar |Additional Bars |additionalbars |2.1.0 |DONE |Manifest: NOSIGNATURE LibX-1.17.1-2.1.2.jar |LibX |libx |1.17.1-2.1.2 |DONE |Manifest: NOSIGNATURE BasicNetherOres-1.17.1-6.0.0.jar |Basic Nether Ores |bno |6.0.0 |DONE |Manifest: NOSIGNATURE RingOfTeleport-Forge-1.17.1-1.3.5.jar |Ring of Teleport |ring_of_teleport |1.3.5 |DONE |Manifest: NOSIGNATURE grassseeds_1.17.1-1.6.jar |Grass Seeds |grassseeds |1.6 |DONE |Manifest: NOSIGNATURE azalea-FORGE-1.0.0.jar |Better Azalea |azalea |1.0.0 |DONE |Manifest: NOSIGNATURE additional_lights-1.17.1-2.1.4.jar |Additional Lights |additional_lights |2.1.4 |DONE |Manifest: NOSIGNATURE PackingTape-1.17.1-0.11.1.jar |Packing Tape |packingtape |0.11.1 |DONE |Manifest: NOSIGNATURE feders_scarecrows-1.1.jar |Feder's Scarecrow |feders_scarecrows |1.1 |DONE |Manifest: NOSIGNATURE recast_1.17.1-1.5.jar |Recast |recast |1.5 |DONE |Manifest: NOSIGNATURE forge-1.17.1-37.0.95-universal.jar |Forge |forge |37.0.95 |DONE |Manifest: 22:af:21:d8:19:82:7f:93:94:fe:2b:ac:b7:e4:41:57:68:39:87:b1:a7:5c:c6:44:f9:25:74:21:14:f5:0d:90 Waddles-1.17.1-0.8.16.jar |Waddles |waddles |1.17.1-0.8.16 |DONE |Manifest: NOSIGNATURE scuba_gear-1.17.1-1.0.3.jar |Scuba Gear |scuba_gear |1.0.3 |DONE |Manifest: NOSIGNATURE mobuildingblocks-1.2.2.jar |Mo' Building Blocks |mobuildingblocks |1.2.2 |DONE |Manifest: NOSIGNATURE additionalredstone-1.17.1-1.0.1.jar |Additional Redstone |additionalredstone |1.17.1 - 1.0.1 |DONE |Manifest: NOSIGNATURE Wither+Hoe+Mod-1.3.4-1.17.1.jar |Wither Hoe Mod |whm |1.3.4 |DONE |Manifest: NOSIGNATURE ironchest-1.17.1-12.0.2.jar |Iron Chests |ironchest |1.17.1-12.0.2 |DONE |Manifest: NOSIGNATURE Trashed-1.17.1-1.1.6.jar |Trashed |trashed |1.1.6 |DONE |Manifest: NOSIGNATURE Mo'Features-6.7.0-1.16.5.jar |Mo Features |morefeatures |1.17.1-6.0.0 |DONE |Manifest: NOSIGNATURE client-1.17.1-20210706.113038-srg.jar |Minecraft |minecraft |1.17.1 |DONE |Manifest: a1:d4:5e:04:4f:d3:d6:e0:7b:37:97:cf:77:b0:de:ad:4a:47:ce:8c:96:49:5f:0a:cf:8c:ae:b2:6d:4b:8a:3f weakerspiderwebs_1.17.1-2.0.jar |Weaker Spiderwebs |weakerspiderwebs |2.0 |DONE |Manifest: NOSIGNATURE amethyst-arrows.jar |Amethyst Arrows |amethyst_arrows_jordan7102 |1.0 |DONE |Manifest: NOSIGNATURE Netherrocks-1.17.1-3.0.0.6.jar |SimpleOres:Netherrocks |netherrocks |1.17.1-3.0.0.6 |DONE |Manifest: NOSIGNATURE MouseTweaks-2.14-mc1.17.1.jar |Mouse Tweaks |mousetweaks |2.14 |DONE |Manifest: NOSIGNATURE ToolBelt-1.17.1-1.17.3.jar |Tool Belt |toolbelt |1.17.3 |DONE |Manifest: NOSIGNATURE EasySteel-Forge-1.17.1-1.4.2.jar |Easy Steel & More |easy_steel |1.4.2 |DONE |Manifest: NOSIGNATURE extractpoison_1.17.1-1.5.jar |Extract Poison |extractpoison |1.5 |DONE |Manifest: NOSIGNATURE MoreVanillaLib-1.17.1-2.0.8.jar |MoreVanillaLib |morevanillalib |1.17.1-2.0.8 |DONE |Manifest: NOSIGNATURE pingot-1.1.0.jar |Pingot |pingot |1.17.1-1.0.0 |DONE |Manifest: NOSIGNATURE packedup-1.0.24-mc1.17.jar |PackedUp |packedup |1.0.24 |DONE |Manifest: NOSIGNATURE moveboats_1.17.1-1.8.jar |Move Boats |moveboats |1.8 |DONE |Manifest: NOSIGNATURE notenoughanimations-1.3.1.jar |NotEnoughAnimations Mod |notenoughanimations |1.3.0 |DONE |Manifest: NOSIGNATURE automaticdoors_1.17.1-1.9.jar |Automatic Doors |automaticdoors |1.9 |DONE |Manifest: NOSIGNATURE randomsheepcolours_1.17.1-1.6.jar |Random Sheep Colours |randomsheepcolours |1.6 |DONE |Manifest: NOSIGNATURE Xaeros_Minimap_21.18.0_Forge_1.17.1.jar |Xaero's Minimap |xaerominimap |21.18.0 |DONE |Manifest: NOSIGNATURE SBM-CharcoalBlock-1.17.1-1.1.0.jar |SBM-Charcoal Block |sbmcharcoalblock |1.1.0 |DONE |Manifest: NOSIGNATURE lava_monster-1.17.1-1.0.10.jar |Lava Monster |lava_monster |1.0.10 |DONE |Manifest: NOSIGNATURE EarthMobs-1.17.1-0.3.1.jar |Earth Mobs Mod |earthmobsmod |1.17.1-0.3.1 |DONE |Manifest: NOSIGNATURE VanillaHammers-1.17.1-3.0.3.jar |Vanilla Hammers |vanillahammers |1.17.1-3.0.3 |DONE |Manifest: NOSIGNATURE obsidianequipment-1.17.1.jar |Obsidian Equipment |obsidianequipment |1.17.1 |DONE |Manifest: NOSIGNATURE foxes-1.1+forge.jar |Shadew's Foxes |shwfox |1.1+forge |DONE |Manifest: NOSIGNATURE HunterIllager-1.17.1-2.4.0.jar |Hunter Illager |hunterillager |1.17.1-2.4.0 |DONE |Manifest: NOSIGNATURE ferritecore-3.1.0-forge.jar |Ferrite Core |ferritecore |3.1.0 |DONE |Manifest: 41:ce:50:66:d1:a0:05:ce:a1:0e:02:85:9b:46:64:e0:bf:2e:cf:60:30:9a:fe:0c:27:e0:63:66:9a:84:ce:8a enhancedcelestials-2.0.8-1.17.1.jar |Enhanced Celestials |enhancedcelestials |2.0.8 |DONE |Manifest: NOSIGNATURE Aquaculture-1.17.1-2.2.2.jar |Aquaculture 2 |aquaculture |1.17.1-2.2.2 |DONE |Manifest: NOSIGNATURE flowerseeds-1.17.1-2.0.0.jar |Flower Seeds |flowerseeds |1.17.1-2.0.0 |DONE |Manifest: NOSIGNATURE roasted-1.0.0.jar |Roasted |roasted |1.0.0 |DONE |Manifest: NOSIGNATURE chiselsandbits-1.1.5-RELEASE-universal.jar |Chisels & bits |chiselsandbits |1.1.5-RELEASE |DONE |Manifest: NOSIGNATURE genericeco-1.17.1-2.2.jar |Generic Ecosphere |genericeco |1.17.1-2.2 |DONE |Manifest: NOSIGNATURE snowballsfreezemobs_1.17.1-1.5.jar |Snowballs Freeze Mobs |snowballsfreezemobs |1.5 |DONE |Manifest: NOSIGNATURE drinkbeer-v2.2+for+1.17.1.jar |Drink Beer |drinkbeer |2.2 |DONE |Manifest: NOSIGNATURE Crash Report UUID: 5aa4e1ba-bd80-4f14-b4ea-5e37467e28a0 FML: 37.0 Forge: net.minecraftforge:37.0.95 Kiwi Modules: fruittrees:cherry fruittrees:core fruittrees:hybridization kiwi:contributors kiwi:data
  4. I got the SpawnEgg set already and I figured it out. Until I came across this: Type parameter 'com.gohkenytp.coyote.common.entities.CoyoteEntity' is not within its bound; should extend 'net.minecraft.world.entity.animal.Wolf' I need help with this immediately!
  5. Whenever I installed my very first 1.17 mod. The spawning of the entity as well as it's spawn egg didn't show up. Here's the code to explain why: package com.gohkenytp.coyote.common.items; import java.util.*; import net.minecraft.world.level.block.DispenserBlock; import net.minecraft.core.dispenser.DefaultDispenseItemBehavior; import net.minecraft.core.BlockSource; import net.minecraft.world.entity.MobSpawnType; import net.minecraft.nbt.CompoundTag; import net.minecraft.core.Direction; import net.minecraftforge.common.util.Lazy; import net.minecraftforge.common.util.NonNullSupplier; import net.minecraft.world.entity.EntityType; import net.minecraft.world.item.Item; import net.minecraft.world.item.ItemStack; import net.minecraft.world.item.SpawnEggItem; import net.minecraftforge.fml.util.ObfuscationReflectionHelper; import net.minecraftforge.fmllegacy.RegistryObject; public class CoyoteEgg extends SpawnEggItem { protected static final List<CoyoteEgg> UNADDED_EGGS = new ArrayList<CoyoteEgg>(); private final Lazy<? extends EntityType<?>> entityTypeSupplier; public CoyoteEgg(final NonNullSupplier<? extends EntityType<?>> entityTypeSupplier, final int primaryColour, final int secondaryColour, final Item.Properties properties) { super(null, primaryColour, secondaryColour, properties); this.entityTypeSupplier = Lazy.of(entityTypeSupplier::get); UNADDED_EGGS.add(this); } public CoyoteEgg(final RegistryObject<? extends EntityType<?>> entityTypeSupplier, final int primaryColour, final int secondaryColour, final Item.Properties properties) { super(null, primaryColour, secondaryColour, properties); this.entityTypeSupplier = Lazy.of(entityTypeSupplier::get); UNADDED_EGGS.add(this); } public static void regSpawnEggs() { final Map<EntityType<?>, SpawnEggItem> EGGS = ObfuscationReflectionHelper.getPrivateValue(SpawnEggItem.class, null, "field_195987_b"); DefaultDispenseItemBehavior dispenseBehaviour = new DefaultDispenseItemBehavior() { @Override protected ItemStack execute(BlockSource source, ItemStack stack) { Direction direction = source.getBlockState().getValue(DispenserBlock.FACING); EntityType<?> type = ((SpawnEggItem) stack.getItem()).getType(stack.getTag()); type.spawn(source.getLevel(), stack, null, source.getPos().relative(direction), MobSpawnType.DISPENSER, direction != Direction.UP, false); stack.shrink(1); return stack; } }; for (final SpawnEggItem spawnEgg : UNADDED_EGGS) { EGGS.put(spawnEgg.getType(null), spawnEgg); DispenserBlock.registerBehavior(spawnEgg, dispenseBehaviour); } UNADDED_EGGS.clear(); } @Override public EntityType<?> getType(CompoundTag nbt) { return this.entityTypeSupplier.get(); } }
  6. Oh yeah. Right. I'm making a Witherling and porting it to 1.17. According to Sully's Mod. The description for it says: Witherlings are rare Nether-mobs that pretty much act like a weaker Wither that can't shoot as far and doesn't do much damage, they drop Wither Rozes when they die.
  7. I need some help from you guys out there to get this code a fixer-upper: package tld.sullysmod.modid.entity; import com.mojang.blaze3d.matrix.MatrixStack; import com.mojang.blaze3d.vertex.IVertexBuilder; import java.util.EnumSet; import java.util.HashMap; import java.util.Map; import java.util.Random; import java.util.function.BiFunction; import net.minecraft.block.BlockState; import net.minecraft.client.renderer.entity.EntityRenderer; import net.minecraft.client.renderer.entity.EntityRendererManager; import net.minecraft.client.renderer.entity.MobRenderer; import net.minecraft.client.renderer.entity.model.EntityModel; import net.minecraft.client.renderer.model.Model; import net.minecraft.client.renderer.model.ModelRenderer; import net.minecraft.entity.CreatureAttribute; import net.minecraft.entity.CreatureEntity; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityClassification; import net.minecraft.entity.EntitySpawnPlacementRegistry; import net.minecraft.entity.EntityType; import net.minecraft.entity.LivingEntity; import net.minecraft.entity.MobEntity; import net.minecraft.entity.SharedMonsterAttributes; import net.minecraft.entity.ai.controller.FlyingMovementController; import net.minecraft.entity.ai.controller.MovementController; import net.minecraft.entity.ai.goal.Goal; import net.minecraft.entity.ai.goal.HurtByTargetGoal; import net.minecraft.entity.ai.goal.LookRandomlyGoal; import net.minecraft.entity.ai.goal.RandomWalkingGoal; import net.minecraft.entity.ai.goal.WaterAvoidingRandomWalkingGoal; import net.minecraft.entity.monster.MonsterEntity; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.item.Item; import net.minecraft.item.ItemGroup; import net.minecraft.item.ItemStack; import net.minecraft.item.Items; import net.minecraft.item.SpawnEggItem; import net.minecraft.network.IPacket; import net.minecraft.pathfinding.FlyingPathNavigator; import net.minecraft.pathfinding.PathNavigator; import net.minecraft.util.DamageSource; import net.minecraft.util.IItemProvider; import net.minecraft.util.ResourceLocation; import net.minecraft.util.SoundEvent; import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.Vec3d; import net.minecraft.world.World; import net.minecraft.world.biome.Biome; import net.minecraft.world.gen.Heightmap; import net.minecraftforge.api.distmarker.Dist; import net.minecraftforge.api.distmarker.OnlyIn; import net.minecraftforge.client.event.ModelRegistryEvent; import net.minecraftforge.common.DungeonHooks; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.client.registry.RenderingRegistry; import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent; import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext; import net.minecraftforge.fml.network.FMLPlayMessages; import net.minecraftforge.fml.network.NetworkHooks; import net.minecraftforge.registries.ForgeRegistries; import net.minecraftforge.registries.IForgeRegistryEntry; import tld.sullysmod.modid.SullysModModElements; import tld.sullysmod.modid.SullysModModElements.ModElement.Tag; import tld.sullysmod.modid.procedures.BabyWitherPlayerCollidesWithThisEntityProcedure; @Tag public class BabyWitherEntity extends SullysModModElements.ModElement { public static EntityType entity = null; public BabyWitherEntity(SullysModModElements instance) { super(instance, 2); FMLJavaModLoadingContext.get().getModEventBus().register(this); } public void initElements() { entity = (EntityType)EntityType.Builder.func_220322_a(CustomEntity::new, EntityClassification.MONSTER).setShouldReceiveVelocityUpdates(true).setTrackingRange(64).setUpdateInterval(3).setCustomClientFactory(CustomEntity::new).func_220320_c().func_220321_a(0.6F, 1.8F).func_206830_a("witherling").setRegistryName("witherling"); this.elements.entities.add(() -> entity); this.elements.items .add(() -> (Item)(new SpawnEggItem(entity, -13355980, -5921371, (new Item.Properties()).func_200916_a(ItemGroup.field_78026_f))).setRegistryName("witherling")); } public void init(FMLCommonSetupEvent event) { for (Biome biome : ForgeRegistries.BIOMES.getValues()) { boolean biomeCriteria = false; if (ForgeRegistries.BIOMES.getKey((IForgeRegistryEntry)biome).equals(new ResourceLocation("nether"))) biomeCriteria = true; if (!biomeCriteria) continue; biome.func_76747_a(EntityClassification.MONSTER).add(new Biome.SpawnListEntry(entity, 3, 1, 2)); } EntitySpawnPlacementRegistry.func_209343_a(entity, EntitySpawnPlacementRegistry.PlacementType.ON_GROUND, Heightmap.Type.MOTION_BLOCKING_NO_LEAVES, MonsterEntity::func_223324_d); DungeonHooks.addDungeonMob(entity, 180); } @SubscribeEvent @OnlyIn(Dist.CLIENT) public void registerModels(ModelRegistryEvent event) { RenderingRegistry.registerEntityRenderingHandler(entity, renderManager -> new MobRenderer(renderManager, new ModelMiniWither(), 0.2F) { public ResourceLocation func_110775_a(Entity entity) { return new ResourceLocation("sullys_mod:textures/miniwithernormalstate.png"); } }); } public static class CustomEntity extends MonsterEntity { public CustomEntity(FMLPlayMessages.SpawnEntity packet, World world) { this(BabyWitherEntity.entity, world); } public CustomEntity(EntityType<CustomEntity> type, World world) { super(type, world); this.field_70728_aV = 0; func_94061_f(false); this.field_70765_h = (MovementController)new FlyingMovementController((MobEntity)this, 10, true); this.field_70699_by = (PathNavigator)new FlyingPathNavigator((MobEntity)this, this.field_70170_p); } public IPacket<?> func_213297_N() { return NetworkHooks.getEntitySpawningPacket((Entity)this); } protected void func_184651_r() { super.func_184651_r(); this.field_70714_bg.func_75776_a(1, new Goal() { public boolean func_75250_a() { if (BabyWitherEntity.CustomEntity.this.func_70638_az() != null && !BabyWitherEntity.CustomEntity.this.func_70605_aq().func_75640_a()) return true; return false; } public boolean func_75253_b() { return (BabyWitherEntity.CustomEntity.this.func_70605_aq().func_75640_a() && BabyWitherEntity.CustomEntity.this.func_70638_az() != null && BabyWitherEntity.CustomEntity.this .func_70638_az().func_70089_S()); } public void func_75249_e() { LivingEntity livingentity = BabyWitherEntity.CustomEntity.this.func_70638_az(); Vec3d vec3d = livingentity.func_174824_e(1.0F); BabyWitherEntity.CustomEntity.this.field_70765_h.func_75642_a(vec3d.field_72450_a, vec3d.field_72448_b, vec3d.field_72449_c, 1.0D); } public void func_75246_d() { LivingEntity livingentity = BabyWitherEntity.CustomEntity.this.func_70638_az(); if (BabyWitherEntity.CustomEntity.this.func_174813_aQ().func_72326_a(livingentity.func_174813_aQ())) { BabyWitherEntity.CustomEntity.this.func_70652_k((Entity)livingentity); } else { double d0 = BabyWitherEntity.CustomEntity.this.func_70068_e((Entity)livingentity); if (d0 < 16.0D) { Vec3d vec3d = livingentity.func_174824_e(1.0F); BabyWitherEntity.CustomEntity.this.field_70765_h.func_75642_a(vec3d.field_72450_a, vec3d.field_72448_b, vec3d.field_72449_c, 1.0D); } } } }); this.field_70715_bh.func_75776_a(2, (Goal)(new HurtByTargetGoal((CreatureEntity)this, new Class[0])).func_220794_a(new Class[] { getClass() })); this.field_70714_bg.func_75776_a(3, (Goal)new RandomWalkingGoal((CreatureEntity)this, 0.8D, 20) { protected Vec3d func_190864_f() { Random random = BabyWitherEntity.CustomEntity.this.func_70681_au(); double dir_x = BabyWitherEntity.CustomEntity.this.func_226277_ct_() + ((random.nextFloat() * 2.0F - 1.0F) * 16.0F); double dir_y = BabyWitherEntity.CustomEntity.this.func_226278_cu_() + ((random.nextFloat() * 2.0F - 1.0F) * 16.0F); double dir_z = BabyWitherEntity.CustomEntity.this.func_226281_cx_() + ((random.nextFloat() * 2.0F - 1.0F) * 16.0F); return new Vec3d(dir_x, dir_y, dir_z); } }); this.field_70714_bg.func_75776_a(4, (Goal)new WaterAvoidingRandomWalkingGoal((CreatureEntity)this, 0.8D)); this.field_70714_bg.func_75776_a(5, (Goal)new LookRandomlyGoal((MobEntity)this)); } public CreatureAttribute func_70668_bt() { return CreatureAttribute.field_223223_b_; } protected void func_213333_a(DamageSource source, int looting, boolean recentlyHitIn) { super.func_213333_a(source, looting, recentlyHitIn); func_199701_a_(new ItemStack((IItemProvider)Items.field_196183_dw, 1)); } public SoundEvent func_184601_bQ(DamageSource ds) { return (SoundEvent)ForgeRegistries.SOUND_EVENTS.getValue(new ResourceLocation("sullys_mod:babywitherhurt")); } public SoundEvent func_184615_bR() { return (SoundEvent)ForgeRegistries.SOUND_EVENTS.getValue(new ResourceLocation("sullys_mod:babywitherdeath")); } public boolean func_225503_b_(float l, float d) { return false; } public boolean func_70097_a(DamageSource source, float amount) { if (source == DamageSource.field_76379_h) return false; if (source == DamageSource.field_76369_e) return false; return super.func_70097_a(source, amount); } public void func_70100_b_(PlayerEntity sourceentity) { super.func_70100_b_(sourceentity); CustomEntity customEntity = this; double x = func_226277_ct_(); double y = func_226278_cu_(); double z = func_226281_cx_(); Map<String, Object> $_dependencies = new HashMap<>(); $_dependencies.put("entity", customEntity); $_dependencies.put("x", Double.valueOf(x)); $_dependencies.put("y", Double.valueOf(y)); $_dependencies.put("z", Double.valueOf(z)); $_dependencies.put("world", this.field_70170_p); BabyWitherPlayerCollidesWithThisEntityProcedure.executeProcedure($_dependencies); } protected void func_110147_ax() { super.func_110147_ax(); if (func_110148_a(SharedMonsterAttributes.field_111263_d) != null) func_110148_a(SharedMonsterAttributes.field_111263_d).func_111128_a(0.3D); if (func_110148_a(SharedMonsterAttributes.field_111267_a) != null) func_110148_a(SharedMonsterAttributes.field_111267_a).func_111128_a(20.0D); if (func_110148_a(SharedMonsterAttributes.field_188791_g) != null) func_110148_a(SharedMonsterAttributes.field_188791_g).func_111128_a(0.0D); if (func_110148_a(SharedMonsterAttributes.field_111264_e) == null) func_110140_aT().func_111150_b(SharedMonsterAttributes.field_111264_e); func_110148_a(SharedMonsterAttributes.field_111264_e).func_111128_a(3.0D); if (func_110148_a(SharedMonsterAttributes.field_193334_e) == null) func_110140_aT().func_111150_b(SharedMonsterAttributes.field_193334_e); func_110148_a(SharedMonsterAttributes.field_193334_e).func_111128_a(0.3D); } protected void func_184231_a(double y, boolean onGroundIn, BlockState state, BlockPos pos) {} public void func_189654_d(boolean ignored) { super.func_189654_d(true); } public void func_70636_d() { super.func_70636_d(); func_189654_d(true); } } public static class ModelMiniWither extends EntityModel<Entity> { private final ModelRenderer Head; private final ModelRenderer bone3; private final ModelRenderer Body; private final ModelRenderer bone; private final ModelRenderer bone2; public ModelMiniWither() { this.field_78090_t = 44; this.field_78089_u = 20; this.Head = new ModelRenderer((Model)this); this.Head.func_78793_a(-1.0F, 12.0F, 1.0F); setRotationAngle(this.Head, 0.0F, 0.0F, -0.0873F); this.Head.func_78784_a(0, 0).func_228303_a_(-3.0535F, -5.8714F, -4.0F, 6.0F, 6.0F, 6.0F, 0.0F, false); this.bone3 = new ModelRenderer((Model)this); this.bone3.func_78793_a(1.9503F, -0.9585F, 1.0F); this.Head.func_78792_a(this.bone3); setRotationAngle(this.bone3, 0.0F, -0.1745F, 0.1745F); this.bone3.func_78784_a(24, 0).func_228303_a_(-0.4524F, -2.8083F, -3.9892F, 5.0F, 5.0F, 5.0F, 0.0F, false); this.Body = new ModelRenderer((Model)this); this.Body.func_78793_a(0.0F, 13.0F, 0.0F); setRotationAngle(this.Body, 0.1745F, 0.0F, 0.0F); this.Body.func_78784_a(0, 12).func_228303_a_(-1.0F, -0.8112F, 0.1585F, 2.0F, 6.0F, 2.0F, 0.0F, false); this.bone = new ModelRenderer((Model)this); this.bone.func_78793_a(0.0F, 0.0F, 0.0F); this.Body.func_78792_a(this.bone); setRotationAngle(this.bone, 0.4363F, 0.0F, 0.0F); this.bone.func_78784_a(8, 12).func_228303_a_(-1.0F, 4.847F, -1.804F, 2.0F, 4.0F, 2.0F, 0.0F, false); this.bone2 = new ModelRenderer((Model)this); this.bone2.func_78793_a(0.0F, 0.0152F, 0.1736F); this.Body.func_78792_a(this.bone2); setRotationAngle(this.bone2, 0.1745F, 0.0F, 0.0F); this.bone2.func_78784_a(14, 16).func_228303_a_(-3.0F, 0.9544F, -0.5209F, 6.0F, 2.0F, 2.0F, 0.0F, false); this.bone2.func_78784_a(14, 16).func_228303_a_(-3.0F, 5.241F, 0.7541F, 6.0F, 2.0F, 2.0F, 0.0F, false); } public void func_225598_a_(MatrixStack matrixStack, IVertexBuilder buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha) { this.Head.func_228308_a_(matrixStack, buffer, packedLight, packedOverlay); this.Body.func_228308_a_(matrixStack, buffer, packedLight, packedOverlay); } public void setRotationAngle(ModelRenderer modelRenderer, float x, float y, float z) { modelRenderer.field_78795_f = x; modelRenderer.field_78796_g = y; modelRenderer.field_78808_h = z; } public void func_225597_a_(Entity e, float f, float f1, float f2, float f3, float f4) {} } } package tld.sullysmod.modid.entity; import com.mojang.blaze3d.matrix.MatrixStack; import com.mojang.blaze3d.vertex.IVertexBuilder; import java.util.EnumSet; import java.util.Random; import java.util.function.BiFunction; import net.minecraft.block.BlockState; import net.minecraft.block.Blocks; import net.minecraft.client.renderer.entity.EntityRenderer; import net.minecraft.client.renderer.entity.EntityRendererManager; import net.minecraft.client.renderer.entity.MobRenderer; import net.minecraft.client.renderer.entity.model.EntityModel; import net.minecraft.client.renderer.model.Model; import net.minecraft.client.renderer.model.ModelRenderer; import net.minecraft.entity.CreatureAttribute; import net.minecraft.entity.CreatureEntity; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityClassification; import net.minecraft.entity.EntityType; import net.minecraft.entity.IRangedAttackMob; import net.minecraft.entity.LivingEntity; import net.minecraft.entity.MobEntity; import net.minecraft.entity.SharedMonsterAttributes; import net.minecraft.entity.ai.controller.FlyingMovementController; import net.minecraft.entity.ai.controller.MovementController; import net.minecraft.entity.ai.goal.Goal; import net.minecraft.entity.ai.goal.HurtByTargetGoal; import net.minecraft.entity.ai.goal.LookRandomlyGoal; import net.minecraft.entity.ai.goal.NearestAttackableTargetGoal; import net.minecraft.entity.ai.goal.RandomWalkingGoal; import net.minecraft.entity.ai.goal.RangedAttackGoal; import net.minecraft.entity.ai.goal.WaterAvoidingRandomWalkingGoal; import net.minecraft.entity.monster.MonsterEntity; import net.minecraft.entity.passive.AmbientEntity; import net.minecraft.entity.passive.AnimalEntity; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.item.ItemStack; import net.minecraft.network.IPacket; import net.minecraft.pathfinding.FlyingPathNavigator; import net.minecraft.pathfinding.PathNavigator; import net.minecraft.util.DamageSource; import net.minecraft.util.IItemProvider; import net.minecraft.util.ResourceLocation; import net.minecraft.util.SoundEvent; import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.Vec3d; import net.minecraft.world.World; import net.minecraftforge.api.distmarker.Dist; import net.minecraftforge.api.distmarker.OnlyIn; import net.minecraftforge.client.event.ModelRegistryEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.client.registry.RenderingRegistry; import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext; import net.minecraftforge.fml.network.FMLPlayMessages; import net.minecraftforge.fml.network.NetworkHooks; import net.minecraftforge.registries.ForgeRegistries; import tld.sullysmod.modid.SullysModModElements; import tld.sullysmod.modid.SullysModModElements.ModElement.Tag; import tld.sullysmod.modid.item.TinywitherItem; @Tag public class AngryWitherEntity extends SullysModModElements.ModElement { public static EntityType entity = null; public AngryWitherEntity(SullysModModElements instance) { super(instance, 7); FMLJavaModLoadingContext.get().getModEventBus().register(this); } public void initElements() { entity = (EntityType)EntityType.Builder.func_220322_a(CustomEntity::new, EntityClassification.MONSTER).setShouldReceiveVelocityUpdates(true).setTrackingRange(64).setUpdateInterval(3).setCustomClientFactory(CustomEntity::new).func_220320_c().func_220321_a(0.6F, 1.8F).func_206830_a("angry_witherling").setRegistryName("angry_witherling"); this.elements.entities.add(() -> entity); } @SubscribeEvent @OnlyIn(Dist.CLIENT) public void registerModels(ModelRegistryEvent event) { RenderingRegistry.registerEntityRenderingHandler(entity, renderManager -> new MobRenderer(renderManager, new ModelMiniWither(), 0.5F) { public ResourceLocation func_110775_a(Entity entity) { return new ResourceLocation("sullys_mod:textures/miniwitherdefencestate.png"); } }); } public static class CustomEntity extends MonsterEntity implements IRangedAttackMob { public CustomEntity(FMLPlayMessages.SpawnEntity packet, World world) { this(AngryWitherEntity.entity, world); } public CustomEntity(EntityType<CustomEntity> type, World world) { super(type, world); this.field_70728_aV = 6; func_94061_f(false); func_110163_bv(); this.field_70765_h = (MovementController)new FlyingMovementController((MobEntity)this, 10, true); this.field_70699_by = (PathNavigator)new FlyingPathNavigator((MobEntity)this, this.field_70170_p); } public IPacket<?> func_213297_N() { return NetworkHooks.getEntitySpawningPacket((Entity)this); } protected void func_184651_r() { super.func_184651_r(); this.field_70715_bh.func_75776_a(1, (Goal)new NearestAttackableTargetGoal((MobEntity)this, PlayerEntity.class, false, false)); this.field_70715_bh.func_75776_a(2, (Goal)new NearestAttackableTargetGoal((MobEntity)this, AmbientEntity.class, false, false)); this.field_70715_bh.func_75776_a(3, (Goal)new NearestAttackableTargetGoal((MobEntity)this, AnimalEntity.class, false, false)); this.field_70714_bg.func_75776_a(4, new Goal() { public boolean func_75250_a() { if (AngryWitherEntity.CustomEntity.this.func_70638_az() != null && !AngryWitherEntity.CustomEntity.this.func_70605_aq().func_75640_a()) return true; return false; } public boolean func_75253_b() { return (AngryWitherEntity.CustomEntity.this.func_70605_aq().func_75640_a() && AngryWitherEntity.CustomEntity.this.func_70638_az() != null && AngryWitherEntity.CustomEntity.this .func_70638_az().func_70089_S()); } public void func_75249_e() { LivingEntity livingentity = AngryWitherEntity.CustomEntity.this.func_70638_az(); Vec3d vec3d = livingentity.func_174824_e(1.0F); AngryWitherEntity.CustomEntity.this.field_70765_h.func_75642_a(vec3d.field_72450_a, vec3d.field_72448_b, vec3d.field_72449_c, 1.0D); } public void func_75246_d() { LivingEntity livingentity = AngryWitherEntity.CustomEntity.this.func_70638_az(); if (AngryWitherEntity.CustomEntity.this.func_174813_aQ().func_72326_a(livingentity.func_174813_aQ())) { AngryWitherEntity.CustomEntity.this.func_70652_k((Entity)livingentity); } else { double d0 = AngryWitherEntity.CustomEntity.this.func_70068_e((Entity)livingentity); if (d0 < 16.0D) { Vec3d vec3d = livingentity.func_174824_e(1.0F); AngryWitherEntity.CustomEntity.this.field_70765_h.func_75642_a(vec3d.field_72450_a, vec3d.field_72448_b, vec3d.field_72449_c, 1.0D); } } } }); this.field_70715_bh.func_75776_a(5, (Goal)(new HurtByTargetGoal((CreatureEntity)this, new Class[0])).func_220794_a(new Class[] { getClass() })); this.field_70714_bg.func_75776_a(6, (Goal)new RandomWalkingGoal((CreatureEntity)this, 0.7D, 20) { protected Vec3d func_190864_f() { Random random = AngryWitherEntity.CustomEntity.this.func_70681_au(); double dir_x = AngryWitherEntity.CustomEntity.this.func_226277_ct_() + ((random.nextFloat() * 2.0F - 1.0F) * 16.0F); double dir_y = AngryWitherEntity.CustomEntity.this.func_226278_cu_() + ((random.nextFloat() * 2.0F - 1.0F) * 16.0F); double dir_z = AngryWitherEntity.CustomEntity.this.func_226281_cx_() + ((random.nextFloat() * 2.0F - 1.0F) * 16.0F); return new Vec3d(dir_x, dir_y, dir_z); } }); this.field_70714_bg.func_75776_a(7, (Goal)new WaterAvoidingRandomWalkingGoal((CreatureEntity)this, 1.0D)); this.field_70714_bg.func_75776_a(8, (Goal)new LookRandomlyGoal((MobEntity)this)); this.field_70714_bg.func_75776_a(1, (Goal)new RangedAttackGoal(this, 1.25D, 20, 10.0F) { public boolean func_75253_b() { return func_75250_a(); } }); } public CreatureAttribute func_70668_bt() { return CreatureAttribute.field_223223_b_; } public boolean func_213397_c(double distanceToClosestPlayer) { return false; } protected void func_213333_a(DamageSource source, int looting, boolean recentlyHitIn) { super.func_213333_a(source, looting, recentlyHitIn); func_199701_a_(new ItemStack((IItemProvider)Blocks.field_222388_bz, 1)); } public SoundEvent func_184601_bQ(DamageSource ds) { return (SoundEvent)ForgeRegistries.SOUND_EVENTS.getValue(new ResourceLocation("sullys_mod:babywitherhurt")); } public SoundEvent func_184615_bR() { return (SoundEvent)ForgeRegistries.SOUND_EVENTS.getValue(new ResourceLocation("sullys_mod:babywitherdeath")); } public boolean func_225503_b_(float l, float d) { return false; } public boolean func_70097_a(DamageSource source, float amount) { if (source == DamageSource.field_76379_h) return false; if (source == DamageSource.field_76369_e) return false; return super.func_70097_a(source, amount); } protected void func_110147_ax() { super.func_110147_ax(); if (func_110148_a(SharedMonsterAttributes.field_111263_d) != null) func_110148_a(SharedMonsterAttributes.field_111263_d).func_111128_a(0.3D); if (func_110148_a(SharedMonsterAttributes.field_111267_a) != null) func_110148_a(SharedMonsterAttributes.field_111267_a).func_111128_a(40.0D); if (func_110148_a(SharedMonsterAttributes.field_188791_g) != null) func_110148_a(SharedMonsterAttributes.field_188791_g).func_111128_a(0.0D); if (func_110148_a(SharedMonsterAttributes.field_111264_e) == null) func_110140_aT().func_111150_b(SharedMonsterAttributes.field_111264_e); func_110148_a(SharedMonsterAttributes.field_111264_e).func_111128_a(3.0D); if (func_110148_a(SharedMonsterAttributes.field_193334_e) == null) func_110140_aT().func_111150_b(SharedMonsterAttributes.field_193334_e); func_110148_a(SharedMonsterAttributes.field_193334_e).func_111128_a(0.3D); } public void func_82196_d(LivingEntity target, float flval) { TinywitherItem.shoot((LivingEntity)this, target); } protected void func_184231_a(double y, boolean onGroundIn, BlockState state, BlockPos pos) {} public void func_189654_d(boolean ignored) { super.func_189654_d(true); } public void func_70636_d() { super.func_70636_d(); func_189654_d(true); } } public static class ModelMiniWither extends EntityModel<Entity> { private final ModelRenderer Head; private final ModelRenderer bone3; private final ModelRenderer Body; private final ModelRenderer bone; private final ModelRenderer bone2; public ModelMiniWither() { this.field_78090_t = 44; this.field_78089_u = 20; this.Head = new ModelRenderer((Model)this); this.Head.func_78793_a(-1.0F, 12.0F, 1.0F); setRotationAngle(this.Head, 0.0F, 0.0F, -0.0873F); this.Head.func_78784_a(0, 0).func_228303_a_(-3.0535F, -5.8714F, -4.0F, 6.0F, 6.0F, 6.0F, 0.0F, false); this.bone3 = new ModelRenderer((Model)this); this.bone3.func_78793_a(1.9503F, -0.9585F, 1.0F); this.Head.func_78792_a(this.bone3); setRotationAngle(this.bone3, 0.0F, -0.1745F, 0.1745F); this.bone3.func_78784_a(24, 0).func_228303_a_(-0.4524F, -2.8083F, -3.9892F, 5.0F, 5.0F, 5.0F, 0.0F, false); this.Body = new ModelRenderer((Model)this); this.Body.func_78793_a(0.0F, 13.0F, 0.0F); setRotationAngle(this.Body, 0.1745F, 0.0F, 0.0F); this.Body.func_78784_a(0, 12).func_228303_a_(-1.0F, -0.8112F, 0.1585F, 2.0F, 6.0F, 2.0F, 0.0F, false); this.bone = new ModelRenderer((Model)this); this.bone.func_78793_a(0.0F, 0.0F, 0.0F); this.Body.func_78792_a(this.bone); setRotationAngle(this.bone, 0.4363F, 0.0F, 0.0F); this.bone.func_78784_a(8, 12).func_228303_a_(-1.0F, 4.847F, -1.804F, 2.0F, 4.0F, 2.0F, 0.0F, false); this.bone2 = new ModelRenderer((Model)this); this.bone2.func_78793_a(0.0F, 0.0152F, 0.1736F); this.Body.func_78792_a(this.bone2); setRotationAngle(this.bone2, 0.1745F, 0.0F, 0.0F); this.bone2.func_78784_a(14, 16).func_228303_a_(-3.0F, 0.9544F, -0.5209F, 6.0F, 2.0F, 2.0F, 0.0F, false); this.bone2.func_78784_a(14, 16).func_228303_a_(-3.0F, 5.241F, 0.7541F, 6.0F, 2.0F, 2.0F, 0.0F, false); } public void func_225598_a_(MatrixStack matrixStack, IVertexBuilder buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha) { this.Head.func_228308_a_(matrixStack, buffer, packedLight, packedOverlay); this.Body.func_228308_a_(matrixStack, buffer, packedLight, packedOverlay); } public void setRotationAngle(ModelRenderer modelRenderer, float x, float y, float z) { modelRenderer.field_78795_f = x; modelRenderer.field_78796_g = y; modelRenderer.field_78808_h = z; } public void func_225597_a_(Entity e, float f, float f1, float f2, float f3, float f4) {} } } package tld.sullysmod.modid.procedures; import java.util.Map; import net.minecraft.entity.Entity; import net.minecraft.entity.ILivingEntityData; import net.minecraft.entity.MobEntity; import net.minecraft.entity.SpawnReason; import net.minecraft.nbt.CompoundNBT; import net.minecraft.util.math.BlockPos; import net.minecraft.world.IWorld; import tld.sullysmod.modid.SullysModModElements; import tld.sullysmod.modid.SullysModModElements.ModElement.Tag; import tld.sullysmod.modid.entity.AngryWitherEntity; @Tag public class BabyWitherPlayerCollidesWithThisEntityProcedure extends SullysModModElements.ModElement { public BabyWitherPlayerCollidesWithThisEntityProcedure(SullysModModElements instance) { super(instance, 8); } public static void executeProcedure(Map<String, Object> dependencies) { if (dependencies.get("entity") == null) { System.err.println("Failed to load dependency entity for procedure BabyWitherPlayerCollidesWithThisEntity!"); return; } if (dependencies.get("x") == null) { System.err.println("Failed to load dependency x for procedure BabyWitherPlayerCollidesWithThisEntity!"); return; } if (dependencies.get("y") == null) { System.err.println("Failed to load dependency y for procedure BabyWitherPlayerCollidesWithThisEntity!"); return; } if (dependencies.get("z") == null) { System.err.println("Failed to load dependency z for procedure BabyWitherPlayerCollidesWithThisEntity!"); return; } if (dependencies.get("world") == null) { System.err.println("Failed to load dependency world for procedure BabyWitherPlayerCollidesWithThisEntity!"); return; } Entity entity = (Entity)dependencies.get("entity"); double x = (dependencies.get("x") instanceof Integer) ? ((Integer)dependencies.get("x")).intValue() : ((Double)dependencies.get("x")).doubleValue(); double y = (dependencies.get("y") instanceof Integer) ? ((Integer)dependencies.get("y")).intValue() : ((Double)dependencies.get("y")).doubleValue(); double z = (dependencies.get("z") instanceof Integer) ? ((Integer)dependencies.get("z")).intValue() : ((Double)dependencies.get("z")).doubleValue(); IWorld world = (IWorld)dependencies.get("world"); if (!entity.field_70170_p.field_72995_K) entity.func_70106_y(); if (world instanceof net.minecraft.world.World && !(world.func_201672_e()).field_72995_K) { AngryWitherEntity.CustomEntity customEntity = new AngryWitherEntity.CustomEntity(AngryWitherEntity.entity, world.func_201672_e()); customEntity.func_70012_b(x, y, z, world.func_201674_k().nextFloat() * 360.0F, 0.0F); if (customEntity instanceof MobEntity) ((MobEntity)customEntity).func_213386_a(world, world.func_175649_E(new BlockPos((Entity)customEntity)), SpawnReason.MOB_SUMMONED, (ILivingEntityData)null, (CompoundNBT)null); world.func_217376_c((Entity)customEntity); } } } Thanks.
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.