Giter Site home page Giter Site logo

phylogeny / proportionaldestructionparticles Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 3.0 277 KB

A client-side mod that causes block destruction particles to only spawn in blocks' collision/bounding boxes.

Home Page: https://minecraft.curseforge.com/projects/proportional-destruction-particles

License: The Unlicense

Java 100.00%

proportionaldestructionparticles's People

Contributors

phylogeny avatar seanchengn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

proportionaldestructionparticles's Issues

Incompatibility with upcoming version 2.4.1 of FBP

I renamed every field, method and label related to the animation/particle Exceptions. I don't know why I couldn't find the right word for this feature... so I renamed it to a Blacklist.

About the incompatibility..
I destroyed a block and my game crashed because your mod is looking for a specifically named method which will be renamed in the upcoming version 2.4.1 of FBP.

Here's the crashlog:
https://pastebin.com/kwHd7gKp

Keep this 'issue' as a note for the future versions of your mod.
You can check how I renamed the methods here: https://github.com/TominoCZ/FancyBlockParticles/blob/master/src_1.12.x/main/java/com/TominoCZ/FBP/FBP.java#L214

Crash w/ Little Tiles

Minecraft v1.12.2
Forge v14.23.5.2128
Little Tiles v1.5.0-pre130
Proportional Destruction Particles v1.2.4

I got a crash after trying to break a Little Tiles block with an empty hand, created with the little tiles recipe item.
I reported this back in March on the Curseforge page, but I just noticed the GitHub page, so I thought I would try reporting it here.
Crash Report

Grey particles with the Leaves block and others

2018-10-27_12 47 49

This also happens with grass and other blocks that have a color multiplier for particles.
While looking at your code, I compared the 2 ParticleManagers and I noticed one thing that is actually quite important :D

In ParticleManagerMod, you call .setBlockPos(pos) when you create the new particle (here), but you don't in FBPParticleManagerMod (here).

The method .setBlockPos(pos) actually does't only set a private position variable in the particle, but it also applies the color multiplier of the block to the color channels of the particle (so that leaf particles aren't grey :D).

I actually made a similar mistake in my mod in versions 2.4.0 and older, not calling this method.. But fixed it in the new version 2.4.1.

I overrode .setBlockPos(pos) in FBPParticleDigging in 2.4.1 (so that it returns FBPParticleDigging and not ParticleDigging).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.