mojira.dev

NIL

Assigned

No issues.

Reported

No issues.

Comments

@Anthony Cicinelli You can find the proof in the code, but I doubt Mojang or anyone sane would appreciate me putting 10 thousand or so lines of code in this one thread. However, as someone else here has said, the new JigSaw system only uses Sandstone, Wood Planks, and Grass Paths as roads for Villages now, Gravel has been totally removed as a path type

Armour Stands are considered Living mobs by the internal code, as their class extends EntityLiving

I've been in the code for a while and it's actually really easy to fix this. It turns out someone Mojang forgot to add the PathfinderGoal to the Wither's Goal system to make it target players, as seen here:

this.targetSelector.a(2, new PathfinderGoalNearestAttackableTarget<>(this, EntityInsentient.class, 0, false, false, EntityWither.predicateTargetNotUndead));

 

EntityInsentient is the base class for all non Player entities, but the player classes EntityHuman and EntityPlayer do not extend EntityInsentient, so the Wither doesn't attack Players unless angered by them

 

This is easily fixed by adding this line of code after that line:

this.targetSelector.a(2, new PathfinderGoalNearestAttackableTarget<>(this, EntityHuman.class, 0, false, false, EntityWither.predicateTargetNotUndead));

This is actually working as intended; In 1.14 all paths were changed to Grass Paths, Planks, or sandstone. If you look into the code you'll realize that all references to gravel paths as well as the gravel paths themselves are gone

 

See: https://minecraft.gamepedia.com/Java_Edition_removed_features#Gravel_roads