File tree Expand file tree Collapse file tree
src/main/java/cn/ussshenzhou/madparticle/particle/enums Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77import com .google .common .collect .Sets ;
88import com .mojang .logging .LogUtils ;
99import net .minecraft .client .particle .*;
10+ import net .minecraft .world .level .block .Block ;
1011import org .jspecify .annotations .Nullable ;
1112
1213import java .util .HashSet ;
@@ -88,7 +89,12 @@ public enum TakeOver implements ITranslatable {
8889 GlowParticle .class ,
8990 FireworkParticles .SparkParticle .class
9091 );
91- private static final HashSet <Class <? extends Particle >> RENDER_BLACKLIST = new HashSet <>();
92+ @ SuppressWarnings ("unchecked" )
93+ private static final HashSet <Class <? extends Particle >> RENDER_BLACKLIST = Sets .newHashSet (
94+ //TODO support item atlas
95+ BlockMarker .class ,
96+ BreakingItemParticle .class
97+ );
9298 @ SuppressWarnings ("unchecked" )
9399 private static final HashSet <Class <? extends SingleQuadParticle >> RENDER_VANILLA = Sets .newHashSet (
94100 SnowflakeParticle .class ,
You can’t perform that action at this time.
0 commit comments