Skip to content

Missing Cutting Board Particles (I don't get it either man) #958

@davidjjung

Description

@davidjjung

Minecraft version

1.20.1

Farmer's Delight version

1.2.4

NeoForge version

47.1.3

Description

Alright, chopping turkey blocks from Autumnity has been returning missing texture particles since 2021, and I lack the patience to understand why. Running through an analysis of the cutting board, itemparticleoptions, etc. idk what confluence of conditions allows this to take place. Nothing is returning as null! Bizarre. Something like

if stack.getItem() instanceof BlockItem block
send BlockParticleOption of block.getBlock().getDefaultBlockState() to client/server instead of an ItemParticleOption

would work for spawnCuttingParticles() in CuttingBoardBlock. This has no real consequences from what I can tell. In this way it's infinitesimally more robust than the existing mechanism. If you don't feel that fix is necessary that's also fair. I haven't the heart to give the problem any more of its undue diligence, so I humbly place this Band-Aid solution in your hands and rid myself of this self-ordained responsibility.

Coding tires me. Good day, sir.

Steps to reproduce

  1. Place turkey/cooked turkey blocks from Autumnity on a cutting board
  2. Cut it up with a knife (Abnormals Delight has the recipe but frankly it doesn't matter, I made my own)
  3. Voila. Bad Particles

Mod list

Autumnity (turkey blocks are the only example I can find of this..weirdness)
Farmer's Delight

Logs

N/A

Minimal instance

  • I have tested this on a minimal instance

Performance and shader mods

  • I am using performance or shader mods

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions