You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For reference, smurf naming is defined here (I didn't recognize the term).
I don't know if it is possible to move away from smurf naming - there have been problems with multiple classes of the same name (see, for instance, #373), so if, as an example, net.minecraft.block.BlockFurnace, net.minecraft.client.gui.inventory.GuiFurnace, net.minecraft.inventory.ContainerFurnace, and net.minecraft.tileentity.TileEntityFurnace were all renamed to get rid of the prefix (net.minecraft.block.Furnace, net.minecraft.client.gui.inventory.Furnace, net.minecraft.inventory.Furnace, and net.minecraft.tileentity.Furnace) there may be issues.
yeah, I think it needs to be retained to some degree to disambiguate block vs te vs particle, etc.
Enums are really the only things that can do with eliminating their prefix, since they are likely not to clash with anything else. Maybe Items as well
Activity
williewillus commentedon Nov 15, 2016
+1, all the other particle classes have Particle in front except this one
shadowfacts commentedon Nov 15, 2016
Agreed, the barrier particle should follow the same conventions as everything else.
LexManos commentedon Jun 8, 2017
Its a slow unimportant process, I want to move away from Smurf naming.
Maybe if someone gathers up the de-smurfs for 1.13 i'll rename them all.
Pokechu22 commentedon Jun 8, 2017
For reference, smurf naming is defined here (I didn't recognize the term).
I don't know if it is possible to move away from smurf naming - there have been problems with multiple classes of the same name (see, for instance, #373), so if, as an example,
net.minecraft.block.BlockFurnace,net.minecraft.client.gui.inventory.GuiFurnace,net.minecraft.inventory.ContainerFurnace, andnet.minecraft.tileentity.TileEntityFurnacewere all renamed to get rid of the prefix (net.minecraft.block.Furnace,net.minecraft.client.gui.inventory.Furnace,net.minecraft.inventory.Furnace, andnet.minecraft.tileentity.Furnace) there may be issues.williewillus commentedon Jun 8, 2017
yeah, I think it needs to be retained to some degree to disambiguate block vs te vs particle, etc.
Enums are really the only things that can do with eliminating their prefix, since they are likely not to clash with anything else. Maybe Items as well
kashike commentedon Jun 8, 2017
Entities can pretty much be renamed without issue (
Player,Sheep,Cow, etc) as well.LexManos commentedon Dec 10, 2019
Already named net/minecraft/client/particle/BarrierParticle in the bulk rename