Update forge mappings to 20201028-1.16.3 (#7435)

This commit is contained in:
David Quintana authored and GitHub committed 2020-10-29 01:11:57 +01:00
1 parent 6e0e67b14d
commit 53eedb0f10
93 files changed
+598 -588

No files matched your search

@@ -112,7 +112,7 @@ public class BlockSnapshot
@Nullable
public TileEntity getTileEntity()
{
return getNbt() != null ? TileEntity.func_235657_b_(getReplacedBlock(), getNbt()) : null;
return getNbt() != null ? TileEntity.readTileEntity(getReplacedBlock(), getNbt()) : null;
}
public boolean restore()
@@ -155,7 +155,7 @@ public class BlockSnapshot
te = world.getTileEntity(pos);
if (te != null)
{
te.func_230337_a_(getReplacedBlock(), getNbt());
te.read(getReplacedBlock(), getNbt());
te.markDirty();
}
}
@@ -200,7 +200,7 @@ public class BlockSnapshot
{
this.toString =
"BlockSnapshot[" +
"World:" + this.dim.func_240901_a_() + ',' +
"World:" + this.dim.getLocation() + ',' +
"Pos: " + this.pos + ',' +
"State: " + this.block + ',' +
"Flags: " + this.flags + ',' +
@@ -48,9 +48,9 @@ public class FakePlayer extends ServerPlayerEntity
}
@Override public Vector3d getPositionVec(){ return new Vector3d(0, 0, 0); }
@Override public BlockPos func_233580_cy_(){ return BlockPos.ZERO; }
@Override public BlockPos getPosition(){ return BlockPos.ZERO; }
@Override public void sendStatusMessage(ITextComponent chatComponent, boolean actionBar){}
@Override public void sendMessage(ITextComponent component, UUID p_145747_2_) {}
@Override public void sendMessage(ITextComponent component, UUID senderUUID) {}
@Override public void addStat(Stat par1StatBase, int par2){}
//@Override public void openGui(Object mod, int modGuiId, World world, int x, int y, int z){}
@Override public boolean isInvulnerableTo(DamageSource source){ return true; }
@@ -47,10 +47,10 @@ public class ReverseTagWrapper<T>
public Set<ResourceLocation> getTagNames()
{
ITagCollection<T> collection = colSupplier.get();
if (cache == null || colCache != collection.func_241833_a()) // Identity equals.
if (cache == null || colCache != collection.getIDTagMap()) // Identity equals.
{
this.cache = Collections.unmodifiableSet(new HashSet<>(collection.getOwningTags(target)));
this.colCache = collection.func_241833_a();
this.colCache = collection.getIDTagMap();
}
return this.cache;
}