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

Particle Method Calling


Dr.Nickenstein
 Share

Recommended Posts

51 minutes ago, Ugdhar said:

The TorchBlock uses addParticle in the animateTick method.

 

It probably depends on what you are doing/trying to accomplish, I would imagine. I would just look through vanilla code and use that as a guide.

i don't need the method to generate the particles, i need to call the methods that register the particle. It doesn't work. It's not registered

Edited by Dr.Nickenstein
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
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.

 Share



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Hazmat Suit from Mekanism is the problem. I just found it populating itself to the max over and over raising havok in my Refined storage. Not sure why but i deleted it through transmutation and then unistalled it again. This was in Vault hunters
    • [19mai2022 11:08:54.412] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, Bee_Lytho, --version, 1.16.5-forge-36.2.34, --gameDir, C:\Users\vivie\AppData\Roaming\.minecraft, --assetsDir, C:\Users\vivie\AppData\Roaming\.minecraft\assets, --assetIndex, 1.16, --uuid, 9ca0e0921a5c4760809353131bad1432, --accessToken, ????????, --userType, msa, --versionType, release, --launchTarget, fmlclient, --fml.forgeVersion, 36.2.34, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20210115.111550] [19mai2022 11:08:54.421] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 8.1.3+8.1.3+main-8.1.x.c94d18ec starting: java version 1.8.0_51 by Oracle Corporation [19mai2022 11:08:54.475] [main/WARN] [cpw.mods.modlauncher.SecureJarHandler/]: LEGACY JDK DETECTED, SECURED JAR HANDLING DISABLED [19mai2022 11:08:54.814] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFineTransformationService.onLoad [19mai2022 11:08:54.817] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFine ZIP file URL: file:/C:/Users/vivie/AppData/Roaming/.minecraft/mods/OptiFine_1.18.1_HD_U_H4.jar [19mai2022 11:08:54.819] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFine ZIP file: C:\Users\vivie\AppData\Roaming\.minecraft\mods\OptiFine_1.18.1_HD_U_H4.jar [19mai2022 11:08:54.824] [main/INFO] [optifine.OptiFineTransformer/]: Target.PRE_CLASS is available [19mai2022 11:08:55.172] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust [19mai2022 11:08:55.296] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.4 Source=file:/C:/Users/vivie/AppData/Roaming/.minecraft/libraries/org/spongepowered/mixin/0.8.4/mixin-0.8.4.jar Service=ModLauncher Env=CLIENT [19mai2022 11:08:55.321] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFineTransformationService.initialize [19mai2022 11:08:56.863] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: java.lang.AbstractMethodError: Method optifine/OptiFineTransformationService.beginScanning(Lcpw/mods/modlauncher/api/IEnvironment;)V is abstract [19mai2022 11:08:56.863] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at optifine.OptiFineTransformationService.beginScanning(OptiFineTransformationService.java) [19mai2022 11:08:56.863] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at cpw.mods.modlauncher.api.ITransformationService.runScan(ITransformationService.java:74) [19mai2022 11:08:56.867] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at cpw.mods.modlauncher.TransformationServiceDecorator.runScan(TransformationServiceDecorator.java:114) [19mai2022 11:08:56.870] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at cpw.mods.modlauncher.TransformationServicesHandler.lambda$runScanningTransformationServices$8(TransformationServicesHandler.java:115) [19mai2022 11:08:56.870] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at cpw.mods.modlauncher.TransformationServicesHandler$$Lambda$204/901205084.apply(Unknown Source) [19mai2022 11:08:56.871] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:267) [19mai2022 11:08:56.872] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1612) [19mai2022 11:08:56.873] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512) [19mai2022 11:08:56.874] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) [19mai2022 11:08:56.874] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) [19mai2022 11:08:56.875] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [19mai2022 11:08:56.876] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) [19mai2022 11:08:56.877] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at cpw.mods.modlauncher.TransformationServicesHandler.runScanningTransformationServices(TransformationServicesHandler.java:116) [19mai2022 11:08:56.877] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:63) [19mai2022 11:08:56.878] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at cpw.mods.modlauncher.Launcher.run(Launcher.java:76) [19mai2022 11:08:56.879] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at cpw.mods.modlauncher.Launcher.main(Launcher.java:66)     Thank you  
    • So something like this is what you meant right? I tested it and this setup works I just wanna make sure I did it correctly New Tile: https://pastebin.com/XHduUJcA InputStackHandler: https://pastebin.com/JKZiSska
    • This is how I fixed it not sure this is the correct way, but it works boolean flag = fluidstate.getType() != Fluids.EMPTY; boolean flag = fluidstate.getType() != Fluids.EMPTY; Added this method @Override public boolean canPlaceLiquid(BlockGetter p_54325_, BlockPos p_54326_, BlockState p_54327_, Fluid p_54328_) { return false; }  
    • Hello, I also want to increase the reach attack of some tools. I would like you to help me especially with the PacketHandler and put it in the tools
  • Topics

×
×
  • Create New...

Important Information

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