• Recently Browsing

    No registered users viewing this page.

  • Posts

    • //Registry Class @SubscribeEvent public static void onEntitiesRegister(RegistryEvent.Register<EntityType<?>> event) { EntityType<?> bullet = EntityType.Builder.<Bullet>create(Bullet::new, EntityClassification.MISC) .size(0.1f, 0.1f) .setCustomClientFactory((packet, world) -> new Bullet(world)) .build("bullet") .setRegistryName(Reference.MODID, "bullet"); event.getRegistry().register(bullet); } //Bullet Class public Bullet(World world) { super((EntityType<? extends Bullet>) getEntityType(), world); } public static EntityType<?> getEntityType() { return ForgeRegistries.ENTITIES.getValue(new ResourceLocation(Reference.MODID + "bullet")); }  
    • Thanks Ghost! This actually looks like what I need and also what Chris seemed to have tried in his thread (to some extend).   Unfortunately I have not been able to get it to work but it looks like the IRenderTypeBuffer is the new way to go and thats how it should be done, rather than the Tessellator, BufferBuilder and the GlStateManager!   If someone has a basic method which plots a few quads at a given location, that would be great.   I spend a few hours at the weekend trying to get this to work but unforunately I got nowhere. I also don't want to paste my old code which plotts all the quads but still doesn't have the players hand ocrrected becasue this seems to be the outdated way to do it anyway.   Thanks in advance
    • ---- Minecraft Crash Report ---- // Why did you do that? Time: 2/24/20 4:11 PM Description: Exception in server tick loop cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraft/client/entity/EntityClientPlayerMP     at cpw.mods.fml.common.LoadController.transition(LoadController.java:163)     at cpw.mods.fml.common.Loader.initializeMods(Loader.java:739)     at cpw.mods.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:97)     at cpw.mods.fml.common.FMLCommonHandler.onServerStarted(FMLCommonHandler.java:319)     at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:210)     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:387)     at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685) Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/entity/EntityClientPlayerMP     at yalter.mousetweaks.loaders.MouseTweaksForge.init(Unknown Source)     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 cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)     at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)     at java.lang.reflect.Method.invoke(Unknown Source)     at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)     at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)     at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)     at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)     at com.google.common.eventbus.EventBus.post(EventBus.java:275)     at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)     at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)     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 com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)     at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)     at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)     at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)     at com.google.common.eventbus.EventBus.post(EventBus.java:275)     at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)     at cpw.mods.fml.common.Loader.initializeMods(Loader.java:737)     ... 5 more Caused by: java.lang.ClassNotFoundException: net.minecraft.client.entity.EntityClientPlayerMP     at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)     at java.lang.ClassLoader.loadClass(Unknown Source)     at java.lang.ClassLoader.loadClass(Unknown Source)     ... 32 more Caused by: java.lang.ArrayIndexOutOfBoundsException A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details:     Minecraft Version: 1.7.10     Operating System: Windows 10 (amd64) version 10.0     Java Version: 1.8.0_241, Oracle Corporation     Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation     Memory: 189393920 bytes (180 MB) / 1637351424 bytes (1561 MB) up to 3817865216 bytes (3641 MB)     JVM Flags: 2 total; -Xmx4096M -Xmx4096M     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 69 mods loaded, 69 mods active     States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored     UCHI    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)      UCHI    FML{7.10.99.99} [Forge Mod Loader] (forge-1.7.10-10.13.4.1614-1.7.10-universal.jar)      UCHI    Forge{10.13.4.1614} [Minecraft Forge] (forge-1.7.10-10.13.4.1614-1.7.10-universal.jar)      UCHI    AM2-Preloader{0.0.3} [AMCore] (minecraft.jar)      UCHI    CodeChickenCore{1.0.7.47} [CodeChicken Core] (minecraft.jar)      UCHI    NotEnoughItems{1.0.5.118} [Not Enough Items] (NotEnoughItems-1.7.10-1.0.5.118-universal.jar)      UCHI    ThaumicTinkerer-preloader{0.1} [Thaumic Tinkerer Core] (minecraft.jar)      UCHI    WitchingGadgetsCore{1.1.10} [Witching Gadgets Core] (minecraft.jar)      UCHI    OpenModsCore{0.9.1} [OpenModsCore] (minecraft.jar)      UCHI    <CoFH ASM>{000} [CoFH ASM] (minecraft.jar)      UCHI    ExtendedPotions{1.2} [Extended Potions] (ExtendedPotions-MC1.7.10-1.2.jar)      UCHI    AccidentallyCircumstantialEvents{1.12.0} [Accidentally Circumstantial Events] (accidentallycircumstantialevents-1.12.0.jar)      UCHI    AnimationAPI{1.2.4} [AnimationAPI] (AnimationAPI-1.7.10-1.2.4.jar)      UCHI    arsmagica2{1.4.0.009} [Ars Magica 2] (AM2-1.4.0.009-Dev.jar)      UCHI    AM2PlantFix{1.0} [Ars Magica 2 Plant Fix] (AM2PlantFix-1.0.jar)      UCHI    AppleCore{1.3.0} [AppleCore] (AppleCore-mc1.7.10-1.3.0.jar)      UCHI    ATG{0.10.0} [Alternate Terrain Generation] (ATG-1.7.10-0.12.0.jar)      UCHI    Baubles{1.0.1.10} [Baubles] (Baubles-1.7.10-1.0.1.10.jar)      UCHI    aura{unspecified} [Aura Cascade] (AuraCascade-557.jar)      UCHI    Thaumcraft{4.2.3.5} [Thaumcraft] (Thaumcraft-1.7.10-4.2.3.5.jar)      UCHI    Waila{1.5.10} [Waila] (Waila-1.5.10_1.7.10.jar)      UCHI    Automagy{0.28.2} [Automagy] (Automagy-1.7.10-0.28.2.jar)      UCHI    BiblioCraft{1.11.4} [BiblioCraft] (BiblioCraft[v1.11.4][MC1.7.10].jar)      UCHI    AWWayofTime{v1.3.3} [Blood Magic: Alchemical Wizardry] (BloodMagic-1.7.10-1.3.3-17.jar)      UCHI    Botania{r1.8-249} [Botania] (Botania r1.8-249.jar)      UCHI    CarpentersBlocks{3.3.7} [Carpenter's Blocks] (Carpenter's Blocks v3.3.7 - MC 1.7.10.jar)      UCHI    chisel{2.5.1.44} [Chisel 2] (Chisel2-2.5.1.44.jar)      UCHI    CoFHCore{1.7.10R3.1.2} [CoFH Core] (CoFHCore-[1.7.10]3.1.2-325.jar)      UCHI    menagerie{1.0} [menagerie] (dark_menagerie-1.7.10-beta-3.1a.jar)      UCHI    farseek{1.0.11} [Farseek] (Farseek-1.0.11.jar)      UCHI    FastCraft{1.21} [FastCraft] (fastcraft-1.21.jar)      UCHI    ThaumicTinkerer{unspecified} [Thaumic Tinkerer] (ThaumicTinkerer-2.5-1.7.10-164.jar)      UCHI    ForbiddenMagic{1.7.10-0.573} [Forbidden Magic] (Forbidden Magic-1.7.10-0.573.jar)      UCHI    MineTweaker3{3.0.10} [MineTweaker 3] (MineTweaker3-1.7.10-3.0.10B.jar)      UCHI    FTBL{1.0.17.6} [FTBLib] (FTBLib-1.7.10-1.0.17.6.jar)      UCHI    FTBU{1.0.17.6} [FTBUtilities] (FTBUtilities-1.7.10-1.0.17.6.jar)      UCHI    gadomancy{1.0.6.1} [Gadomancy] (gadomancy-1.7.10-1.0.6.3.jar)      UCHI    guideapi{1.7.10-1.0.1-20} [Guide-API] (Guide-API-1.7.10-1.0.1-20.jar)      UCHI    HardcoreQuesting{4.4.4} [Hardcore Questing Mode] (HQM-The Journey-4.4.4.jar)      UCHI    ImLookingAtBlood{1.1} [I'm Looking At Blood] (ImLookingAtBlood-1.7.2-1.1a.jar)      UCHI    inventorytweaks{1.59-dev-152-cf6e263} [Inventory Tweaks] (InventoryTweaks-1.59-dev-152.jar)      UCHI    IronChest{6.0.60.741} [Iron Chest] (ironchest-1.7.10-6.0.60.741-universal.jar)      UCHI    JABBA{1.2.1} [JABBA] (Jabba-1.2.1a_1.7.10.jar)      UCHI    journeymap{5.1.4} [JourneyMap] (journeymap-1.7.10-5.1.4-unlimited.jar)      UCHI    launchgui{1.7.10-2.0-18} [LaunchGUI] (LaunchGui-1.7.10-2.0-18-client.jar)      UCHI    modtweaker2{0.9.5} [Mod Tweaker 2] (ModTweaker2-0.9.5.jar)      UCHI    Morpheus{1.7.10-1.6.21} [Morpheus] (Morpheus-1.7.10-1.6.21.jar)      UCHE    MouseTweaks{2.4.4} [Mouse Tweaks] (MouseTweaks-2.4.4-mc1.7.10.jar)      UCHI    Mystcraft{0.12.3.01} [Mystcraft] (mystcraft-1.7.10-0.12.3.01.jar)      UCHI    OpenMods{0.9.1} [OpenMods] (OpenModsLib-1.7.10-0.9.1.jar)      UCHI    OpenBlocks{1.5.1} [OpenBlocks] (OpenBlocks-1.7.10-1.5.1.jar)      UCHI    Quadrum{1.2.0} [Quadrum] (Quadrum-1.7.10-1.2.0.B13-universal.jar)      UCHI    Roguelike{1.4.4} [Roguelike Dungeons] (roguelike-1.7.10-1.4.4.jar)      UCHI    Sanguimancy{1.7.10-1.1.9-33} [Sanguimancy] (Sanguimancy-1.7.10-1.1.9-33.jar)      UCHI    StorageDrawers{1.7.10-1.9.4} [Storage Drawers] (StorageDrawers-1.7.10-1.9.4.jar)      UCHI    streams{0.2} [Streams] (Streams-0.2.jar)      UCHI    TCBotaniaExoflame{1.0} [TCBotaniaExoflame] (TCBotaniaExoflame-1.7.10-1.4.jar)      UCHI    tcinventoryscan{1.0.10} [TC Inventory Scanning] (tcinventoryscan-mc1.7.10-1.0.10.jar)      UCHI    tcnodetracker{1.1.2} [TC Node Tracker] (tcnodetracker-1.7.10-1.1.2.jar)      UCHI    thaumcraftneiplugin{@VERSION@} [Thaumcraft NEI Plugin] (thaumcraftneiplugin-1.7.10-1.7a.jar)      UCHI    ThaumicExploration{0.6.0} [Thaumic Exploration] (ThaumicExploration-1.7.10-1.1-53.jar)      UCHI    ThaumicHorizons{1.1.9} [Thaumic Horizons] (thaumichorizons-1.7.10-1.1.9.jar)      UCHI    thaumicinfusion{4.32} [Thaumic Infusion] (ThaumicInfusion-4.32.jar)      UCHI    TravellersGear{1.16.6} [Traveller's Gear] (TravellersGear-1.7.10-1.16.6.jar)      UCHI    wawla{1.3.3} [What Are We Looking At] (Wawla-1.3.3-1.7.10.jar)      UCHI    witchery{0.24.1} [Witchery] (witchery-1.7.10-0.24.1.jar)      UCHI    WitchingGadgets{1.1.10} [Witching Gadgets] (WitchingGadgets-1.7.10-1.1.10.jar)      UCHI    yampst{1.3.5} [YAMPST] (Yampst-Simply Magic-1.0.0.jar)      UCHI    aobd{2.9.1} [Another One Bites The Dust] (AOBD-2.9.1.jar)      OpenModsLib class transformers: [stencil_patches:ENABLED],[movement_callback:ENABLED],[map_gen_fix:FINISHED],[gl_capabilities_hook:ENABLED],[player_render_hook:ENABLED]     Class transformer null safety: found misbehaving transformers: me.guichaguri.betterfps.transformers.MathTransformer(me.guichaguri.betterfps.transformers.MathTransformer@52fbd14a) returned non-null result: 0,me.guichaguri.betterfps.transformers.EventTransformer(me.guichaguri.betterfps.transformers.EventTransformer@29ad05e8) returned non-null result: 0,squeek.applecore.asm.TransformerModuleHandler(squeek.applecore.asm.TransformerModuleHandler@305e2f5e) crashed with java.lang.NullPointerException(null)     CoFHCore: -[1.7.10]3.1.2-325     Profiler Position: N/A (disabled)     Is Modded: Definitely; Server brand changed to 'fml,forge'     Type: Dedicated Server (map_server.txt)
    • Override ItemGroup#fill, call super and the sort the list however you please.
    • ServerChatEvent is a server-side event. Did you install the mod on the server? Show your code.
  • Topics

  • Who's Online (See full list)