hube12 / DecompilerMC

This repository allows you to decompile any minecraft version that was published after 19w36a without any 3rd party mappings, you just need to execute the script or the executable (see releases)! Thanks mojang to have published proguard mappings

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Special source doesnt apply to /Statedefinition$Builder$add

hube12 opened this issue · comments

commented

public Builder<O, S> a(Property<?> ... arrproperty) { for (Property<?> property : arrproperty) { this.validateProperty(property); this.properties.put(property.getName(), property); } return this; }
this sould be add and not a but in tsrg i gave
a ([Lnet/minecraft/world/level/block/state/properties/Property;)Lbxh$a; add but it didnt apply the name correctly and i really have no idea why, its the only case tho

Affects everything that returns or passes in non-primitive array, other examples (from 1.14.4):
Path.getOpenSet() : Node[]
Path.getClosedSet() : Node[]
DirectionProperty.create(String, Direction[]) : DirectionProperty
ChunkAccess.setBiomes(Biome[])
ChunkAccess.getBiomes() : Biome[]

commented

fixed in latest patch