Ejemplo n.º 1
0
  protected CustomMinecartTrack(BlockMinecartTrack parent) {
    super(parent.id, parent.textureId, parent.i());
    this.parent = parent;

    updateField(parent, this, "strength");
    updateField(parent, this, "durability");
    updateField(parent, this, "bR");
    updateField(parent, this, "bS");
    updateField(parent, this, "bT");
    this.minX = parent.minX;
    this.minY = parent.minY;
    this.minZ = parent.minZ;
    this.maxX = parent.maxX;
    this.maxY = parent.maxY;
    this.maxZ = parent.maxZ;
    this.stepSound = parent.stepSound;
    this.cc = parent.cc;
    this.frictionFactor = parent.frictionFactor;
    updateField(parent, this, "name");
  }